Skip to content

Commit 8051246

Browse files
committed
Prepare 2.0.0 release
1 parent 3353e5c commit 8051246

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## [v2.0.0] - 2022-04-26
4+
### Added
5+
- Add raise_on_giveup keyword arg for decorators
6+
- Add backoff.runtime wait generator for dynamically setting wait times based
7+
on target function return value or exception details
8+
### Changed
9+
- Improve type hints for on_success, on_backoff, on_giveup handlers
10+
- Use decorator-specific detail and handler type hints
11+
- Optionally use typing_extensions for python 3.7 type hinting
12+
- Drop python 3.6 support
13+
- Add python 3.10 support
14+
315
## [v1.11.1] - 2021-07-14
416
### Fixed
517
- Update __version__ in backoff module

backoff/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@
2727
'random_jitter',
2828
]
2929

30-
__version__ = '1.11.1'
30+
__version__ = '2.0.0'

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "backoff"
3-
version = "1.11.1"
3+
version = "2.0.0"
44
description = "Function decoration for backoff and retry"
55
authors = ["Bob Green <[email protected]>"]
66
readme = "README.rst"

0 commit comments

Comments
 (0)