Skip to content

Commit 23800a8

Browse files
authored
Bump version to 1.0.1 and update CHANGELOG (#927)
* Bump version and updated CHANGELOG * Fix changelog RST * Add type hints to features.
1 parent 7bc6784 commit 23800a8

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

CHANGELOG.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
Changelog
22
=========
33

4-
1.0.0 (2021-02-24)
4+
1.0.1 (2021-02-27)
5+
------------------
6+
7+
- [FIXED] A ``py.typed`` file is now bundled with the Arrow package to conform to PEP 561.
8+
9+
1.0.0 (2021-02-26)
510
------------------
611

712
After 8 years we're pleased to announce Arrow v1.0. Thanks to the entire Python community for helping make Arrow the amazing package it is today!
@@ -13,7 +18,8 @@ After 8 years we're pleased to announce Arrow v1.0. Thanks to the entire Python
1318
- [NEW] Added support for Python 3.9.
1419
- [NEW] Added a new keyword argument "exact" to ``span``, ``span_range`` and ``interval`` methods. This makes timespans begin at the start time given and not extend beyond the end time given, for example:
1520

16-
..code-block:: python
21+
.. code-block:: python
22+
1723
>>> start = Arrow(2021, 2, 5, 12, 30)
1824
>>> end = Arrow(2021, 2, 5, 17, 15)
1925
>>> for r in arrow.Arrow.span_range('hour', start, end, exact=True):
@@ -36,12 +42,14 @@ After 8 years we're pleased to announce Arrow v1.0. Thanks to the entire Python
3642
- [WARN] Arrow will **drop support** for Python 2.7 and 3.5 in the upcoming 1.0.0 release. This is the last major release to support Python 2.7 and Python 3.5.
3743
- [NEW] Arrow now properly handles imaginary datetimes during DST shifts. For example:
3844

39-
..code-block:: python
45+
.. code-block:: python
46+
4047
>>> just_before = arrow.get(2013, 3, 31, 1, 55, tzinfo="Europe/Paris")
4148
>>> just_before.shift(minutes=+10)
4249
<Arrow [2013-03-31T03:05:00+02:00]>
4350
44-
..code-block:: python
51+
.. code-block:: python
52+
4553
>>> before = arrow.get("2018-03-10 23:00:00", "YYYY-MM-DD HH:mm:ss", tzinfo="US/Pacific")
4654
>>> after = arrow.get("2018-03-11 04:00:00", "YYYY-MM-DD HH:mm:ss", tzinfo="US/Pacific")
4755
>>> result=[(t, t.to("utc")) for t in arrow.Arrow.range("hour", before, after)]

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Features
5858
- Generates time spans, ranges, floors and ceilings for time frames ranging from microsecond to year
5959
- Humanize dates and times with a growing list of contributed locales
6060
- Extensible for your own Arrow-derived types
61+
- Full support for PEP 484-style type hints
6162

6263
Quick Start
6364
-----------

arrow/_version.py

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

0 commit comments

Comments
 (0)