Skip to content

Commit 03943f5

Browse files
committed
Update NEWS and release v1.3.0
Signed-off-by: Roger Aiudi <[email protected]>
1 parent d660be3 commit 03943f5

File tree

2 files changed

+45
-5
lines changed

2 files changed

+45
-5
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
run: |
3939
python -m pip install -U pip
4040
python -m pip install -U setuptools wheel autopep8
41+
python -m pip install -U -r requirements.txt
4142
- name: Generate Sync Stub Files
4243
run: python make_sync_stubs.py
4344
- name: Build

NEWS.rst

Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,59 @@ Version history
44
.. py:currentmodule:: aiohappybase
55
66
7+
AIOHappyBase 1.3.0
8+
------------------
9+
10+
Release date: 2020-03-10
11+
12+
- Added support for the async framed transport and compact protocol that were
13+
added in ThriftPy2 4.10 (which is now the new minimum version).
14+
15+
- Implemented counter batching with ``Batch.counter_inc()``
16+
and ``Batch.counter_dec()``.
17+
18+
- Added ``Table.append()`` to utilize the append Thrift endpoint.
19+
20+
- ``Connection`` now internally utilizes ``make_aio_client()`` to create the
21+
internal Thrift client.
22+
23+
- All additional keyword arguments provided to ``Connection`` instances will
24+
be passed to the client.
25+
26+
- This enables support for SSL sockets and any additional features future
27+
versions of ``thriftpy2`` add.
28+
29+
- Implemented a ``sync`` subpackage to enable backwards compatibility with
30+
the original ``HappyBase`` synchronized API and ease the transition process.
31+
32+
- It is mostly autogenerated at runtime from the async code to simplify
33+
maintenance and ensure all features are available.
34+
35+
- A simple ``happybase.py`` module is included to complete the backwards
36+
compatibility. If ``HappyBase`` is already installed, that *should*
37+
take precedence.
38+
39+
740
AIOHappyBase 1.2.0
841
------------------
942

1043
Release date: 2019-11-28
1144

1245
First release of the async version of HappyBase!
1346

14-
The version number is the same because the API is almost identical (albeit async) except for a few updates:
47+
The version number is the same because the API is almost identical
48+
(albeit async) except for a few updates:
1549

16-
- Only Python 3.6+ will be supported (I like f-strings and ordered dictionaries, sue me:P)
17-
- ``Connection`` and ``ConnectionPool`` objects can be used as context managers (async and regular).
18-
- Explicitly closing non-context managed ``Connection`` and ``ConnectionPool`` objects is now required due the asyncio event loop being mostly unavailable during __del__.
50+
- Only Python 3.6+ will be supported (I like f-strings and ordered dictionaries,
51+
sue me:P)
52+
- ``Connection`` and ``ConnectionPool`` objects can be used as context managers
53+
(async and regular).
54+
- Explicitly closing non-context managed ``Connection`` and ``ConnectionPool``
55+
objects is now required due the asyncio event loop being mostly unavailable
56+
during __del__.
1957
- ``Connection.create_table()`` now returns the Table instance.
20-
- Support for the framed transport and compact protocol have been dropped until thriftpy2.contrib.aio supports them as well.
58+
- Support for the framed transport and compact protocol have been dropped until
59+
``thriftpy2.contrib.aio`` supports them as well.
2160

2261

2362
HappyBase 1.2.0

0 commit comments

Comments
 (0)