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
humanize
now raises aValueError
.Commits since last release
- Fixing plural of years and days in Hebrew by
@guyernest
in arrow-py/arrow#1042- add Sinhala locale by
@ChingYi-AX
in arrow-py/arrow#1044- Fix pypy CI issues and begin testing against Python 3.10 by
@jadchaar
in arrow-py/arrow#1045- add Urdu locale by
@cyriaka90
in arrow-py/arrow#1046- Add support for Python 3.10 by
@jadchaar
in arrow-py/arrow#1049- Update dependencies for Python 3.10 by
@jadchaar
in arrow-py/arrow#1050- Corrections in Serbian locale by
@smarkovic
in arrow-py/arrow#1047- Fix typos by
@kianmeng
in arrow-py/arrow#1051- Declare support for Python 3.10 by
@hugovk
in arrow-py/arrow#1053- Issue 985 -- Add Azerbaijani second time frame by
@sania-dsouza
in arrow-py/arrow#1052- Add quarter granularity by
@Alig1493
in arrow-py/arrow#1048- Added Error Checking For Empty Granularity List by
@anishnya
in arrow-py/arrow#1016- Bump version to 1.2.1 and update CHANGELOG by
@jadchaar
in arrow-py/arrow#1055New Contributors
@guyernest
made their first contribution in arrow-py/arrow#1042@smarkovic
made their first contribution in arrow-py/arrow#1047@kianmeng
made their first contribution in arrow-py/arrow#1051@sania-dsouza
made their first contribution in arrow-py/arrow#1052@Alig1493
made 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
humanize
now raises aValueError
.
Commits
-
3e50ae4
Bump version to 1.2.1 and update CHANGELOG. (#1055) -
cc1cbeb
Added Error Checking For Empty Granularity List (#1016) -
f7a3aa3
Add quarter granularity (#1048) -
4d1aa4f
Issue 985 -- Add Azerbaijani second time frame (#1052) -
2ee879f
Declare support for Python 3.10 (#1053) -
1e69992
Fix typos (#1051) -
8151564
Corrections in Serbian locale (#1047) -
c35134b
Update dependencies for Python 3.10 (#1050) -
10e8970
Add support for Python 3.10 (#1049) -
4962416
add 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)