Releases: python-happybase/aiohappybase
Release v1.4.0
Change Log:
- Added optional support for HTTP connections using ThirftPy2 HTTPX Client
thriftpy2-httpx-client
was added as an optional dependency which can be installed automatically with thehttp
extra:pip install -U aiohappybase[http]
- To use the http client, pass
client='http'
toConnection
- Converted all tests to
pytest
fromunittest
/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. -
Connection
now internally utilizesmake_aio_client()
to create the
internal Thrift client.-
All additional keyword arguments provided to
Connection
instances will
be passed to the client. -
This enables support for SSL sockets and any additional features future
versions ofthriftpy2
add.
-
-
Implemented a
sync
subpackage to enable backwards compatibility with
the originalHappyBase
synchronized 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.py
module is included to complete the backwards
compatibility. IfHappyBase
is 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) Connection
andConnectionPool
objects can be used as context managers
(async and regular).- Explicitly closing non-context managed
Connection
andConnectionPool
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.aio
supports them as well.