Skip to content

Releases: kraken-tech/django-subatomic

v0.2.1

06 Feb 13:29
6ef037f

Choose a tag to compare

Changed

  • More context manager type annotations use simpler new generator default types.
  • Moved docs about Django's atomic from why/ to django-atomic/.
  • Started tagging versions of docs on release.

v0.2.0

21 Jan 12:27
f1407f6

Choose a tag to compare

Added

  • Django 6.0 has been added to the test matrix.
  • In tests, an error will now be raised when opening a transaction if there are pre-existing unhandled after-commit callbacks. The pre-existing callbacks would previously run when transaction exits. This helps catch order-of-execution bugs in tests. The error can be silenced by setting the SUBATOMIC_CATCH_UNHANDLED_AFTER_COMMIT_CALLBACKS_IN_TESTS setting to False to facilitate gradual adoption of this stricter rule.
  • The transaction, transaction_required and transaction_if_not_already decorators can now be used without parentheses. Fixes #103.

Fixed

  • Ensure cleanup actions in durable always happen when the wrapped code raises an unexpected error.

Removed

  • _contextmanager_without_decorator, _NonDecoratorContextManager, NotADecorator. These implementation details were not intended to be a part of our public API.

v0.1.1

20 Sep 11:01
8da34a0

Choose a tag to compare

Added

  • Verified compatibility with Python3.14.
  • Minimal documentation.
    N.B. These docs are incomplete. More comprehensive documentation covering the usage of this library and guidance for migrating to it, will be published soon.

v0.1.0

17 Sep 12:27
5bd5b20

Choose a tag to compare

This is the first release of this package.