]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Become 2.12.0 v2.12.0
authorAarni Koskela <akx@iki.fi>
Tue, 28 Feb 2023 07:17:25 +0000 (09:17 +0200)
committerAarni Koskela <akx@iki.fi>
Tue, 28 Feb 2023 08:12:12 +0000 (10:12 +0200)
AUTHORS
CHANGES.rst
babel/__init__.py
docs/conf.py

diff --git a/AUTHORS b/AUTHORS
index 5b88f338e583cf80cbb24da59ff6c4142674dce3..0d2d121684d60f2809da34816bf9d7bb177ba1b4 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -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
index a146e8fbac690f13af88244d293639045312d174..b5e4718ebe298464bc2e88f3977d298d502ac6f0 100644 (file)
@@ -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
 --------------
index be35c0361ee798576a7ff6e4f3f21e9453daaa12..225ec143cd3da172074f41541dddc5cf23511408 100644 (file)
@@ -25,7 +25,7 @@ from babel.core import (
     parse_locale,
 )
 
-__version__ = '2.11.0'
+__version__ = '2.12.0'
 
 __all__ = [
     'Locale',
index 5118f72f6d98bb2f36d4019a72bf18dfc146a83e..45ce059fd04b70bc73b5548d33a89de9071ffcc8 100644 (file)
@@ -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.