4baea98722- Update to 4.12.2 * 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
devel
Markéta Machová2025-04-01 12:25:50 +00:00
1bf6a58b7aAccepting request 1254408 from devel:languages:pythonAna Guerrero2025-03-19 21:34:15 +00:00
21419c3656- Update to 4.12.1 * Fix regression in naturalsize for float (#240) @hugovkMatej Cepl2025-03-19 12:50:39 +00:00
2c9f5d3957Accepting request 1246889 from devel:languages:pythonAna Guerrero2025-02-20 15:33:09 +00:00
97a63c0d6cAccepting request 1246731 from home:glaubitz:branches:devel:languages:pythonNico Krapp2025-02-19 08:09:47 +00:00
0cf7c297e7Accepting request 1206572 from devel:languages:pythonAna Guerrero2024-10-09 20:14:09 +00:00
124efe08a1- Update to 4.11.0 * Add natural_list (#110) @akshaybabloo * filesize: support the ronna and quetta prefixes (#142) @bbolli * Update French translations for numbers (#192) @enlivn * 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 * Fix finding location of translations (#204) @dangillet * Fix rollover from ZB to 1.0 YB (#206) @hugovk * Fix zh_CN/zh_HK translation for "1 year, %d days" (#196) @luliangceMatej Cepl2024-10-09 17:21:13 +00:00
7284267152Accepting request 1198713 from devel:languages:pythonAna Guerrero2024-09-05 13:46:51 +00:00
ef7ac1433a- update to 4.10.0: * Remove shebang from filesize.py (#188) * Fix test failures on systems with 32-bit time_t (#177) * Fix handling of negative time deltas (#173) * Fix naturaldelta sub second precision (#169) * Reword the French translation of very small amount of time (#162) * Fix Arabic localization (#160) * metric: Fix precision format (#159)Markéta Machová2024-09-04 12:23:21 +00:00
e8a2b793a9Accepting request 1129221 from devel:languages:pythonAna Guerrero2023-11-27 21:44:57 +00:00
735ff7d531- update to 4.9.0: * Add support for Python 3.13 (#156) @hugovk * Add Norwegian localization (#155) @fdanielsen * Add Hebrew localization (#149) @clsn * Add Klingon translation (#150) @clsn * Replace Flake8 with Ruff (#157) @hugovk * Fix DeprecationWarning: Plural value must be an integer, got float (#147) @dansarpong * Remove useless shebangs (#141) @aueamDirk Mueller2023-11-27 19:02:38 +00:00
d22a04842bAccepting request 1110845 from devel:languages:pythonAna Guerrero2023-09-13 18:45:50 +00:00
c3d392af30- update to 4.8.0: * Add Hungarian localization * Revise Turkish localization * Translate "thousand" to "千" for zh_CN * Move logic to convert aware datetime to naive into function * Docs: fix formatting of return value * Declare support for Python 3.12 * Add Esperanto localization * Support timezone-aware datetimes in naturaltime * Update Bengali translation * Drop support for EOL Python 3.7 * Add missing keys to extract translatable strings * Add default Italian thousand and decimal separator * Add Italian translation for "thousand" and fix singulars * Add Italian translation for "%s and %s" * Add Basque translation * Add latest metric prefixes: ronna, ronto, quetta, quecto * Add pt_BR separators * Replace setup.cfg with pyproject.toml * Filesize simplification * Fix intword for 1,000 decillion * Add localisation for thousand, fixing German plurals * Handle NaN - Switch to %pytest macro. - Update to 2.2.0: - use %find_lang macroDirk Mueller2023-09-13 08:19:20 +00:00
e704decb5b- update to 4.4.0: * Add installation instructions (#56) @hugovk * Internationalise the decimal separator in intcomma() (#53) @Luflosi * Internationalise intcomma for de_DE locale (#49) @Luflosi * 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 * Add Greek translation (#46) @waseigo * Polish: Added thousand, fixed big numbers (#43) @dejurin * Fix intword for negative numbers (#41) @vishket * Update annotations, docs, and tests: naturaltime can also accept a timedelta (#31) @nuztalgia * Update annotations: naturadelta and naturaltime can also accept a float (#29) @hugovk * 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 * Add humanize.metric() for converting big/small numbers to SI units (#22) * Add type hints (#15) @hugovk * Fix scientific() on small positive numbers (#22) @bwoodsend * Remove redundant wheel dependency from pyproject.toml (#16) @mgorny * Support Python 3.11 (#13) @hugovk * Add Arabic language (jmoiron/humanize#256) @AYMENJD * Docs: add dark mode toggle and default to system preference (jmoiron/humanize#255) @hugovk * Documentation improvements (jmoiron/humanize#254) @mondeja * Update repo links (#2) @hugovkDirk Mueller2023-01-04 20:04:44 +00:00
a337e3318b- update to 4.0.0: * Drop support for Python 3.6 * Remove deprecated VERSION, use version instead * Remove when from naturaldelta() and allow largest timedelta * Remove deprecated private function aliasesDirk Mueller2022-10-20 11:38:50 +00:00
116e672fe5- update to 2.6.0: * Deploy docs to Read the Docs (#148) @hugovk * Build API reference docs from docstrings using MKDocs (#147) @hugovk * Function to represent timedeltas without losing precision (precisedelta) (#137) @eldipa * Improve default locale path discovering. (#146) @mondeja * Added Ukrainian language to list in README.md (#141) @tuxlaboreDirk Mueller2020-09-28 11:52:32 +00:00
ca5a2d8252- Update to 2.2.0: * Added + Disambiguate naturaldate return: only append year if more than + ~5 months away (#107) @hugovk + Add scientific notation to string support (#110) @Thx3r @hugovk + Add micro- and millisecond units to naturaldelta and + naturaltime (#104) @hugovk + Add ndigits option to intcomma (#123) @hugovk + Show more than bytes for negative file sizes (#122) @hugovk * Fixed + Fix: AP style for 0 is 'zero' (#121) @hugovk * Changed + Disambiguate naturaldate return: only append year if more than ~5 months away (#107) @hugovk + Convert remaining tests to use pytest.mark.parametrize (#109) @hugovk + Refactor some tests to use pytest.mark.parametrize (#108) @hugovk * Removed + Drop support for EOL Python 2 (#102) @hugovk - Fiddle with BuildRequires, adding new modules that are needed - Switch to pypi source tarball, required for setuptools_scmSteve Kowalik2020-03-31 05:52:58 +00:00