Releases: python-humanize/humanize
Releases · python-humanize/humanize
4.16.0
Sorry, something went wrong.
No results found
Immutable
release. Only release title and notes can be modified.
Added
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
Sorry, something went wrong.
No results found
Added
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
Sorry, something went wrong.
No results found
4.13.0
Sorry, something went wrong.
No results found
Changed
- Optimise naturalsize algorithm by using math.log (#253) @Zaczero
Fixed
4.12.3
Sorry, something went wrong.
No results found
4.12.2
Sorry, something went wrong.
No results found
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
Sorry, something went wrong.
No results found
4.12.0
Sorry, something went wrong.
No results found
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
Sorry, something went wrong.
No results found
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
Sorry, something went wrong.
No results found
Changed
- Replace deprecated pydocstyle with Ruff and update to Black 2024 style (#170) @hugovk
Fixed