Skip to content

Commit

Permalink
Update NEWS and release v1.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Roger Aiudi <aiudirog@gmail.com>
  • Loading branch information
aiudirog committed Mar 11, 2020
1 parent d660be3 commit 03943f5
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
run: |
python -m pip install -U pip
python -m pip install -U setuptools wheel autopep8
python -m pip install -U -r requirements.txt
- name: Generate Sync Stub Files
run: python make_sync_stubs.py
- name: Build
Expand Down
49 changes: 44 additions & 5 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,59 @@ Version history
.. py:currentmodule:: aiohappybase
AIOHappyBase 1.3.0
------------------

Release date: 2020-03-10

- 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.


AIOHappyBase 1.2.0
------------------

Release date: 2019-11-28

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:
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__.
- 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.
- Support for the framed transport and compact protocol have been dropped until
``thriftpy2.contrib.aio`` supports them as well.


HappyBase 1.2.0
Expand Down

0 comments on commit 03943f5

Please sign in to comment.