Skip to content

Commit 56c63ca

Browse files
authored
Prepare for 2.18.0 (#1248)
* Update authors file * Update changelog for 2.18.0 * Update copyright year * Bump version
1 parent 73015a1 commit 56c63ca

24 files changed

+83
-23
lines changed

AUTHORS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Babel is written and maintained by the Babel team and various contributors:
2424
- Hugo van Kemenade
2525
- Jun Omae
2626
- Heungsub Lee
27+
- Boris Verkhovskiy
2728
- Jakob Schnitzer
2829
- Sachin Paliwal
2930
- Alex Willmer
@@ -49,6 +50,9 @@ Babel is written and maintained by the Babel team and various contributors:
4950
- Arturas Moskvinas
5051
- Leonardo Pistone
5152
- Hyunjun Kim
53+
- Bart Broere
54+
- Guillaume Gauvrit
55+
- clach04
5256
- wandrew004
5357
- James McKinney
5458
- Tomáš Hrnčiar

CHANGES.rst

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,61 @@
11
Babel Changelog
22
===============
33

4+
Version 2.18.0
5+
--------------
6+
7+
Happy 2026! This release is, coincidentally, also being made from FOSDEM.
8+
9+
We will aspire for a slightly less glacial release cadence in this year;
10+
there are interesting features in the pipeline.
11+
12+
Features
13+
~~~~~~~~
14+
15+
* Core: Add `babel.core.get_cldr_version()` by @akx in :gh:`1242`
16+
* Core: Use CLDR 47 by @tomasr8 in :gh:`1210`
17+
* Core: Use canonical IANA zone names in zone_territories by @akx in :gh:`1220`
18+
* Messages: Improve extract performance via ignoring directories early during os.walk by @akx in :gh:`968`
19+
* Messages: Merge in per-format keywords and auto_comments by @akx in :gh:`1243`
20+
* Messages: Update keywords for extraction of dpgettext and dnpgettext by @mardiros in :gh:`1235`
21+
* Messages: Validate all plurals in Python format checker by @tomasr8 in :gh:`1188`
22+
* Time: Use standard library `timezone` instead of `FixedOffsetTimezone` by @akx in :gh:`1203`
23+
24+
Bugfixes
25+
~~~~~~~~
26+
27+
* Core: Fix formatting for "Empty locale identifier" exception added in #1164 by @akx in :gh:`1184`
28+
* Core: Improve handling of no-inheritance-marker in timezone data by @akx in :gh:`1194`
29+
* Core: Make the number pattern regular expression more efficient by @akx in :gh:`1213`
30+
* Messages: Keep translator comments next to the translation function call by @akx in :gh:`1196`
31+
* Numbers: Fix KeyError that occurred when formatting compact currencies of exactly one thousand in several locales by @bartbroere in :gh:`1246`
32+
33+
Other improvements
34+
~~~~~~~~~~~~~~~~~~
35+
36+
* Core: Avoid unnecessary uses of `map()` by @akx in :gh:`1180`
37+
* Messages: Have init-catalog create directories too by @akx in :gh:`1244`
38+
* Messages: Optimizations for read_po by @akx in :gh:`1200`
39+
* Messages: Use pathlib.Path() in catalog frontend; improve test coverage by @akx in :gh:`1204`
40+
41+
42+
Infrastructure and documentation
43+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44+
45+
* CI: Renovate CI & lint tools by @akx in :gh:`1228`
46+
* CI: Tighten up CI with Zizmor by @akx in :gh:`1230`
47+
* CI: make job permissions explicit by @akx in :gh:`1227`
48+
* Docs: Add SECURITY.md by @akx in :gh:`1229`
49+
* Docs: Remove u string prefix from docs by @verhovsky in :gh:`1174`
50+
* Docs: Update dates.rst with current unicode.org tr35 link by @clach04 in :gh:`1189`
51+
* General: Add some PyPI classifiers by @tomasr8 in :gh:`1186`
52+
* General: Apply reformatting by hand and with Ruff by @akx in :gh:`1202`
53+
* General: Test on and declare support for Python 3.14 by @akx in :gh:`1233`
54+
* Tests: Convert Unittest testcases with setup/teardown to fixtures by @akx in :gh:`1240`
55+
* Tests: Mark PyPy CI flake as xfail by @akx in :gh:`1197`
56+
* Tests: Move pytest config to `pyproject.toml` by @tomasr8 in :gh:`1187`
57+
* Tests: Unwrap most `unittest` test cases to bare functions by @akx in :gh:`1241`
58+
459
Version 2.17.0
560
--------------
661

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013-2025 by the Babel Team, see AUTHORS for more information.
1+
Copyright (c) 2013-2026 by the Babel Team, see AUTHORS for more information.
22

33
Redistribution and use in source and binary forms, with or without
44
modification, are permitted provided that the following conditions

babel/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
access to various locale display names, localized number and date
1313
formatting, etc.
1414
15-
:copyright: (c) 2013-2025 by the Babel Team.
15+
:copyright: (c) 2013-2026 by the Babel Team.
1616
:license: BSD, see LICENSE for more details.
1717
"""
1818

@@ -25,7 +25,7 @@
2525
parse_locale,
2626
)
2727

28-
__version__ = '2.17.0'
28+
__version__ = '2.18.0'
2929

3030
__all__ = [
3131
'Locale',

babel/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Core locale representation and locale data access.
66
7-
:copyright: (c) 2013-2025 by the Babel Team.
7+
:copyright: (c) 2013-2026 by the Babel Team.
88
:license: BSD, see LICENSE for more details.
99
"""
1010

babel/dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* ``LC_ALL``, and
1212
* ``LANG``
1313
14-
:copyright: (c) 2013-2025 by the Babel Team.
14+
:copyright: (c) 2013-2026 by the Babel Team.
1515
:license: BSD, see LICENSE for more details.
1616
"""
1717

babel/lists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* ``LC_ALL``, and
1111
* ``LANG``
1212
13-
:copyright: (c) 2015-2025 by the Babel Team.
13+
:copyright: (c) 2015-2026 by the Babel Team.
1414
:license: BSD, see LICENSE for more details.
1515
"""
1616

babel/localedata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
:note: The `Locale` class, which uses this module under the hood, provides a
88
more convenient interface for accessing the locale data.
99
10-
:copyright: (c) 2013-2025 by the Babel Team.
10+
:copyright: (c) 2013-2026 by the Babel Team.
1111
:license: BSD, see LICENSE for more details.
1212
"""
1313

babel/localtime/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Babel specific fork of tzlocal to determine the local timezone
66
of the system.
77
8-
:copyright: (c) 2013-2025 by the Babel Team.
8+
:copyright: (c) 2013-2026 by the Babel Team.
99
:license: BSD, see LICENSE for more details.
1010
"""
1111

babel/localtime/_fallback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Emulated fallback local timezone when all else fails.
66
7-
:copyright: (c) 2013-2025 by the Babel Team.
7+
:copyright: (c) 2013-2026 by the Babel Team.
88
:license: BSD, see LICENSE for more details.
99
"""
1010

0 commit comments

Comments
 (0)