diff options
author | Aarni Koskela <akx@iki.fi> | 2023-02-28 09:17:25 +0200 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2023-02-28 10:12:12 +0200 |
commit | f5bb5bffdbc7923bc0297b99fd9dc2cb69afd6e7 (patch) | |
tree | 54bc04bccffe879c0f8a5f223f4bd1ef8e896271 | |
parent | d597370bfcaa8c7421ec5639ecda7b55467167dc (diff) | |
download | babel-f5bb5bffdbc7923bc0297b99fd9dc2cb69afd6e7.tar.gz |
Become 2.12.0v2.12.0
-rw-r--r-- | AUTHORS | 8 | ||||
-rw-r--r-- | CHANGES.rst | 37 | ||||
-rw-r--r-- | babel/__init__.py | 2 | ||||
-rw-r--r-- | docs/conf.py | 4 |
4 files changed, 43 insertions, 8 deletions
@@ -14,6 +14,7 @@ Babel is written and maintained by the Babel team and various contributors: - Isaac Jurado - Tobias Bieniek - Erick Wilder +- Jonah Lawrence - Michael Birtwell - Jonas Borgström - Kevin Deldycke @@ -33,6 +34,7 @@ Babel is written and maintained by the Babel team and various contributors: - Jennifer Wang - Lukas Balaga - sudheesh001 +- Jean Abou Samra - Niklas Hambüchen - Changaco - Xavier Fernandez @@ -47,8 +49,12 @@ Babel is written and maintained by the Babel team and various contributors: - Arturas Moskvinas - Leonardo Pistone - Hyunjun Kim +- Maciej Olko +- martin f. krafft +- DS/Charlie +- lilinjie +- Johannes Wilm - Eric L -- Jonah Lawrence - Przemyslaw Wegrzyn - Lukas Kahwe Smith - Lukas Juhrich diff --git a/CHANGES.rst b/CHANGES.rst index a146e8f..b5e4718 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,12 +1,41 @@ Babel Changelog =============== -Unreleased ----------- +Version 2.12.0 +-------------- + +Deprecations & breaking changes +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +* Python 3.6 is no longer supported (:gh:`919`) - Aarni Koskela +* The `get_next_timezone_transition` function is no more (:gh:`958`) - Aarni Koskela + +New features +~~~~~~~~~~~~ + +* CLDR: Babel now uses CLDR 42 (:gh:`951`) - Aarni Koskela +* Dates: `pytz` is now optional; Babel will prefer it but will use `zoneinfo` when available. (:gh:`940`) - @ds-cbo +* General: Babel now ships type annotations, thanks to Jonah Lawrence's work in multiple PRs. +* Locales: @modifiers are now retained when parsing locales (:gh:`947`) - martin f. krafft +* Messages: JavaScript template string expression extraction is now smarter. (:gh:`939`) - Johannes Wilm +* Numbers: NaN and Infinity are now better supported (:gh:`955`) - Jonah Lawrence +* Numbers: Short compact currency formats are now supported (:gh:`926`) - Jonah Lawrence +* Numbers: There's now a `Format.compact_decimal` utility function. (:gh:`921`) - Jonah Lawrence + +Bugfixes +~~~~~~~~ + +* Dates: The cache for parsed datetime patterns is now bounded (:gh:`967`) - Aarni Koskela +* Messages: Fuzzy candidate matching accuracy is improved (:gh:`970`) - Jean Abou Samra +* Numbers: Compact singular formats and patterns with no numbers work correctly (:gh:`930`, :gh:`932`) - Jonah Lawrence, Jun Omae -* Use `zoneinfo` timezone resolving on python 3.9+, while keeping pytz support - for lower versions +Improvements & cleanup +~~~~~~~~~~~~~~~~~~~~~~ +* Dates: `babel.dates.UTC` is now an alias for `datetime.timezone.utc` (:gh:`957`) - Aarni Koskela +* Dates: `babel.localtime` was slightly cleaned up. (:gh:`952`) - Aarni Koskela +* Documentation: Documentation was improved by Maciej Olko, Jonah Lawrence, lilinjie, and Aarni Koskela. +* Infrastructure: Babel is now being linted with pre-commit and ruff. - Aarni Koskela Version 2.11.0 -------------- diff --git a/babel/__init__.py b/babel/__init__.py index be35c03..225ec14 100644 --- a/babel/__init__.py +++ b/babel/__init__.py @@ -25,7 +25,7 @@ from babel.core import ( parse_locale, ) -__version__ = '2.11.0' +__version__ = '2.12.0' __all__ = [ 'Locale', diff --git a/docs/conf.py b/docs/conf.py index 5118f72..45ce059 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,9 +51,9 @@ copyright = '2022, The Babel Team' # built documents. # # The short X.Y version. -version = '2.11' +version = '2.12' # The full version, including alpha/beta/rc tags. -release = '2.11.0' +release = '2.12.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. |