Nti.transactions

Latest version: v5.1.0

Safety actively analyzes 688917 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

5.1.1

==================

- Nothing changed yet.

5.1.0

==================

- Drop support for anything earlier than Python 3.10.
- Use native namespace packages.

5.0.0

==================

- Add support for Python 3.12 and 3.13.
- Drop support for Python 2 and anything less than Python 3.8.
- Add the ability to specify a transaction manager for loops to use
other than the default.

4.3.0

==================

- Add support for Python 3.10 and 3.11.

4.2.1

==================

- When aborting a transaction due to an exception, log the exception
instead of just the exception type (twice). Exception messages can
be very helpful in understanding exactly what went wrong and
possibly how to fix it for transient errors (e.g., a
``ZODB.POSException.ConflictError`` includes the object ID and
class, which can be used to reduce the conflicts). This makes the
logging slightly more expensive (when enabled). See `PR 58
<https://github.com/NextThought/nti.transactions/pull/58>`_.

4.2.0

==================

- Add support for Python 3.9.
- Move CI from Travis CI to Github Actions.
- When the Pyramid tween retries, any volatile attributes (those
beginning with ``_v_``) in the request dictionary are deleted. This
is inspired by ``persistent`` and meant to facilitate safe caching.
When compared to events sent by the transaction loop, there is no
specified order. See `issue 54 <https://github.com/NextThought/nti.transactions/issues/54>`_.
- Fix various event classes not properly specifying the interface they
implement. For example, ``WillFirstAttempt`` now properly implements
``IWillFirstAttempt``, and ``WilLRetryAttempt`` now properly
implements ``IWillRetryAttempt``. See `issue 52
<https://github.com/NextThought/nti.transactions/issues/52>`_.
- Add ``IWillLastAttempt`` as a subclass of ``IWillRetryAttempt`` and
the last event emitted.
- The Pyramid tween now emits ``IWillRetryAttemptWithRequest``, et al,
to provide simple access to the request object.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.