Skip to content

Commit

Permalink
📦 release: v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
slint committed Nov 4, 2024
1 parent fdfd618 commit 685ab6b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@
Changes
=======

Version v1.3.0 (released 2024-11-04)

- uow: add "on_exception" lifecycle hook
* When an exception occurs and the unit of work is being rolled back, we
want to add the possibility to perform some clean-up actions that can
also be commited to the database.
* The new `on_exception` method is added because we want to keep
backwards compatibility and also introduce the same "triplet" of
methods as we have for the "happy path" (`on_register`, `on_commit`,
`on_post_commit`).

Version 1.2.0 (released 2024-10-01)

- uow: moved Unit of Work pattern and non-records Operations from
Expand Down
2 changes: 1 addition & 1 deletion invenio_db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class User(db.Model):
from .ext import InvenioDB
from .shared import db

__version__ = "1.2.0"
__version__ = "1.3.0"

__all__ = (
"__version__",
Expand Down

0 comments on commit 685ab6b

Please sign in to comment.