Releases: python-happybase/aiohappybase
Release v1.4.0
Change Log:
- Added optional support for HTTP connections using ThirftPy2 HTTPX Client
thriftpy2-httpx-clientwas added as an optional dependency which can be installed automatically with thehttpextra:pip install -U aiohappybase[http]- To use the http client, pass
client='http'toConnection
- Converted all tests to
pytestfromunittest/asynctest - Explicitly declared Python 3.9 support
Release v1.3.0
Change Log:
-
Added support for the async framed transport and compact protocol that were
added in ThriftPy2 4.10 (which is now the new minimum version). -
Implemented counter batching with
Batch.counter_inc()
andBatch.counter_dec(). -
Added
Table.append()to utilize the append Thrift endpoint. -
Connectionnow internally utilizesmake_aio_client()to create the
internal Thrift client.-
All additional keyword arguments provided to
Connectioninstances will
be passed to the client. -
This enables support for SSL sockets and any additional features future
versions ofthriftpy2add.
-
-
Implemented a
syncsubpackage to enable backwards compatibility with
the originalHappyBasesynchronized API and ease the transition process.-
It is mostly autogenerated at runtime from the async code to simplify
maintenance and ensure all features are available. -
A simple
happybase.pymodule is included to complete the backwards
compatibility. IfHappyBaseis already installed, that should
take precedence.
-
Release v1.2.0
First release of the async version of HappyBase!
The version number is the same because the API is almost identical
(albeit async) except for a few updates:
- Only Python 3.6+ will be supported (I like f-strings and ordered dictionaries,
sue me:P) ConnectionandConnectionPoolobjects can be used as context managers
(async and regular).- Explicitly closing non-context managed
ConnectionandConnectionPool
objects is now required due the asyncio event loop being mostly unavailable
during del. Connection.create_table()now returns the Table instance.- Support for the framed transport and compact protocol have been dropped until
thriftpy2.contrib.aiosupports them as well.