All Versions
58
Latest Version
Avg Release Cycle
46 days
Latest Release
225 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v0.15.0 Changes
September 08, 2019- ๐ [NEW] Added support for DDD and DDDD ordinal date tokens. The following functionality is now possible:
arrow.get("1998-045")
,arrow.get("1998-45", "YYYY-DDD")
,arrow.get("1998-045", "YYYY-DDDD")
. - ๐ [NEW] ISO 8601 basic format for dates and times is now supported (e.g.
YYYYMMDDTHHmmssZ
). - ๐ [NEW] Added
humanize
week granularity translations for French, Russian and Swiss German locales. - [CHANGE] Timestamps of type
str
are no longer supported without a format string in thearrow.get()
method. This change was made to support the ISO 8601 basic format and to address bugs such as#447 <https://github.com/crsmithdev/arrow/issues/447>
_.
The following will NOT work in v0.15.0:
.. code-block:: python
>>> arrow.get("1565358758") >>> arrow.get("1565358758.123413")
The following will work in v0.15.0:
.. code-block:: python
>>> arrow.get("1565358758", "X") >>> arrow.get("1565358758.123413", "X") >>> arrow.get(1565358758) >>> arrow.get(1565358758.123413)
- ๐ [CHANGE] When a meridian token (a|A) is passed and no meridians are available for the specified locale (e.g. unsupported or untranslated) a
ParserError
is raised. - [CHANGE] The timestamp token (
X
) will now match float timestamps of typestr
:arrow.get(โ1565358758.123415โ, โXโ)
. - ๐ [CHANGE] Strings with leading and/or trailing whitespace will no longer be parsed without a format string. Please see
the docs <https://arrow.readthedocs.io/en/latest/#regular-expressions>
_ for ways to handle this. - [FIX] The timestamp token (
X
) will now only match on strings that strictly contain integers and floats, preventing incorrect matches. - [FIX] Most instances of
arrow.get()
returning an incorrectArrow
object from a partial parsing match have been eliminated. The following issue have been addressed:#91 <https://github.com/crsmithdev/arrow/issues/91>
,#196 <https://github.com/crsmithdev/arrow/issues/196>
,#396 <https://github.com/crsmithdev/arrow/issues/396>
,#434 <https://github.com/crsmithdev/arrow/issues/434>
,#447 <https://github.com/crsmithdev/arrow/issues/447>
,#456 <https://github.com/crsmithdev/arrow/issues/456>
,#519 <https://github.com/crsmithdev/arrow/issues/519>
,#538 <https://github.com/crsmithdev/arrow/issues/538>
,#560 <https://github.com/crsmithdev/arrow/issues/560>
_.
- ๐ [NEW] Added support for DDD and DDDD ordinal date tokens. The following functionality is now possible:
-
v0.14.7 Changes
September 04, 2019- โ [CHANGE]
ArrowParseWarning
will no longer be printed on every call toarrow.get()
with a datetime string. The purpose of the warning was to start a conversation about the upcoming 0.15.0 changes and we appreciate all the feedback that the community has given us!
- โ [CHANGE]
-
v0.14.6 Changes
August 27, 2019- ๐ [NEW] Added support for
week
granularity inArrow.humanize()
. For example,arrow.utcnow().shift(weeks=-1).humanize(granularity="week")
outputs "a week ago". This change introduced two new untranslated words,week
andweeks
, to all locale dictionaries, so locale contributions are welcome! - [NEW] Fully translated the Brazilian Portuguese locale.
- โก๏ธ [CHANGE] Updated the Macedonian locale to inherit from a Slavic base.
- ๐ [FIX] Fixed a bug that caused
arrow.get()
to ignore tzinfo arguments of type string (e.g.arrow.get(tzinfo="Europe/Paris")
). - ๐ [FIX] Fixed a bug that occurred when
arrow.Arrow()
was instantiated with apytz
tzinfo object. - ๐ [FIX] Fixed a bug that caused Arrow to fail when passed a sub-second token, that when rounded, had a value greater than 999999 (e.g.
arrow.get("2015-01-12T01:13:15.9999995")
). Arrow should now accurately propagate the rounding for large sub-second tokens.
- ๐ [NEW] Added support for
-
v0.14.5 Changes
August 09, 2019- [NEW] Added Afrikaans locale.
- ๐ [CHANGE] Removed deprecated
replace
shift functionality. Users looking to pass plural properties to thereplace
function to shift values should useshift
instead. - ๐ [FIX] Fixed bug that occurred when
factory.get()
was passed a locale kwarg.
-
v0.14.4 Changes
July 30, 2019- ๐ [FIX] Fixed a regression in 0.14.3 that prevented a tzinfo argument of type string to be passed to the
get()
function. Functionality such asarrow.get("2019072807", "YYYYMMDDHH", tzinfo="UTC")
should work as normal again. - [CHANGE] Moved
backports.functools_lru_cache
dependency fromextra_requires
toinstall_requires
forPython 2.7
installs to fix#495 <https://github.com/crsmithdev/arrow/issues/495>
_.
- ๐ [FIX] Fixed a regression in 0.14.3 that prevented a tzinfo argument of type string to be passed to the
-
v0.14.3 Changes
July 28, 2019- ๐ [NEW] Added full support for Python 3.8.
- ๐ [CHANGE] Added warnings for upcoming factory.get() parsing changes in 0.15.0. Please see issue #612 for full details.
- ๐ [FIX] Extensive refactor and update of documentation.
- [FIX] factory.get() can now construct from kwargs.
- [FIX] Added meridians to Spanish Locale.
-
v0.14.2 Changes
June 06, 2019- ๐ Make Travis CI builds use tox to lint and run tests.
- ๐ Fix UnicodeDecodeError on certain locales (#600).
-
v0.14.1 Changes
June 06, 2019- ๐ Fix "ImportError: No module named 'dateutil'" (#598).
-
v0.14.0 Changes
June 06, 2019- ๐ [NEW] Added provisional support for Python 3.8.
- ๐ [CHANGE] Removed support for EOL Python 3.4.
- โก๏ธ [FIX] Updated setup.py with modern Python standards.
- โฌ๏ธ [FIX] Upgraded dependencies to latest versions.
- ๐ [FIX] Enabled flake8 and black on travis builds.
- [FIX] Formatted code using black and isort.
-
v0.13.2 Changes
May 30, 2019- [NEW] Add is_between method.
- [FIX] Improved humanize behaviour for near zero durations (#416).
- [FIX] Correct humanize behaviour with future days (#541).
- ๐ [FIX] Documentation updates.
- [FIX] Improvements to German Locale.