pypi / humanize
humanize
What changed in humanize 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-24.
2 breaking1 new APIs and options1 performance5 behavior and defaults12 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inithumanize 421 changes
Breaking changes 2
Experimental Python 3.13 free-threaded support is dropped.
Drops support for Python 3.9.
New APIs and options 1
Adds Uzbek language support.
Performance 1
Performance improvements range from 1.07x to 8.4x.
Behavior and default changes 5
Imports are lazy for Python 3.15 and later.
Advances to the next SI prefix when rounding reaches 1000.
Adds i18n support and a French translation for naturalsize().
Adds locale support for the decimal separator.
Rounds the value to the nearest unit that makes sense.
Fixes and other changes 12
Fixes the Arabic translation.
Stops printing two minus signs for a negative mixed number.
Adds Latvian language localization.
Returns an empty string for an empty list.
Handles timezone-aware datetimes.
Handles timezone-aware datetimes.
Fixes rounding rollover at unit boundaries.
Fixes Spanish large number translations to use long scale.
Replaces a generic
Exceptionwith the more specificFileNotFoundError.Fixes the plural form.
Improves performance.
Adds support for Python 3.15.