Releases: solaluset/i18nice
Releases · solaluset/i18nice
Version 0.13.1
What's Changed
- Added dependabot
- Updated links due to account renaming
- Moved to trusted publishing
Full Changelog: v0.13.0...v0.13.1
Version 0.13.0
What's Changed
- Add pypi and conda badges. by @cmarmo in #32
- Remove Unused JSON Check by @colinxu2020 in #33
- More And Clearly Document by @colinxu2020 in #34
New Contributors
- @cmarmo made their first contribution in #32
- @colinxu2020 made their first contribution in #33
Full Changelog: v0.12.0...v0.13.0
Version 0.12.0
What's Changed
- Added
use_locale_dirs
setting - Improved file search
- Config reloading is now more consistent
Full Changelog: v0.11.1...v0.12.0
Version 0.11.1
What's Changed
- Fixed #25
- (potentially breaking) Invalid placeholders will always emit an error
Full Changelog: v0.11.0...v0.11.1
Version 0.11.0
- Added
py.typed
- Added
_list
kwarg tot
(only for type checkers) - (BREAKING)
fallback
is nowNone
by default - (potentially breaking) Setting
locale
andfallback
to the same value will now result infallback
beingNone
- Error thrown on missing translation now mentions the locale
- Missing translation is now reported with requested locale instead of fallback one
- Minor optimizations
Version 0.10.0
What's Changed
- Simplified static refs pattern
- Added support for braceless placeholders and escaped delimiters
- (potentially breaking) If a function registered with
i18n.add_function
raisesKeyError
, it will be reraised instead of being treated as a missing placeholder
Full Changelog: v0.9.1...v0.10.0
Version 0.9.1
Version 0.9.0
What's Changed
- (BREAKING) Removed
default=
kwarg ofi18n.t()
. You can work around this change with a custom handler like this - Added docstrings to public API
- Added
__all__
to most files - Added support for
None
asfallback
- (potentially breaking) Made memoization enabled by default
- Added
lock=
kwarg toload_everything()
Full Changelog: v0.8.1...v0.9.0
Version 0.8.1
What's Changed
- Added flake8 and mypy checks
- Enabled and ensured branch coverage
- Added
__all__
to packages - Added more type hints
- Fixed static references not expanding
- Fixed strict pluralization with translation tuples
- Created
dev-helper.py
for pre-commit and GA - Made
PythonLoader
throw more verbose error
Full Changelog: v0.8.0...v0.8.1
Version 0.8.0
What's New
- Potentially breaking:
i18n.get("filename_format")
will returnFilenameFormat
instead of string. You can accesstemplate
attribute to get the original string.set
will continue to work as usual. - More flexible filename formats
- Type hints for public APIs
- New functions
load_everything
andunload_everything
- 100% coverage
- Minor optimizations
Full Changelog: v0.7.0...v0.8.0