Releases: python-humanize/humanize
Releases · python-humanize/humanize
4.2.2
4.2.1
4.2.0
Added
- Add
humanize.metric()
for converting big/small numbers to SI units (#22) @bwoodsend - Add type hints (#15) @hugovk
Fixed
- Fix
scientific()
on small positive numbers (#22) @bwoodsend - Remove redundant
wheel
dependency frompyproject.toml
(#16) @mgorny
4.1.0
Added
- Support Python 3.11 (#13) @hugovk
- Add Arabic language (jmoiron/humanize#256) @AYMENJD
- Docs: add dark mode toggle and default to system preference (jmoiron/humanize#255) @hugovk
- Documentation improvements (jmoiron/humanize#254) @mondeja
Changed
Fixed
- Removed
VERSION
from__all__
(#11) @SmartManoj
4.0.0
Removed
- Drop support for Python 3.6 (jmoiron/humanize#239) @hugovk
- Remove deprecated VERSION, use version instead (jmoiron/humanize#253) @hugovk
- Remove
when
fromnaturaldelta()
and allow largesttimedelta
(jmoiron/humanize#250) @carterbox - Remove deprecated private function aliases (jmoiron/humanize#241) @samueljsb
3.14.0
Changed
- Don't deprecate
time.Unit
enumeration (jmoiron/humanize#252) @hugovk - Use
humanize.intcomma
to format years intime
module (jmoiron/humanize#246) @carterbox
Deprecated
- Deprecate
when
parameter ofnaturaldelta
(jmoiron/humanize#248) @carterbox
3.13.1
3.13.0
Added
- Add da_DK language (jmoiron/humanize#238) @dejurin
- Fix and add Russian and Ukrainian words (jmoiron/humanize#235) @dejurin
- Add missing strings for Polish translation (jmoiron/humanize#182) @kpostekk
- Add Traditional Chinese (zh-HK) (jmoiron/humanize#233) @edwardmfho
Changed
- Remove redundant setuptools from install_requires (jmoiron/humanize#232) @arthurzam
Deprecated
- This is the last release to support Python 3.6
- Deprecate private functions (jmoiron/humanize#234) @samueljsb
- Reinstate
VERSION
and deprecate (jmoiron/humanize#240) @hugovk
3.12.0
Added
- Add support for Python 3.10 (jmoiron/humanize#223) @hugovk
Changed
- Use importlib.metadata to get package version instead of pkg_resources.get_distribution to decrease memory consumption (jmoiron/humanize#227) @akayunov
Fixed
- Fix incorrect type in comment for when (jmoiron/humanize#222) @pfw
3.11.0
Added
- Add Bengali langauage (jmoiron/humanize#221) @wasi-master
Fixed
- Fix Korean localization (jmoiron/humanize#219) @Craphting