Skip to content

Releases: python-humanize/humanize

4.11.0

05 Oct 14:29
073a00b
Compare
Choose a tag to compare

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

08 Jul 10:32
2a141c7
Compare
Choose a tag to compare

Changed

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

Fixed

4.9.0

21 Nov 19:54
35e2d21
Compare
Choose a tag to compare

Added

Changed

Fixed

  • Fix DeprecationWarning: Plural value must be an integer, got float (#147) @dansarpong
  • Remove useless shebangs (#141) @aueam

4.8.0

16 Aug 18:05
ee08216
Compare
Choose a tag to compare

Added

Changed

Fixed

4.7.0

27 Jun 19:10
fb3322a
Compare
Choose a tag to compare

Added

Changed

Fixed

4.6.0

04 Feb 15:09
a759dd9
Compare
Choose a tag to compare

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

4.5.0

29 Jan 14:12
4304f46
Compare
Choose a tag to compare

Added

Changed

  • Replace setup.cfg with pyproject.toml (#90) @hugovk
  • Filesize simplification (#76) @bbolli
  • Cosmetic: improve exception traceback readability (#80) @hugovk

Fixed

4.4.0

21 Sep 15:23
5553ff5
Compare
Choose a tag to compare

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

05 Aug 21:35
dab62bf
Compare
Choose a tag to compare

Added

Fixed

4.2.3

30 Jun 08:41
bc23540
Compare
Choose a tag to compare

Fixed

  • Update annotations, docs, and tests: naturaltime can also accept a timedelta (#31) @nuztalgia