Skip to content

Releases: python-humanize/humanize

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

4.2.2

27 Jun 19:11
c692722
Compare
Choose a tag to compare

Fixed

  • Update annotations: naturadelta and naturaltime can also accept a float (#29) @hugovk

4.2.1

23 Jun 15:15
3ddae94
Compare
Choose a tag to compare

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