|
1 | 1 | Changelog
|
2 | 2 | *********
|
3 | 3 |
|
| 4 | +`4.0.0`_ (2021-01-23) |
| 5 | +--------------------- |
| 6 | + |
| 7 | +General: |
| 8 | + |
| 9 | +- Dropped support for Python versions below 3.6.1. |
| 10 | +- Deprecated `ReceiptType.user_ack` has been removed. Use |
| 11 | + `ReceiptType.user_acknowledge` instead. |
| 12 | +- `util.aio_run` has been simplified. It does not allow for passing a specific |
| 13 | + event loop or closing the event loop on completion any longer. |
| 14 | +- `util.aio_run_proxy_decorator` has been renamed to `aio_run_proxy` and now |
| 15 | + always creates the class instance within a running event loop. |
| 16 | + |
| 17 | +Client: |
| 18 | + |
| 19 | +- In async mode, creation of the `Connection` instance must now be done within |
| 20 | + an `async` function. |
| 21 | +- If you have used a `with` context manager block in async mode before, you |
| 22 | + must now do this within an `async with` asynchronous context manager. No |
| 23 | + change is required in blocking mode. |
| 24 | +- `Connection.close` is now an async function. |
| 25 | + |
| 26 | +Server: |
| 27 | + |
| 28 | +- The callback server has been refactored and the `AbstractCallback` class has |
| 29 | + been removed for more flexibility and control of the underlying |
| 30 | + `aiohttp <https://docs.aiohttp.org>`_ server. Take a look at |
| 31 | + `examples/callback.py` on how to use it. |
| 32 | +- The callback server CLI has been removed because it was redundant. The |
| 33 | + example provides the same functionality. |
| 34 | + |
4 | 35 | `3.1.0`_ (2020-04-21)
|
5 | 36 | ---------------------
|
6 | 37 |
|
@@ -28,6 +59,7 @@ Changelog
|
28 | 59 |
|
29 | 60 | - Initial publication on PyPI
|
30 | 61 |
|
| 62 | +.. _4.0.0: https://github.com/lgrahl/threema-msgapi-sdk-python/compare/v3.1.0...v4.0.0 |
31 | 63 | .. _3.1.0: https://github.com/lgrahl/threema-msgapi-sdk-python/compare/v3.0.6...v3.1.0
|
32 | 64 | .. _3.0.6: https://github.com/lgrahl/threema-msgapi-sdk-python/compare/v3.0.5...v3.0.6
|
33 | 65 | .. _3.0.5: https://github.com/lgrahl/threema-msgapi-sdk-python/compare/v3.0.4...v3.0.5
|
|
0 commit comments