|
1 | 1 | Changelog
|
2 | 2 | =========
|
3 | 3 |
|
| 4 | +1.0.0 (2021-02-24) |
| 5 | +------------------ |
| 6 | + |
| 7 | +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! |
| 8 | + |
| 9 | +- [CHANGE] Arrow has **dropped support** for Python 2.7 and 3.5. |
| 10 | +- [CHANGE] There are multiple **breaking changes** with this release, please see the `migration guide <https://github.com/arrow-py/arrow/issues/832>`_ for a complete overview. |
| 11 | +- [CHANGE] Arrow is now following `semantic versioning <https://semver.org/>`_. |
| 12 | +- [CHANGE] Made ``humanize`` granularity="auto" limits more accurate to reduce strange results. |
| 13 | +- [NEW] Added support for Python 3.9. |
| 14 | +- [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: |
| 15 | + |
| 16 | +..code-block:: python |
| 17 | + >>> start = Arrow(2021, 2, 5, 12, 30) |
| 18 | + >>> end = Arrow(2021, 2, 5, 17, 15) |
| 19 | + >>> for r in arrow.Arrow.span_range('hour', start, end, exact=True): |
| 20 | + ... print(r) |
| 21 | + ... |
| 22 | + (<Arrow [2021-02-05T12:30:00+00:00]>, <Arrow [2021-02-05T13:29:59.999999+00:00]>) |
| 23 | + (<Arrow [2021-02-05T13:30:00+00:00]>, <Arrow [2021-02-05T14:29:59.999999+00:00]>) |
| 24 | + (<Arrow [2021-02-05T14:30:00+00:00]>, <Arrow [2021-02-05T15:29:59.999999+00:00]>) |
| 25 | + (<Arrow [2021-02-05T15:30:00+00:00]>, <Arrow [2021-02-05T16:29:59.999999+00:00]>) |
| 26 | + (<Arrow [2021-02-05T16:30:00+00:00]>, <Arrow [2021-02-05T17:14:59.999999+00:00]>) |
| 27 | + |
| 28 | +- [NEW] Arrow now natively supports PEP 484-style type annotations. |
| 29 | +- [FIX] Fixed handling of maximum permitted timestamp on Windows systems. |
| 30 | +- [FIX] Corrections to French, German, Japanese and Norwegian locales. |
| 31 | +- [INTERNAL] Raise more appropriate errors when string parsing fails to match. |
| 32 | + |
4 | 33 | 0.17.0 (2020-10-2)
|
5 | 34 | -------------------
|
6 | 35 |
|
|
0 commit comments