Skip to content

Commit ac158cc

Browse files
authored
Merge pull request #480 from python-babel/release/2.4
Release/2.4
2 parents 6f0d13b + 6ce9490 commit ac158cc

File tree

3 files changed

+78
-3
lines changed

3 files changed

+78
-3
lines changed

CHANGES

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

4+
Version 2.4.0
5+
-------------
6+
7+
New Features
8+
~~~~~~~~~~~~
9+
10+
Some of these changes might break your current code and/or tests.
11+
12+
* CLDR: CLDR 29 is now used instead of CLDR 28 (#405) (@akx)
13+
* Messages: Add option 'add_location' for location line formatting (#438, #459) (@rrader, @alxpy)
14+
* Numbers: Allow full control of decimal behavior (#410) (@etanol)
15+
16+
Minor Improvements and bugfixes
17+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18+
19+
* Documentation: Improve Date Fields descriptions (#450) (@ldwoolley)
20+
* Documentation: Typo fixes and documentation improvements (#406, #412, #403, #440, #449, #463) (@zyegfryed, @adamchainz, @jwilk, @akx, @roramirez, @abhishekcs10)
21+
* Messages: Default to UTF-8 source encoding instead of ISO-8859-1 (#399) (@asottile)
22+
* Messages: Ensure messages are extracted in the order they were passed in (#424) (@ngrilly)
23+
* Messages: Message extraction for JSX files is improved (#392, #396, #425) (@karloskar, @georgschoelly)
24+
* Messages: PO file reading supports multi-line obsolete units (#429) (@mbirtwell)
25+
* Messages: Python message extractor respects unicode_literals in __future__ (#427) (@sublee)
26+
* Messages: Roundtrip Language headers (#420) (@kruton)
27+
* Messages: units before obsolete units are no longer erroneously marked obsolete (#452) (@mbirtwell)
28+
* Numbers: `parse_pattern` now preserves the full original pattern (#414) (@jtwang)
29+
* Numbers: Fix float conversion in `extract_operands` (#435) (@akx)
30+
* Plurals: Fix plural forms for Czech and Slovak locales (#373) (@ykshatroff)
31+
* Plurals: More plural form fixes based on Mozilla and CLDR references (#431) (@mshenfield)
32+
33+
34+
Internal improvements
35+
~~~~~~~~~~~~~~~~~~~~~
36+
37+
* Local times are constructed correctly in tests (#411) (@etanol)
38+
* Miscellaneous small improvements (#437) (@scop)
39+
* Regex flags are extracted from the regex strings (#462) (@singingwolfboy)
40+
* The PO file reader is now a class and has seen some refactoring (#429, #452) (@mbirtwell)
41+
42+
43+
Version 2.3.4
44+
-------------
45+
46+
(Bugfix release, released on April 22th)
47+
48+
Bugfixes
49+
~~~~~~~~
50+
51+
* CLDR: The lxml library is no longer used for CLDR importing, so it should not cause strange failures either. Thanks to @aronbierbaum for the bug report and @jtwang for the fix. (https://github.com/python-babel/babel/pull/393)
52+
* CLI: Every last single CLI usage regression should now be gone, and both distutils and stand-alone CLIs should work as they have in the past. Thanks to @paxswill and @ajaeger for bug reports. (https://github.com/python-babel/babel/pull/389)
53+
54+
Version 2.3.3
55+
-------------
56+
57+
(Bugfix release, released on April 12th)
58+
59+
Bugfixes
60+
~~~~~~~~
61+
62+
* CLI: Usage regressions that had snuck in between 2.2 and 2.3 should be no more. (https://github.com/python-babel/babel/pull/386) Thanks to @ajaeger, @sebdiem and @jcristovao for bug reports and patches.
63+
64+
Version 2.3.2
65+
-------------
66+
67+
(Bugfix release, released on April 9th)
68+
69+
Bugfixes
70+
~~~~~~~~
71+
72+
* Dates: Period (am/pm) formatting was broken in certain locales (namely zh_TW). Thanks to @jun66j5 for the bug report. (https://github.com/python-babel/babel/issues/378, https://github.com/python-babel/babel/issues/379)
73+
74+
Version 2.3.1
75+
-------------
76+
77+
(Bugfix release because of deployment problems, released on April 8th)
78+
479
Version 2.3
580
-----------
681

babel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
negotiate_locale, parse_locale, get_locale_identifier
2222

2323

24-
__version__ = '2.4.0.dev0'
24+
__version__ = '2.4.0'

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
# General information about the project.
4646
project = u'Babel'
47-
copyright = u'2016, The Babel Team'
47+
copyright = u'2017, The Babel Team'
4848

4949
# The version info for the project you're documenting, acts as replacement for
5050
# |version| and |release|, also used in various other places throughout the
@@ -53,7 +53,7 @@
5353
# The short X.Y version.
5454
version = '2.4'
5555
# The full version, including alpha/beta/rc tags.
56-
release = '2.4.0.dev0'
56+
release = '2.4.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)