Skip to content

Releases: python-happybase/aiohappybase

Release v1.4.0

02 Feb 22:21
c4e3fb6
Compare
Choose a tag to compare

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 the http extra: pip install -U aiohappybase[http]
    • To use the http client, pass client='http' to Connection
  • Converted all tests to pytest from unittest/asynctest
  • Explicitly declared Python 3.9 support

Release v1.3.0

11 Mar 04:15
03943f5
Compare
Choose a tag to compare

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()
    and Batch.counter_dec().

  • Added Table.append() to utilize the append Thrift endpoint.

  • Connection now internally utilizes make_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 of thriftpy2 add.

  • Implemented a sync subpackage to enable backwards compatibility with
    the original HappyBase 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. If HappyBase is already installed, that should
      take precedence.

Release v1.2.0

11 Mar 04:17
Compare
Choose a tag to compare

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 and ConnectionPool objects can be used as context managers
    (async and regular).
  • Explicitly closing non-context managed Connection and ConnectionPool
    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.