Skip to content

Releases: python-humanize/humanize

4.16.0

Choose a tag to compare

@github-actions github-actions released this 30 Jun 16:16
Immutable release. Only release title and notes can be modified.
3c577d7

Added

  • Add Latvian language localization (#301) @EPoikans
  • Add i18n support for naturalsize() and French translation (#294) @Yibomao

Changed

Fixed

  • Fix naturalsize() rounding rollover at unit boundaries (#329) @patchwright
  • Carry metric() to the next SI prefix when rounding reaches 1000 (#328) @gaoflow
  • Stop printing two minus signs in fractional for a negative mixed number (#320) @c-tonneslan
  • Return an empty string from natural_list() for an empty list (#318) @c-tonneslan
  • Handle tz-aware datetimes in naturalday() and naturaldate() (#297) @bysiber
  • Fix Arabic translation (#307) @AYMENJD
  • Fix Spanish large number translations to use long scale (#302) @sedat4ras

4.15.0

Choose a tag to compare

@github-actions github-actions released this 20 Dec 20:15
2ddb590

Added

  • Add locale support for decimal separator in intword (#287) @hugovk
  • Add support for Python 3.15 (#275) @hugovk

Changed

Fixed

  • naturaldelta: round the value to nearest unit that makes sense (#272) @dangillet
  • Fix plural form for intword and improve performance (#273) @dangillet
  • Replace Exception with more specific FileNotFoundError (#286) @hugovk

4.14.0

Choose a tag to compare

@github-actions github-actions released this 15 Oct 13:02
fedf432

Added

Changed

4.13.0

Choose a tag to compare

@github-actions github-actions released this 25 Aug 09:38
0e02705

Changed

  • Optimise naturalsize algorithm by using math.log (#253) @Zaczero

Fixed

4.12.3

Choose a tag to compare

@github-actions github-actions released this 30 Apr 11:49
2968d44

Fixed

4.12.2

Choose a tag to compare

@github-actions github-actions released this 24 Mar 17:11
15230fb

Fixed

  • Update license file reference from LICENSE to LICENCE in pyproject.toml (#243) @williamjamir
  • Update docstring in naturaldelta (#242) @teobucci
  • Ignore sys.monitoring warning for Python 3.11 and earlier in coverage.py config (#244) @hugovk

4.12.1

Choose a tag to compare

@github-actions github-actions released this 18 Feb 17:06
c11c08a

Fixed

  • Fix regression in naturalsize for float (#240) @hugovk

4.12.0

Choose a tag to compare

@github-actions github-actions released this 14 Feb 14:57
a0602c7

Added

Changed

  • Defer imports for faster overall import time: 19 ms -> 3 ms (#234, #238) @hugovk
  • Replace deprecated classifier with licence expression (PEP 639) (#236) @hugovk
  • Lint and test with tox-uv (#212) @hugovk

Fixed

4.11.0

Choose a tag to compare

@github-actions github-actions released this 05 Oct 14:29
073a00b

Added

Changed

  • Drop support for Python 3.8 (#202) @hugovk
  • Defer fractions.Fraction import to save 5ms (#201) @hugovk
  • Speedup x 1.85: Generate __version__ at build to avoid slow importlib.metadata import (#200) @hugovk

Fixed

4.10.0

Choose a tag to compare

@github-actions github-actions released this 08 Jul 10:32
2a141c7

Changed

  • Replace deprecated pydocstyle with Ruff and update to Black 2024 style (#170) @hugovk

Fixed