Happy 2025! This release is being made from FOSDEM 2025, in Brussels, Belgium. 🇧🇪
Thank you to all contributors, new and old, and here's to another great year of internationalization and localization!
The changelog below is auto-generated by GitHub.
Please see CHANGELOG.rst for additional details.
What's Changed
- Fix deprecation warnings for
datetime.utcnow()
by @tomasr8 in #1119 - Enclose white spaces in references by @Dunedan in #1105
- Replace
str.index
withstr.find
by @tomasr8 in #1130 - Replace more alternate characters in
format_skeleton
by @tomasr8 in #1122 - Fix extracted lineno with nested calls by @dylankiss in #1126
- "Deleted duplicate code in test" by @mattdiaz007 in #1138
- Fix of list index out of range error in PoFileParser.add_message when translations is empty by @gabe-sherman in #1135
- Make seconds optional in
parse_time
time formats by @tomasr8 in #1141 - Mark
wraptext
deprecated; useTextWrapper
directly inwrite_po
by @akx in #1140 - Fix the way obsolete messages are stored by @tomasr8 in #1132
- Replace
OrderedDict
with justdict
by @tomasr8 in #1149 - Use CLDR 46 by @tomasr8 in #1145
- Update CI to use python 3.13 and Ubuntu 24.04 by @tomasr8 in #1153
- Adjust docs/conf.py to add compatibility with sphinx 8 by @hrnciar in #1155
- Allow specifying an explicit format in parse_date/parse_time by @tomasr8 in #1131
- Simplify
read_mo
logic regardingcatalog.charset
by @tomasr8 in #1148 - Bump CI/tool versions by @akx in #1160
- fix: check_and_call_extract_file uses the first matching method and options, instead of the first matching method and last matching options by @jpmckinney in #1121
- Prevent wrapping file locations containing white space by @tomasr8 in #1120
- Add tzdata as dev dependency and sync with tox.ini by @wandrew004 in #1159
- Support short and narrow formats for format_timedelta when using
add_direction
by @akx in #1163 - Improve handling for
locale=None
by @akx in #1164 - Use
pytest.raises(match=...)
by @akx in #1166 - Strip extra leading slashes in
/etc/localtime
by @akx in #1165 - Remove redundant assignment in
Catalog.__setitem__
by @tomasr8 in #1167 - Small cleanups by @akx in #1170
- Small test cleanup by @akx in #1172
- Add
Message.python_brace_format
by @tomasr8 in #1169 - Import
Literal
from the typing module by @tomasr8 in #1175 - Prefer LC_MONETARY when formatting currencies by @akx in #1173
- Fix dates formatting
Y
,w
andW
symbols for week-numbering by @jun66j5 in #1179 - Increase test coverage of the
python_format
checker by @tomasr8 in #1176 - Prepare for 2.17.0 by @akx in #1182
New Contributors
- @Dunedan made their first contribution in #1105
- @dylankiss made their first contribution in #1126
- @mattdiaz007 made their first contribution in #1138
- @gabe-sherman made their first contribution in #1135
- @hrnciar made their first contribution in #1155
- @jpmckinney made their first contribution in #1121
- @wandrew004 made their first contribution in #1159
Full Changelog: v2.16.0...v2.17.0