| 1 |
v3.1.0 |
| 2 |
------ |
| 3 |
|
| 4 |
- Documentation and packaging improvements. (#226, #223, #218, #217, #215) |
| 5 |
- Don't return the default locale twice (#219) |
| 6 |
- Fix tests breaking against babel 12.2, which changed localized times to use non-breaking-spaces. Babel 12.2 or greater |
| 7 |
is now required. (#222) |
| 8 |
- Relax version requirements for dependencies. (#227, #225) |
| 9 |
|
| 10 |
v3.0.0 |
| 11 |
------ |
| 12 |
|
| 13 |
Major version bump as this version removes support for Python 3.5 and 3.6, along with multiple |
| 14 |
major breaking changes. Hope you've been following SemVer :) |
| 15 |
|
| 16 |
- Dropped support for end-of-life Python 3.5 and 3.6, added tests for 3.10 and 3.11. |
| 17 |
- Fixes to documentation to address outdated links and settings (#204, 201) |
| 18 |
- Jinja version 3 or greater is now required (released 2021) |
| 19 |
- Removed Babel._date_formats, use the public Babel.date_formats instead. |
| 20 |
- list_translations() always returns the default locale, even if it does not exist. (#75) |
| 21 |
- Add lazy_npgettext() (#68) |
| 22 |
- Babel.locale_selector and Babel.timezone_selector no longer exist. They must be provided |
| 23 |
either when the Babel() object is created or when init_app() is called. This is to support |
| 24 |
having a single Babel object for multiple Flask apps (#107) as well as to simplify settings |
| 25 |
and multi-threaded state. |
| 26 |
- Most configuration options can be passed directly through init_app(). |
| 27 |
|
| 28 |
v2.0.0 |
| 29 |
------ |
| 30 |
|
| 31 |
Starting with version 2, flask-babel drops official support for Python2. |
| 32 |
Python versions 3.5 through 3.9-beta1 are tested and supported, as well as pypy3. |
| 33 |
|
| 34 |
- Tests moved from unittest to pytest (#163) |
| 35 |
- Domain and caching support from Flask-BabelEx (#163) |
| 36 |
- Documentation moved from python-hosted to Github Pages. |
| 37 |
- CI moved from Travisci to Github Actions |
| 38 |
- Small documentation improvements. |
| 39 |
- Removed uncessary checks on get_translations() (#127, #126) |
| 40 |
- localeselector and timezoneselector can be changed after creation. |