Skip to content

Commit ad2aa70

Browse files
committed
create changelog, add note to atomic operations
1 parent c0e1c89 commit ad2aa70

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

docs/atomic_operations.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,11 @@ Notes
262262
See `examples for SQLAlchemy <SQLA_examples>`_ in the repo, all examples are based on it.
263263

264264

265+
.. note::
266+
Atomic Operations provide ``current_atomic_operation`` context variable.
267+
Usage example can be found in `tests for current_atomic_operation <tests_current_atomic>`_.
268+
269+
265270
.. warning::
266271
Field "href" is not supported yet. Resource can be referenced only by the "type" field.
267272

@@ -272,3 +277,4 @@ Notes
272277
Includes in the response body are not supported (and not planned, until you PR it)
273278

274279
.. _SQLA_examples: https://github.com/mts-ai/FastAPI-JSONAPI/tree/main/examples/api_for_sqlalchemy
280+
.. _tests_current_atomic: https://github.com/mts-ai/FastAPI-JSONAPI/blob/main/tests/test_atomic/test_current_atomic_operation.py

docs/changelog.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
Changelog
22
#########
33

4+
5+
**2.3.0**
6+
*********
7+
8+
Current Atomic Operation context var
9+
====================================
10+
11+
* create context var for current atomic operation `#46 <https://github.com/mts-ai/FastAPI-JSONAPI/pull/46>`_
12+
* create example and coverage for universal dependency both for generic views and atomic operations
13+
* tests refactoring
14+
15+
Authors
16+
"""""""
17+
18+
19+
* `@mahenzon`_
20+
421
**2.2.2**
522
*********
623

@@ -14,6 +31,7 @@ Authors
1431

1532
* `@mahenzon`_
1633

34+
1735
**2.2.1**
1836
*********
1937

0 commit comments

Comments
 (0)