Releases: python-humanize/humanize
Releases · python-humanize/humanize
2.1.0
Added
- Add
ndigits
option tointcomma
(jmoiron/humanize#123) @hugovk - Show more than bytes for negative file sizes (jmoiron/humanize#122) @hugovk
Fixed
- Fix: AP style for 0 is zero (jmoiron/humanize#121) @hugovk
2.0.0
Note: Humanize 1.1.0 was meant to be tagged 2.0.0 because it drops support for Python 2, so is also released as 2.0.0. If you still support Python 2, use Humanize 1.0.0.
Added
- Disambiguate naturaldate return: only append year if more than ~5 months away (jmoiron/humanize#107) @hugovk
- Add scientific notation to string support (jmoiron/humanize#110) @Thx3r @hugovk
- Add micro- and millisecond units to naturaldelta and naturaltime (jmoiron/humanize#104) @hugovk
Changed
- Disambiguate naturaldate return: only append year if more than ~5 months away (jmoiron/humanize#107) @hugovk
- Convert remaining tests to use pytest.mark.parametrize (jmoiron/humanize#109) @hugovk
- Refactor some tests to use pytest.mark.parametrize (jmoiron/humanize#108) @hugovk
Removed
- Drop support for EOL Python 2 (jmoiron/humanize#102) @hugovk
Fixed
- Fix intword returning 1000.0 million instead of 1.0 billion (jmoiron/humanize#113) @Jasarin-V @hugovk
1.1.0
Note: This was meant to be tagged 2.0.0 because it drops support for Python 2, and is also released as 2.0.0. If you still support Python 2, use Humanize 1.0.0.
Added
- Disambiguate naturaldate return: only append year if more than ~5 months away (jmoiron/humanize#107) @hugovk
- Add scientific notation to string support (jmoiron/humanize#110) @Thx3r @hugovk
- Add micro- and millisecond units to naturaldelta and naturaltime (jmoiron/humanize#104) @hugovk
Changed
- Disambiguate naturaldate return: only append year if more than ~5 months away (jmoiron/humanize#107) @hugovk
- Convert remaining tests to use pytest.mark.parametrize (jmoiron/humanize#109) @hugovk
- Refactor some tests to use pytest.mark.parametrize (jmoiron/humanize#108) @hugovk
Removed
- Drop support for EOL Python 2 (jmoiron/humanize#102) @hugovk
Fixed
- Fix intword returning 1000.0 million instead of 1.0 billion (jmoiron/humanize#113) @Jasarin-V @hugovk
Release 1.0.0
- Supports Python 2.7 and 3.5+
- Version 1.x is the last to support EOL Python 2.7
- Add new translations:
- German
- Persian
- Dutch
- Finnish
- Brazilian Portuguese
- Indonesian
- Italian
- Japanese
- Simplified Chinese
- Slovak
- Turkish
- Vietnamese
- Update translations:
- French
- Korean
- Russian
- Include tests in release source tarball
- Python 3.6 invalid escape sequence deprecation fixes
- Use built-in mock from unittest when available (Python 3.4+)