CHANGES
=======

5.0.3
-----

* Update Mergify to v2
* pep8: ignore W503 and W504
* Tweak pytest - only show DeprecationWarnings once
* Add support for Python 3.7
* Fix documentation error
* pep8: enable flake8-logging-format
* Add test for attempt numbers in interleaved async coroutines

5.0.2
-----

* Remove extra increments of RetryCallState.attempt\_number #143
* Added min to exponential backoff

5.0.1
-----

* stop, retry: add compatibility wrappers for \_\_call\_\_ methods

5.0.0
-----

* compat: add deprecation warnings
* Add some more context to the reasons for forking
* Update docs and reorganize them a bit
* Make stop, retry, before, after and retry\_error\_callback accept retry\_state
* Move backward-compatibility-related utils to tenacity.compat
* Rename call\_state -> retry\_state
* Fix wait\_chain to be runnable multiple times
* Fix six.wraps having a problem with \_\_name\_\_ attr on Py2
* Add retry\_if\_exception\_message and complement
* Add documentation for before\_sleep and RetryCallState
* before\_sleep\_log: handle retries on returned values, not only exceptions
* Make before\_sleep callbacks accept call\_state with backward compat
* RetryCallState: add retry\_object & next\_action fields
* gitignore: add pytest\_cache
* Tweak wait funcs to accept call\_state with backward compat
* Add RetryCallState class
* More small documentation improvements:
* Improve docs by splitting into sections

4.12.0
------

* add retry\_error\_callback param
* Fix Mergify conf
* Enable mergify

4.11.0
------

* Implement before\_sleep logging hook
* Rename tenacity.async to tenacity.\_asyncio
* Remove useless install of nose
* Switch to pytest
* Fix codeblock formatting
* Document how to use Trio/curio

4.10.0
------

* Catch BaseException rather than just Exception
* Fix pep8 errors
* Only install monotonic on Python 2
* Stop using pbr to build documentation
* Add \`license\` key to \`setup.cfg\`

4.9.0
-----

* Avoid inspect.getargspec deprecation warning
* Don't fall over if an old version of tornado is installed
* Allow to specify RetryError

4.8.0
-----

* Allow waiters to introspect last result

4.7.1
-----

* Missed top level import of stop\_when\_event\_set
* Mention Tornado minimum version in README
* Fix unless\_exception test names and add no input test

4.7.0
-----

* Add Tornado support
* Fix pep8

4.6.1
-----

* Simplify wrapping code

4.6.0
-----

* Implement \`retry\_with' on decorated functions

4.5.0
-----

* Replace hacking with flake8 extensions
* Fix import order
* Put a default sleep attribute on BaseRetrying
* async: allow to specify a different sleep method
* Issue-8: Make sure doc examples run (#89)
* Remove Python 3.4 support
