Skip to content

Update dependency arrow to v1.2.2 (develop)

RenovateBot requested to merge renovate/develop-arrow-1.x into develop

This MR contains the following updates:

Package Type Update Change
arrow (source) dependencies minor ==1.1.1 -> ==1.2.2

Release Notes

arrow-py/arrow

v1.2.2

Compare Source

  • [NEW] Added Kazakh locale.
  • [FIX] The Belarusian, Bulgarian, Czech, Macedonian, Polish, Russian, Slovak and Ukrainian locales now support dehumanize.
  • [FIX] Minor bug fixes and improvements to ChineseCN, Indonesian, Norwegian, and Russian locales.
  • [FIX] Expanded testing for multiple locales.
  • [INTERNAL] Started using xelatex for pdf generation in documentation.
  • [INTERNAL] Split requirements file into requirements.txt, requirements-docs.txt and requirements-tests.txt.
  • [INTERNAL] Added flake8-annotations package for type linting in pre-commit.

v1.2.1

Compare Source

  • [NEW] Added quarter granularity to humanize, for example:

.. code-block:: python

>>> import arrow
>>> now = arrow.now()
>>> four_month_shift = now.shift(months=4)
>>> now.humanize(four_month_shift, granularity="quarter")
'a quarter ago'
>>> four_month_shift.humanize(now, granularity="quarter")
'in a quarter'
>>> thirteen_month_shift = now.shift(months=13)
>>> thirteen_month_shift.humanize(now, granularity="quarter")
'in 4 quarters'
>>> now.humanize(thirteen_month_shift, granularity="quarter")
'4 quarters ago'
  • [NEW] Added Sinhala and Urdu locales.
  • [NEW] Added official support for Python 3.10.
  • [CHANGED] Updated Azerbaijani, Hebrew, and Serbian locales and added tests.
  • [CHANGED] Passing an empty granularity list to humanize now raises a ValueError.

v1.2.0

Compare Source

  • [NEW] Added Albanian, Tamil and Zulu locales.
  • [NEW] Added support for Decimal as input to arrow.get().
  • [FIX] The Estonian, Finnish, Nepali and Zulu locales now support dehumanize.
  • [FIX] Improved validation checks when using parser tokens A and hh.
  • [FIX] Minor bug fixes to Catalan, Cantonese, Greek and Nepali locales.

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Merge request reports