Skip to content

Commit fb83f68

Browse files
authored
Bump version to 0.16.0 and update CHANGELOG (arrow-py#843)
* Bump version and updated CHANGELOG * Tweak wording.
1 parent 185a1a0 commit fb83f68

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

CHANGELOG.rst

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,38 @@
11
Changelog
22
=========
33

4+
0.16.0 (2020-08-23)
5+
-------------------
6+
7+
- [WARN] Arrow will **drop support** for Python 2.7 and 3.5 in the 1.0.0 release in late September. The 0.16.x and 0.17.x releases are the last to support Python 2.7 and 3.5.
8+
- [NEW] Implemented `PEP 495 <https://www.python.org/dev/peps/pep-0495/>`_ to handle ambiguous datetimes. This is achieved by the addition of the ``fold`` attribute for Arrow objects. For example:
9+
10+
.. code-block:: python
11+
12+
>>> before = Arrow(2017, 10, 29, 2, 0, tzinfo='Europe/Stockholm')
13+
<Arrow [2017-10-29T02:00:00+02:00]>
14+
>>> before.fold
15+
0
16+
>>> before.ambiguous
17+
True
18+
>>> after = Arrow(2017, 10, 29, 2, 0, tzinfo='Europe/Stockholm', fold=1)
19+
<Arrow [2017-10-29T02:00:00+01:00]>
20+
>>> after = before.replace(fold=1)
21+
<Arrow [2017-10-29T02:00:00+01:00]>
22+
23+
- [NEW] Added ``normalize_whitespace`` flag to ``arrow.get``. This is useful for parsing log files and/or any files that may contain inconsistent spacing. For example:
24+
25+
.. code-block:: python
26+
27+
>>> arrow.get("Jun 1 2005 1:33PM", "MMM D YYYY H:mmA", normalize_whitespace=True)
28+
<Arrow [2005-06-01T13:33:00+00:00]>
29+
>>> arrow.get("2013-036 \t 04:05:06Z", normalize_whitespace=True)
30+
<Arrow [2013-02-05T04:05:06+00:00]>
31+
432
0.15.8 (2020-07-23)
533
-------------------
634

7-
- [WARN] arrow will **drop support** for Python 2.7 and 3.5 in the 1.0.0 release in late September. The 0.15.x and 0.16.x releases are the last to support Python 2.7 and 3.5.
35+
- [WARN] Arrow will **drop support** for Python 2.7 and 3.5 in the 1.0.0 release in late September. The 0.15.x, 0.16.x, and 0.17.x releases are the last to support Python 2.7 and 3.5.
836
- [NEW] Added ``humanize`` week granularity translation for Czech.
937
- [FIX] ``arrow.get`` will now pick sane defaults when weekdays are passed with particular token combinations, see `#446 <https://github.com/arrow-py/arrow/issues/446>`_.
1038
- [INTERNAL] Moved arrow to an organization. The repo can now be found `here <https://github.com/arrow-py/arrow>`_.

arrow/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.15.8"
1+
__version__ = "0.16.0"

0 commit comments

Comments
 (0)