Skip to content

Commit 3d1bb5d

Browse files
authored
432 resource shutdown order (ets-labs#473)
* Add PoC * Add tests for init and shutdown ordering * Add circular dependencies breaker tests * Refactoring and sync + async test * Update changelog
1 parent 54de3a9 commit 3d1bb5d

File tree

5 files changed

+8750
-5780
lines changed

5 files changed

+8750
-5780
lines changed

docs/main/changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ that were made in every particular version.
77
From version 0.7.6 *Dependency Injector* framework strictly
88
follows `Semantic versioning`_
99

10+
Dev version
11+
-----------
12+
- Update ``container.shutdown_resources()`` to respect dependencies order while shutdown.
13+
See issue `#432 <https://github.com/ets-labs/python-dependency-injector/issues/432>`_.
14+
Thanks to `Saulius Beinorius <https://github.com/saulbein>`_ for bringing up the issue.
15+
1016
4.34.0
1117
------
1218
- Add option ``envs_required`` for configuration provider ``.from_yaml()`` and ``.from_ini()``

0 commit comments

Comments
 (0)