Skip to content

Commit

Permalink
Become 2.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Feb 28, 2023
1 parent d597370 commit f5bb5bf
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 8 deletions.
8 changes: 7 additions & 1 deletion AUTHORS
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
37 changes: 33 additions & 4 deletions 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
--------------
Expand Down
2 changes: 1 addition & 1 deletion babel/__init__.py
Expand Up @@ -25,7 +25,7 @@
parse_locale,
)

__version__ = '2.11.0'
__version__ = '2.12.0'

__all__ = [
'Locale',
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Expand Up @@ -51,9 +51,9 @@
# 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.
Expand Down

0 comments on commit f5bb5bf

Please sign in to comment.