patchman
patchman copied to clipboard
Update humanize to 4.10.0
This PR updates humanize from 3.13.1 to 4.10.0.
Changelog
4.10.0
Changed
* Replace deprecated pydocstyle with Ruff and update to Black 2024 style (170) hugovk
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
* Replace Flake8 with Ruff (157) hugovk
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
Added
* Declare support for Python 3.12 (119) hugovk
* Add Esperanto localization (113) carmiac
* Support timezone-aware datetimes in naturaltime (100) tandav
* Update Bengali translation (99) baseplate-admin
Changed
* Drop support for EOL Python 3.7 (118) hugovk
Fixed
* Remove unused `MANIFEST.in` (120) hugovk
4.6.0
Added
* Add missing keys to extract translatable strings (83) mikelolasagasti
* Add default Italian thousand and decimal separator (98) aborruso
* Add Italian translation for "thousand" and fix singulars (97) aborruso
* Add Italian translation for "%s and %s" (95) hugovk
Changed
* Replace setuptools with hatchling (79) hugovk
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
Added
* Add installation instructions (56) hugovk
* Internationalise the decimal separator in `intcomma()` (53) Luflosi
* Internationalise `intcomma` for de_DE locale (49) Luflosi
Fixed
* Replace short scale with long scale for Polish numbers (54) mjmikulski
* Fix `intcomma()` failing with a string as input when `ndigits` is not `None` (52) Luflosi
* Fix some pylint findings (42) hugovk
* Fix "ValueError: math domain error" for `metric(0)` (47) liukun
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://data.safetycli.com/changelogs/humanize/