Skip to content

Commit f5bb5bf

Browse files
committed
Become 2.12.0
1 parent d597370 commit f5bb5bf

File tree

4 files changed

+43
-8
lines changed

4 files changed

+43
-8
lines changed

AUTHORS

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Babel is written and maintained by the Babel team and various contributors:
1414
- Isaac Jurado
1515
- Tobias Bieniek
1616
- Erick Wilder
17+
- Jonah Lawrence
1718
- Michael Birtwell
1819
- Jonas Borgström
1920
- Kevin Deldycke
@@ -33,6 +34,7 @@ Babel is written and maintained by the Babel team and various contributors:
3334
- Jennifer Wang
3435
- Lukas Balaga
3536
- sudheesh001
37+
- Jean Abou Samra
3638
- Niklas Hambüchen
3739
- Changaco
3840
- Xavier Fernandez
@@ -47,8 +49,12 @@ Babel is written and maintained by the Babel team and various contributors:
4749
- Arturas Moskvinas
4850
- Leonardo Pistone
4951
- Hyunjun Kim
52+
- Maciej Olko
53+
- martin f. krafft
54+
- DS/Charlie
55+
- lilinjie
56+
- Johannes Wilm
5057
- Eric L
51-
- Jonah Lawrence
5258
- Przemyslaw Wegrzyn
5359
- Lukas Kahwe Smith
5460
- Lukas Juhrich

CHANGES.rst

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,41 @@
11
Babel Changelog
22
===============
33

4-
Unreleased
5-
----------
4+
Version 2.12.0
5+
--------------
6+
7+
Deprecations & breaking changes
8+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9+
10+
* Python 3.6 is no longer supported (:gh:`919`) - Aarni Koskela
11+
* The `get_next_timezone_transition` function is no more (:gh:`958`) - Aarni Koskela
12+
13+
New features
14+
~~~~~~~~~~~~
15+
16+
* CLDR: Babel now uses CLDR 42 (:gh:`951`) - Aarni Koskela
17+
* Dates: `pytz` is now optional; Babel will prefer it but will use `zoneinfo` when available. (:gh:`940`) - @ds-cbo
18+
* General: Babel now ships type annotations, thanks to Jonah Lawrence's work in multiple PRs.
19+
* Locales: @modifiers are now retained when parsing locales (:gh:`947`) - martin f. krafft
20+
* Messages: JavaScript template string expression extraction is now smarter. (:gh:`939`) - Johannes Wilm
21+
* Numbers: NaN and Infinity are now better supported (:gh:`955`) - Jonah Lawrence
22+
* Numbers: Short compact currency formats are now supported (:gh:`926`) - Jonah Lawrence
23+
* Numbers: There's now a `Format.compact_decimal` utility function. (:gh:`921`) - Jonah Lawrence
24+
25+
Bugfixes
26+
~~~~~~~~
27+
28+
* Dates: The cache for parsed datetime patterns is now bounded (:gh:`967`) - Aarni Koskela
29+
* Messages: Fuzzy candidate matching accuracy is improved (:gh:`970`) - Jean Abou Samra
30+
* Numbers: Compact singular formats and patterns with no numbers work correctly (:gh:`930`, :gh:`932`) - Jonah Lawrence, Jun Omae
631

7-
* Use `zoneinfo` timezone resolving on python 3.9+, while keeping pytz support
8-
for lower versions
32+
Improvements & cleanup
33+
~~~~~~~~~~~~~~~~~~~~~~
934

35+
* Dates: `babel.dates.UTC` is now an alias for `datetime.timezone.utc` (:gh:`957`) - Aarni Koskela
36+
* Dates: `babel.localtime` was slightly cleaned up. (:gh:`952`) - Aarni Koskela
37+
* Documentation: Documentation was improved by Maciej Olko, Jonah Lawrence, lilinjie, and Aarni Koskela.
38+
* Infrastructure: Babel is now being linted with pre-commit and ruff. - Aarni Koskela
1039

1140
Version 2.11.0
1241
--------------

babel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
parse_locale,
2626
)
2727

28-
__version__ = '2.11.0'
28+
__version__ = '2.12.0'
2929

3030
__all__ = [
3131
'Locale',

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151
# built documents.
5252
#
5353
# The short X.Y version.
54-
version = '2.11'
54+
version = '2.12'
5555
# The full version, including alpha/beta/rc tags.
56-
release = '2.11.0'
56+
release = '2.12.0'
5757

5858
# The language for content autogenerated by Sphinx. Refer to documentation
5959
# for a list of supported languages.

0 commit comments

Comments
 (0)