Quart-babel

Latest version: v1.0.4

Safety actively analyzes 623642 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.4

The following was changed during this release:

General:
1. Tested extension using Python 3.12.
2. Extension now supports Python 3.11 and 3.12.

Dev Container:
1. devcontainer.json: Changed name, vscode extensions, and `postCreateCommand`. `postCreateCommand` doesn't use shell script anymore.
3. Dockerfile: Updated docker version to be 3.12 and removed unused commands.
4. Removed `postCreateCommand.sh` file, since no longer needed.

pyproject.toml file:
1. Changed version number to match this release.
5. Added Python 3.11 and 3.12 to classifiers.
6. Updated Python version to be >= 3.8.
7. Updated Quart version to match latest release.
8. Added tool.black
9. Added tool.isort
10. Added tool.mypy

1.0.3

The release offers minor changes to Quart Babel.

- Quart Version must be >0.18. Past release wouldn't allow 0.19 versions of Quart.
- Changed version in "pyproject.toml" file to match this release.
- Added homepage to "pyproject.toml" file.

1.0.2

In this release of Quart Babel the following has changed:

- Updated ASGI Tools to latest version and passed receive and send to the request object along with scope.

- Removed ipapi dependency and the select_timezone_by_request. We hope to bring this feature back in a future release.

- Updated tests.

- Updated docs to reflect changes noted above.

1.0.1

Updated dependencies due to sphinx documentation generation failure. Due to this we had to
revert back to using ipapi library over aioipapi.

1.0.0

In this release of Quart Babel the way the locale and timezone information is obtained
from a user was changed to ASGI middleware. **_Note that this will provide breaking changes
to the last version_**. The following was changed:

* Changed to use ASGI middleware over using Quarts request object in order to allow Quart
Babel to work with other Quart extensions like WTF for example.

* Changed gettext and format (date and number) functions from async to sync. Async functions
are no longer needed since all locale and timezone detection is done with middleware and saved
to context vars. This includes custom detect functions as well.

* Changed how to declare custom locale and timezone detection functions. Decorators are no longer
used.

* Updated typing for all classes and functions.

* Updated doc strings for all classes and functions.

* Updated documentation to reflect changes noted above.

* Added changelog to documentation.

* Added development page to documentation.

* Changed versioning format to [Semantic Versioning](https://semver.org/).

0.0.3

Made Quart-Babel work like Flask-BabelPlus.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.