From e297181296eef56bdfb0d1486c3e570fa741a0aa Mon Sep 17 00:00:00 2001 From: Nicola Tarocco Date: Tue, 1 Oct 2024 17:56:02 +0200 Subject: [PATCH] release: v6.3.1 --- CHANGES.rst | 5 +++++ invenio_records_resources/__init__.py | 2 +- invenio_records_resources/services/uow.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index f57dacc1..8c2b12e0 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,6 +8,11 @@ Changes ======= +Version v6.3.1 (released 2024-10-01) + +- uow: moved Unit of Work pattern and non-record Operations to invenio-db. + Added backwards compatible imports. + Version v6.3.0 (released 2024-08-08) - files: sync file access status diff --git a/invenio_records_resources/__init__.py b/invenio_records_resources/__init__.py index 1b3327d5..614c0c63 100644 --- a/invenio_records_resources/__init__.py +++ b/invenio_records_resources/__init__.py @@ -10,6 +10,6 @@ from .ext import InvenioRecordsResources -__version__ = "6.3.0" +__version__ = "6.3.1" __all__ = ("__version__", "InvenioRecordsResources") diff --git a/invenio_records_resources/services/uow.py b/invenio_records_resources/services/uow.py index c1c18270..5df0588e 100644 --- a/invenio_records_resources/services/uow.py +++ b/invenio_records_resources/services/uow.py @@ -17,7 +17,7 @@ Note, this is NOT a clean implementation of the UoW design pattern. The main purpose of the Unit of Work in Invenio is to coordinate when the database transaction commit is called, and ensure tasks that have to run after the -transcation are executed (such as indexing and running celery tasks). +transaction are executed (such as indexing and running celery tasks). This ensures that we can group multiple service calls into a single database transaction and perform the necessary indexing/task execution afterwards.