Skip to content

Commit c856ab9

Browse files
systemcatchjadchaar
authored andcommitted
Bump version to 0.15.5 and update CHANGELOG (#750)
* Bump version to 0.15.5 and update CHANGELOG * Small tweaks to CHANGELOG
1 parent 6adb8db commit c856ab9

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

CHANGELOG.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,35 @@
11
Changelog
22
=========
33

4+
0.15.5 (2020-01-03)
5+
-------------------
6+
7+
- [WARN] Python 2 reached EOL on 2020-01-01. arrow will **drop support** for Python 2 in a future release to be decided (see `#739 <https://github.com/crsmithdev/arrow/issues/739>`_).
8+
- [NEW] Added bounds parameter to ``span_range``, ``interval`` and ``span`` methods. This allows you to include or exclude the start and end values.
9+
- [NEW] ``arrow.get()`` can now create arrow objects from a timestamp with a timezone, for example:
10+
11+
.. code-block:: python
12+
13+
>>> arrow.get(1367900664, tzinfo=tz.gettz('US/Pacific'))
14+
<Arrow [2013-05-06T21:24:24-07:00]>
15+
16+
- [NEW] ``humanize`` can now combine multiple levels of granularity, for example:
17+
18+
.. code-block:: python
19+
20+
>>> later140 = arrow.utcnow().shift(seconds=+8400)
21+
>>> later140.humanize(granularity="minute")
22+
'in 139 minutes'
23+
>>> later140.humanize(granularity=["hour", "minute"])
24+
'in 2 hours and 19 minutes'
25+
26+
- [NEW] Added Hong Kong locale (``zh_hk``).
27+
- [NEW] Added ``humanize`` week granularity translation for Dutch.
28+
- [NEW] Numbers are now displayed when using the seconds granularity in ``humanize``.
29+
- [CHANGE] ``range`` now supports both the singular and plural forms of the ``frames`` argument (e.g. day and days).
30+
- [FIX] Improved parsing of strings that contain punctuation.
31+
- [FIX] Improved behaviour of ``humanize`` when singular seconds are involved.
32+
433
0.15.4 (2019-11-02)
534
-------------------
635

arrow/_version.py

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

0 commit comments

Comments
 (0)