Releases: python-humanize/humanize
Releases · python-humanize/humanize
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.Fraction
import to save 5ms (#201) @hugovk - Speedup x 1.85: Generate
__version__
at build to avoid slowimportlib.metadata
import (#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
4.9.0
Added
- Add support for Python 3.13 (#156) @hugovk
- Add Norwegian localization (#155) @fdanielsen
- Add Hebrew localization (#149) @clsn
- Add Klingon translation (#150) @clsn
Changed
Fixed
- Fix DeprecationWarning: Plural value must be an integer, got float (#147) @dansarpong
- Remove useless shebangs (#141) @aueam
4.8.0
Added
- Add Hungarian localization (#131) @gy-balint
- Revise Turkish localization (#139) @geekdinazor
- Translate "thousand" to "千" for zh_CN (#127) @dofine
Changed
- Update docs link to https://humanize.readthedocs.io (#128) @hugovk
Fixed
- Move logic to convert aware datetime to naive into function (#123) @ErikKalkoken
- Docs: fix formatting of return value (#137) @hugovk
4.7.0
4.6.0
4.5.0
Added
- Add Basque translation (#84) @mikelolasagasti
- Add latest metric prefixes: ronna, ronto, quetta, quecto (#78) @H4ckerxx44
- Add pt_BR separators (#66) @mariovalney
Changed
- Replace setup.cfg with pyproject.toml (#90) @hugovk
- Filesize simplification (#76) @bbolli
- Cosmetic: improve exception traceback readability (#80) @hugovk
Fixed
- Fix intword for 1,000 decillion (#87) @hugovk
- Add localisation for thousand, fixing German plurals (#89) @NavisGames
- Handle NaN (#63) @The-Debarghya
4.4.0
4.3.0
4.2.3
Fixed
- Update annotations, docs, and tests:
naturaltime
can also accept atimedelta
(#31) @nuztalgia