Releases: python-humanize/humanize
Releases · python-humanize/humanize
Release list
4.16.0
Immutable
release. Only release title and notes can be modified.
Added
- Add Latvian language localization (#301) @EPoikans
- Add i18n support for
naturalsize()and French translation (#294) @Yibomao
Changed
- Performance improvements: 1.07x - 8.4x (#315) @hugovk
- Lazy imports for Python 3.15+ (#335) @hugovk
- Drop experimental Python 3.13 free-threaded (#336) @hugovk
- Refactor: simplify
scientific()and extract_SUPERSCRIPT_MAPconstant (#313) @maayanmatsliah-tech
Fixed
- Fix
naturalsize()rounding rollover at unit boundaries (#329) @patchwright - Carry
metric()to the next SI prefix when rounding reaches 1000 (#328) @gaoflow - Stop printing two minus signs in fractional for a negative mixed number (#320) @c-tonneslan
- Return an empty string from
natural_list()for an empty list (#318) @c-tonneslan - Handle tz-aware datetimes in
naturalday()andnaturaldate()(#297) @bysiber - Fix Arabic translation (#307) @AYMENJD
- Fix Spanish large number translations to use long scale (#302) @sedat4ras
4.15.0
Added
- Add locale support for decimal separator in
intword(#287) @hugovk - Add support for Python 3.15 (#275) @hugovk
Changed
Fixed
naturaldelta: round the value to nearest unit that makes sense (#272) @dangillet- Fix plural form for
intwordand improve performance (#273) @dangillet - Replace
Exceptionwith more specificFileNotFoundError(#286) @hugovk
4.14.0
4.13.0
4.12.3
Fixed
- Fix regression in
naturalsizeforfloatandstr(#250) @loicleyendecker - Improvements for French translation (#248) @merwok
4.12.2
4.12.1
4.12.0
Added
- Add support for Python 3.14 and test PyPy3.11 (#235) @hugovk
- Handle en_GB and en_US locale (#230) @dangillet
- Release to PyPI using Trusted Publishing (#213) @hugovk
Changed
- Defer imports for faster overall import time: 19 ms -> 3 ms (#234, #238) @hugovk
- Replace deprecated classifier with licence expression (PEP 639) (#236) @hugovk
- Lint and test with tox-uv (#212) @hugovk
Fixed
4.11.0
Added
- Add
natural_list(#110) @akshaybabloo - filesize: support the ronna and quetta prefixes (#142) @bbolli
- Update French translations for numbers (#192) @enlivn
Changed
- Drop support for Python 3.8 (#202) @hugovk
- Defer
fractions.Fractionimport to save 5ms (#201) @hugovk - Speedup x 1.85: Generate
__version__at build to avoid slowimportlib.metadataimport (#200) @hugovk
Fixed
- Fix finding location of translations (#204) @dangillet
- Fix rollover from ZB to 1.0 YB (#206) @hugovk
- Fix zh_CN/zh_HK translation for "1 year, %d days" (#196) @luliangce
4.10.0
Changed
Fixed
- Remove shebang from filesize.py (#188) @mikelolasagasti
- Fix test failures on systems with 32-bit time_t (#177) @mgorny
- Fix handling of negative time deltas (#173) @hugovk
- Fix naturaldelta sub second precision (#169) @wolf1986
- Reword the French translation of very small amount of time (#162) @arobase-che
- Fix Arabic localization (#160) @YazeedT
metric: Fix precision format (#159) @e-nikolov