From 4cce13dd78b9402c5f5a0e289b25ca21539c25e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Sampaio?= Date: Wed, 24 Mar 2021 08:52:37 -0300 Subject: [PATCH 1/2] v0.12 --- CHANGELOG.md | 29 ++++++++++++++++++++++++----- setup.py | 2 +- 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4a6ca63..60cdb8e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,25 @@ -# Version 0.11 +# Changelog -* Add support for py-redis 3.x (#163) -* Drop support for Python 3.4 and add testing for Python 3.7 (#163) -* Fix test timings (#164) -* Allow custom context managers to see task errors (#165). Thanks @igor47. +## Version 0.12 + +### Breaking changes + +* Drop support for redis-py 2 ([#183](https://github.com/closeio/tasktiger/pull/183)) + +### Other changes + +* Make the `TaskTiger` instance available for the task via global state ([#170](https://github.com/closeio/tasktiger/pull/170)) +* Support for custom task runners ([#175](https://github.com/closeio/tasktiger/pull/175)) +* Add ability to configure a poll- vs push-method for task runners to discover new tasks ([#176](https://github.com/closeio/tasktiger/pull/176)) + +## Version 0.11 + +### Breaking changes + +* Drop support for Python 3.4 and add testing for Python 3.7 ([#163](https://github.com/closeio/tasktiger/pull/163)) + +### Other changes + +* Add support for redis-py 3 ([#163](https://github.com/closeio/tasktiger/pull/163)) +* Fix test timings ([#164](https://github.com/closeio/tasktiger/pull/164)) +* Allow custom context managers to see task errors ([#165](https://github.com/closeio/tasktiger/pull/165)). Thanks @igor47 diff --git a/setup.py b/setup.py index 25f96f9b..e9918fe9 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name='tasktiger', - version='0.11', + version='0.12', url='http://github.com/closeio/tasktiger', license='MIT', description='Python task queue', From 374efd124980fa6056762c18b7966e6d25e6217f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Sampaio?= Date: Thu, 25 Mar 2021 11:08:50 -0300 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 6 ++++++ README.rst | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 60cdb8e9..668beced 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ * Make the `TaskTiger` instance available for the task via global state ([#170](https://github.com/closeio/tasktiger/pull/170)) * Support for custom task runners ([#175](https://github.com/closeio/tasktiger/pull/175)) * Add ability to configure a poll- vs push-method for task runners to discover new tasks ([#176](https://github.com/closeio/tasktiger/pull/176)) +* `unique_key` specifies the list of kwargs to use to construct the unique key ([#180](https://github.com/closeio/tasktiger/pull/180)) + +### Bugfixes + +* Ensure task exists in the given queue when retrieving it ([#184](https://github.com/closeio/tasktiger/pull/184)) +* Clear retried executions from successful periodic tasks ([#188](https://github.com/closeio/tasktiger/pull/188)) ## Version 0.11 diff --git a/README.rst b/README.rst index 41c91efb..add54a1b 100644 --- a/README.rst +++ b/README.rst @@ -272,8 +272,8 @@ The following options are supported by both ``delay`` and the task decorator: - ``unique_key`` If set, this implies ``unique=True`` and specifies the list of kwargs to use - use to construct the unique key. By default, all args and kwargs are - serialized and hashed. + to construct the unique key. By default, all args and kwargs are serialized + and hashed. - ``lock``