Bump version to 3.21.1

This commit is contained in:
Roman Mogylatov 2020-07-13 23:09:42 -04:00
parent 0c77e73d51
commit 5ada7f24dd
4 changed files with 7 additions and 1 deletions

View File

@ -113,6 +113,7 @@ Running such container looks like this:
"""Create and return Flask application."""
container = ApplicationContainer()
container.config.from_yaml('config.yml')
container.config.github.auth_token.from_env('GITHUB_TOKEN')
app = container.app()
app.container = container

View File

@ -7,6 +7,10 @@ that were made in every particular version.
From version 0.7.6 *Dependency Injector* framework strictly
follows `Semantic versioning`_
3.21.0
------
- Hotfix ``ghnav-flask`` example to read Github token from environment variable.
3.21.0
------
- Re-design ``Flask`` integration.

View File

@ -7,6 +7,7 @@ def create_app():
"""Create and return Flask application."""
container = ApplicationContainer()
container.config.from_yaml('config.yml')
container.config.github.auth_token.from_env('GITHUB_TOKEN')
app = container.app()
app.container = container

View File

@ -1,6 +1,6 @@
"""Dependency injector top-level package."""
__version__ = '3.21.0'
__version__ = '3.21.1'
"""Version number that follows semantic versioning.
:type: str