unstale

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 init

@unstale/cli 0.2.4 on npm

humanize 421 changes

Breaking changes 2

New APIs and options 1

Performance 1

  • Performance improvements range from 1.07x to 8.4x.

    4.16.0release notes

Behavior and default changes 5

  • Imports are lazy for Python 3.15 and later.

    4.16.0release notes

  • Advances to the next SI prefix when rounding reaches 1000.

    4.16.0release notes

  • Adds i18n support and a French translation for naturalsize().

    4.16.0release notes

  • Adds locale support for the decimal separator.

    4.15.0release notes

  • Rounds the value to the nearest unit that makes sense.

    4.15.0release notes

Fixes and other changes 12