Bump arrow from 1.2.0 to 1.2.1
Created by: dependabot[bot]
Bumps arrow from 1.2.0 to 1.2.1.
Release notes
Sourced from arrow's releases.
Version 1.2.1
- [NEW] Added quarter granularity to humanize, for example:
>>> 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
humanizenow raises aValueError.Commits since last release
- Fixing plural of years and days in Hebrew by
@guyernestin arrow-py/arrow#1042- add Sinhala locale by
@ChingYi-AXin arrow-py/arrow#1044- Fix pypy CI issues and begin testing against Python 3.10 by
@jadchaarin arrow-py/arrow#1045- add Urdu locale by
@cyriaka90in arrow-py/arrow#1046- Add support for Python 3.10 by
@jadchaarin arrow-py/arrow#1049- Update dependencies for Python 3.10 by
@jadchaarin arrow-py/arrow#1050- Corrections in Serbian locale by
@smarkovicin arrow-py/arrow#1047- Fix typos by
@kianmengin arrow-py/arrow#1051- Declare support for Python 3.10 by
@hugovkin arrow-py/arrow#1053- Issue 985 -- Add Azerbaijani second time frame by
@sania-dsouzain arrow-py/arrow#1052- Add quarter granularity by
@Alig1493in arrow-py/arrow#1048- Added Error Checking For Empty Granularity List by
@anishnyain arrow-py/arrow#1016- Bump version to 1.2.1 and update CHANGELOG by
@jadchaarin arrow-py/arrow#1055New Contributors
@guyernestmade their first contribution in arrow-py/arrow#1042@smarkovicmade their first contribution in arrow-py/arrow#1047@kianmengmade their first contribution in arrow-py/arrow#1051@sania-dsouzamade their first contribution in arrow-py/arrow#1052@Alig1493made their first contribution in arrow-py/arrow#1048Full Diff: https://github.com/arrow-py/arrow/compare/1.2.0...1.2.1
Changelog
Sourced from arrow's changelog.
1.2.1 (2021-10-24)
- [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
humanizenow raises aValueError.
Commits
-
3e50ae4Bump version to 1.2.1 and update CHANGELOG. (#1055) -
cc1cbebAdded Error Checking For Empty Granularity List (#1016) -
f7a3aa3Add quarter granularity (#1048) -
4d1aa4fIssue 985 -- Add Azerbaijani second time frame (#1052) -
2ee879fDeclare support for Python 3.10 (#1053) -
1e69992Fix typos (#1051) -
8151564Corrections in Serbian locale (#1047) -
c35134bUpdate dependencies for Python 3.10 (#1050) -
10e8970Add support for Python 3.10 (#1049) -
4962416add Urdu locale (#1046) - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)