Repoze.tm2

Latest version: v2.2.0

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

Scan your dependencies

Page 2 of 4

1.0b1

------------------

- Added ``repoze.tm.default_commit_veto`` commit veto hook. This commit veto
hook aborts for 4XX and 5XX response codes, or if there's a header named
``X-Tm-Abort`` in the headerlist and allows a commit otherwise.

- Documented commit veto hook.

1.0a5

------------------

- Don't commit after aborting if the transaction was doomed or if the
commit veto aborted.

- Don't use "real" transaction module in tests.

- 100% test coverage.

1.0a4

------------------

- RESTify CHANGES, move docs in README.txt into Sphinx.

- Remove ``setup.cfg`` (all dependencies available via PyPI).

- Synchronization point with ``repoze.tm`` (0.9).

1.0a3

------------------

Allow ``commit_veto`` hook to be specified within Paste config, ala::

[filter:tm]
use = repoze.tm:make_tm
commit_veto = some.package:myfunction

``myfunction`` should take three args: environ, status, headers and
should return True if the txn should be aborted, False if it should be
committed.

Initial PyPI release.

1.0a2

------------------

- Provide "commit_veto" hook point (contributed by Alberto Valverde).

- Point easy_install at http://dist.repoze.org/tm2/dev/simple via setup.cfg.

1.0a1

------------------

- Fork point: we've created repoze.tm2, which is repoze.tm that has a
dependency only on the 'transaction' package instead of all of ZODB.

- Better documentation for non-Zope usage in README.txt.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.