patchman
patchman copied to clipboard
Update humanize to 4.3.0
This PR updates humanize from 3.13.1 to 4.3.0.
Changelog
4.3.0
Added
* Add Greek translation (46) waseigo
* Polish: Added thousand, fixed big numbers (43) dejurin
Fixed
* Fix intword for negative numbers (41) vishket
4.2.3
Fixed
* Update annotations, docs, and tests: `naturaltime` can also accept a `timedelta` (31) nuztalgia
4.2.2
Fixed
* Update annotations: `naturadelta` and `naturaltime` can also accept a `float` (29) hugovk
4.2.1
Fixed
* Rename Arabic locale from `ar_SA` to `ar` to enable fallbacks (27) hugovk
* Use `%d` for year translations, convert to string for `intcomma` after (23) carterbox
* Fix `intcomma` with `ndigits=0` (26) hugovk
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 from `pyproject.toml` (16) mgorny
4.1.0
Added
* Support Python 3.11 (13) hugovk
* Add Arabic language (https://github.com/jmoiron/humanize/pull/256) AYMENJD
* Docs: add dark mode toggle and default to system preference (https://github.com/jmoiron/humanize/pull/255) hugovk
* Documentation improvements (https://github.com/jmoiron/humanize/pull/254) mondeja
Changed
* Update repo links (2) hugovk
Fixed
* Removed `VERSION` from `__all__` (11) SmartManoj
4.0.0
Removed
* Drop support for Python 3.6 (https://github.com/jmoiron/humanize/pull/239) hugovk
* Remove deprecated VERSION, use __version__ instead (https://github.com/jmoiron/humanize/pull/253) hugovk
* Remove `when` from `naturaldelta()` and allow largest `timedelta` (https://github.com/jmoiron/humanize/pull/250) carterbox
* Remove deprecated private function aliases (https://github.com/jmoiron/humanize/pull/241) samueljsb
3.14.0
Changed
* Don't deprecate `time.Unit` enumeration (https://github.com/jmoiron/humanize/pull/252) hugovk
* Use `humanize.intcomma` to format years in `time` module (https://github.com/jmoiron/humanize/pull/246) carterbox
Deprecated
* Deprecate `when` parameter of `naturaldelta` (https://github.com/jmoiron/humanize/pull/248) carterbox
Links
- PyPI: https://pypi.org/project/humanize
- Changelog: https://pyup.io/changelogs/humanize/
- Repo: https://github.com/python-humanize/humanize