Update changelog

This commit is contained in:
Roman Mogylatov 2021-01-24 10:13:34 -05:00
parent 5fac5e4d16
commit 7957d5e1d6

View File

@ -9,12 +9,14 @@ follows `Semantic versioning`_
Development version Development version
------------------- -------------------
- Add ``loader`` argument to the configuration provider ``Configuration.from_yaml(..., loader=...)`` to override the - Add ``loader`` argument to the configuration provider ``Configuration.from_yaml(..., loader=...)``
default YAML loader. to override the default YAML loader.
- Make security improvement: change default YAML loader to the custom ``yaml.SafeLoader`` with a support - Make security improvement: change default YAML loader to the custom ``yaml.SafeLoader`` with a support
of environment variables interpolation. of environment variables interpolation.
- Update configuration provider ``.from_*()`` methods to raise an exception in strict mode if - Update configuration provider ``.from_*()`` methods to raise an exception in strict mode if
configuration file does not exist or configuration data is undefined. configuration file does not exist or configuration data is undefined.
- Add ``required`` argument to the configuration provider ``.from_*()`` methods to specify
mandatory configuration sources.
- Fix a bug with asynchronous injections: async providers do not work with async dependencies. - Fix a bug with asynchronous injections: async providers do not work with async dependencies.
See issue: `#368 <https://github.com/ets-labs/python-dependency-injector/issues/368>`_. See issue: `#368 <https://github.com/ets-labs/python-dependency-injector/issues/368>`_.
Thanks `@kolypto <https://github.com/kolypto>`_ for the bug report. Thanks `@kolypto <https://github.com/kolypto>`_ for the bug report.