Babel

Latest version: v2.16.0

Safety actively analyzes 682382 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 8

2.3.3

Not secure
-------------

(Bugfix release, released on April 12th 2016)

Bugfixes
~~~~~~~~

* CLI: Usage regressions that had snuck in between 2.2 and 2.3 should be no more. (:gh:`386`) Thanks to ajaeger, sebdiem and jcristovao for bug reports and patches.

2.3.2

Not secure
-------------

(Bugfix release, released on April 9th 2016)

Bugfixes
~~~~~~~~

* Dates: Period (am/pm) formatting was broken in certain locales (namely zh_TW). Thanks to jun66j5 for the bug report. (:gh:`378`, :gh:`379`)

2.3.1

Not secure
-------------

(Bugfix release because of deployment problems, released on April 8th 2016)

2.3

-----------

(Feature release, released on April 8th 2016)

Internal improvements
~~~~~~~~~~~~~~~~~~~~~

* The CLI frontend and Distutils commands use a shared implementation (:gh:`311`)
* PyPy3 is supported (:gh:`343`)

Features
~~~~~~~~

* CLDR: Add an API for territory language data (:gh:`315`)
* Core: Character order and measurement system data is imported and exposed (:gh:`368`)
* Dates: Add an API for time interval formatting (:gh:`316`)
* Dates: More pattern formats and lengths are supported (:gh:`347`)
* Dates: Period IDs are imported and exposed (:gh:`349`)
* Dates: Support for date-time skeleton formats has been added (:gh:`265`)
* Dates: Timezone formatting has been improved (:gh:`338`)
* Messages: JavaScript extraction now supports dotted names, ES6 template strings and JSX tags (:gh:`332`)
* Messages: npgettext is recognized by default (:gh:`341`)
* Messages: The CLI learned to accept multiple domains (:gh:`335`)
* Messages: The extraction commands now accept filenames in addition to directories (:gh:`324`)
* Units: A new API for unit formatting is implemented (:gh:`369`)

Bugfixes
~~~~~~~~

* Core: Mixed-case locale IDs work more reliably (:gh:`361`)
* Dates: S...S formats work correctly now (:gh:`360`)
* Messages: All messages are now sorted correctly if sorting has been specified (:gh:`300`)
* Messages: Fix the unexpected behavior caused by catalog header updating (e0e7ef1) (:gh:`320`)
* Messages: Gettext operands are now generated correctly (:gh:`295`)
* Messages: Message extraction has been taught to detect encodings better (:gh:`274`)

2.2

-----------

(Feature release, released on January 2nd 2016)

Bugfixes
~~~~~~~~

* General: Add __hash__ to Locale. (:gh:`303`) (2aa8074)
* General: Allow files with BOM if they're UTF-8 (:gh:`189`) (da87edd)
* General: localedata directory is now locale-data (:gh:`109`) (2d1882e)
* General: odict: Fix pop method (0a9e97e)
* General: Removed uses of datetime.date class from .dat files (:gh:`174`) (94f6830)
* Messages: Fix plural selection for Chinese (531f666)
* Messages: Fix typo and add semicolon in plural_forms (5784501)
* Messages: Flatten NullTranslations.files into a list (ad11101)
* Times: FixedOffsetTimezone: fix display of negative offsets (d816803)

Features
~~~~~~~~

* CLDR: Update to CLDR 28 (:gh:`292`) (9f7f4d0)
* General: Add __copy__ and __deepcopy__ to LazyProxy. (a1cc3f1)
* General: Add official support for Python 3.4 and 3.5
* General: Improve odict performance by making key search O(1) (6822b7f)
* Locale: Add an ordinal_form property to Locale (:gh:`270`) (b3f3430)
* Locale: Add support for list formatting (37ce4fa, be6e23d)
* Locale: Check inheritance exceptions first (3ef0d6d)
* Messages: Allow file locations without line numbers (:gh:`279`) (79bc781)
* Messages: Allow passing a callable to `extract()` (:gh:`289`) (3f58516)
* Messages: Support 'Language' header field of PO files (:gh:`76`) (3ce842b)
* Messages: Update catalog headers from templates (e0e7ef1)
* Numbers: Properly load and expose currency format types (:gh:`201`) (df676ab)
* Numbers: Use cdecimal by default when available (b6169be)
* Numbers: Use the CLDR's suggested number of decimals for format_currency (:gh:`139`) (201ed50)
* Times: Add format_timedelta(format='narrow') support (edc5eb5)

2.1

-----------

(Bugfix/minor feature release, released on September 25th 2015)

- Parse and honour the locale inheritance exceptions
(:gh:`97`)
- Fix Locale.parse using ``global.dat`` incompatible types
(:gh:`174`)
- Fix display of negative offsets in ``FixedOffsetTimezone``
(:gh:`214`)
- Improved odict performance which is used during localization file
build, should improve compilation time for large projects
- Add support for "narrow" format for ``format_timedelta``
- Add universal wheel support
- Support 'Language' header field in .PO files
(fixes :gh:`76`)
- Test suite enhancements (coverage, broken tests fixed, etc)
- Documentation updated

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.