Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: python-babel/flask-babel

v4.0.0

02 Oct 01:09
@TkTech TkTech

Choose a tag to compare

  • Dropped support for end-of-life Python 3.7. Support PyPy 3.9
  • Replace deprecated locked_cached_property decorator with cached_property (#230)
Assets 2
Loading
Leonwenbin and BobACollins reacted with thumbs up emoji Leonwenbin, bakert, and BobACollins reacted with hooray emoji
3 people reacted

v3.1.0

07 Apr 20:25
@TkTech TkTech

Choose a tag to compare

  • Documentation and packaging improvements. (#226, #223, #218, #217, #215)
  • Don't return the default locale twice (#219)
  • Fix tests breaking against babel 12.2, which changed localized times to use non-breaking-spaces. Babel 12.2 or greater
    is now required. (#222)
  • Relax version requirements for dependencies. (#227, #225)
Loading

v3.0.1 Bugfix Release

29 Jan 23:08
@TkTech TkTech

Choose a tag to compare

Small bugfix for the get_locale() behaviour when the default locale is returned.

Loading

v3.0.0

16 Jan 04:08
@TkTech TkTech

Choose a tag to compare

Major version bump as this version removes support for Python 3.5 and 3.6, along with multiple
major breaking changes. Hope you've been following SemVer :)

  • Dropped support for end-of-life Python 3.5 and 3.6, added tests for 3.10 and 3.11.
  • Fixes to documentation to address outdated links and settings (#204, 201)
  • Jinja version 3 or greater is now required (released 2021)
  • Removed Babel._date_formats, use the public Babel.date_formats instead.
  • list_translations() always returns the default locale, even if it does not exist. (#75)
  • Add lazy_npgettext() (#68)
  • Babel.locale_selector and Babel.timezone_selector no longer exist. They must be provided
    either when the Babel() object is created or when init_app() is called. This is to support
    having a single Babel object for multiple Flask apps (#107) as well as to simplify settings
    and multi-threaded state.
  • Most configuration options can be passed directly through init_app().
Loading
omasanori reacted with hooray emoji
1 person reacted

v2.0.0

27 Aug 03:16
@TkTech TkTech

Choose a tag to compare

Starting with version 2, flask-babel drops official support for Python2.
Python versions 3.5 through 3.9-beta1 are tested and supported, as well as pypy3.

  • Tests moved from unittest to pytest (#163)
  • Domain and caching support from Flask-BabelEx (#163)
  • Documentation moved from python-hosted to Github Pages.
  • CI moved from Travisci to Github Actions
  • Small documentation improvements.
  • Removed uncessary checks on get_translations() (#127, #126)
  • localeselector and timezoneselector can be changed after creation.
Loading

v1.0.0

06 Feb 20:35
@TkTech TkTech
c1696fe
This commit was signed with the committer’s verified signature. The key has expired.
TkTech Tyler Kennedy
GPG key ID: 807F137F2FA33F03
Expired
Verified
Learn about vigilant mode.

Choose a tag to compare

v1.0.0 - 06/02/2020

Starting with version 1, flask-babel has changed to Semantic Versioning.

Changed

  • pytz is an explicit dependency. (#14)
  • pytz.gae, used for Google App Engine, is no longer necessary and has been
    removed. (#153)
  • Fixed a deprecated werkzeug import (#158).
  • Fix issues switching locales in threaded contexts (#125).
Loading

AltStyle によって変換されたページ (->オリジナル) /