Changes¶
1.0 (2018-10-18)¶
Support Python 3.7.
Update the version we require for Pyramid to a non-prerelease so that pip and other tools don’t accidentally install pre-release software. See https://github.com/Pylons/pyramid_retry/pull/13
0.5 (2017-06-19)¶
Update the policy to to track changes in Pyramid 1.9b1. This is an incompatible change and requires at least Pyramid 1.9b1. See https://github.com/Pylons/pyramid_retry/pull/11
0.4 (2017-06-12)¶
Add the
mark_error_retryable
function in order to easily mark certain errors as retryable forpyramid_retry
to detect. See https://github.com/Pylons/pyramid_retry/pull/8Add the
IBeforeRetry
event that can be subscribed to be notified when a retry is about to occur in order to perform cleanup on theenviron
. See https://github.com/Pylons/pyramid_retry/pull/9
0.3 (2017-04-10)¶
Support a
retry.activate_hook
setting which can return a per-request number of retries. See https://github.com/Pylons/pyramid_retry/pull/4Configuration is deferred so that settings may be changed after
config.include('pyramid_retry')
is invoked until the configurator is committed. See https://github.com/Pylons/pyramid_retry/pull/4Rename the view predicates to
last_retry_attempt
andretryable_error
. See https://github.com/Pylons/pyramid_retry/pull/3Rename
pyramid_retry.is_exc_retryable
topyramid_retry.is_error_retryable
. See https://github.com/Pylons/pyramid_retry/pull/3
0.2 (2017-03-02)¶
Change the default attempts to 3 instead of 1.
Rename the view predicates to
is_last_attempt
andis_exc_retryable
.Drop support for the
tm.attempts
setting.The
retry.attempts
setting is always set now inregistry.settings['retry.attempts']
so that apps can inspect it.
0.1 (2017-03-01)¶
Initial release.