|
1 | 1 | Babel Changelog |
2 | 2 | =============== |
3 | 3 |
|
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 |
6 | 31 |
|
7 | | -* Use `zoneinfo` timezone resolving on python 3.9+, while keeping pytz support |
8 | | - for lower versions |
| 32 | +Improvements & cleanup |
| 33 | +~~~~~~~~~~~~~~~~~~~~~~ |
9 | 34 |
|
| 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 |
10 | 39 |
|
11 | 40 | Version 2.11.0 |
12 | 41 | -------------- |
|
0 commit comments