|
1 | 1 | # Change Log
|
2 | 2 |
|
| 3 | +## [2.1.0] - 2020-03-07 |
| 4 | + |
| 5 | +### Added |
| 6 | + |
| 7 | +- Added better typing and PEP-561 compliance ([#320](https://github.com/sdispater/pendulum/pull/320)). |
| 8 | +- Added the `is_anniversary()` method as an alias of `is_birthday()` ([#298](https://github.com/sdispater/pendulum/pull/298)). |
| 9 | + |
| 10 | +### Changed |
| 11 | + |
| 12 | +- Dropped support for Python 3.4. |
| 13 | +- `is_utc()` will now return `True` for any datetime with an offset of 0, similar to the behavior in the `1.*` versions ([#295](https://github.com/sdispater/pendulum/pull/295)) |
| 14 | +- `Duration.in_words()` will now return `0 milliseconds` for empty durations. |
| 15 | + |
| 16 | +### Fixed |
| 17 | + |
| 18 | +- Fixed various issues with timezone transitions for some edge cases ([#321](https://github.com/sdispater/pendulum/pull/321), ([#350](https://github.com/sdispater/pendulum/pull/350))). |
| 19 | +- Fixed out of bound detection for `nth_of("month")` ([#357](https://github.com/sdispater/pendulum/pull/357)). |
| 20 | +- Fixed an error where extra text was accepted in `from_format()` ([#372](https://github.com/sdispater/pendulum/pull/372)). |
| 21 | +- Fixed a recursion error when adding time to a `DateTime` with a fixed timezone ([#431](https://github.com/sdispater/pendulum/pull/431)). |
| 22 | +- Fixed errors where `Period` instances were not properly compared to other classes, especially `timedelta` instances ([#427](https://github.com/sdispater/pendulum/pull/427)). |
| 23 | +- Fixed deprecation warnings due to internal regexps ([#427](https://github.com/sdispater/pendulum/pull/427)). |
| 24 | +- Fixed an error where the `test()` helper would not unset the test instance when an exception was raised ([#445](https://github.com/sdispater/pendulum/pull/445)). |
| 25 | +- Fixed an error where the `week_of_month` attribute was not returning the correct value ([#446](https://github.com/sdispater/pendulum/pull/446)). |
| 26 | +- Fixed an error in the way the `Z` ISO-8601 UTC designator was not parsed as UTC ([#448](https://github.com/sdispater/pendulum/pull/448)). |
| 27 | + |
| 28 | +### Locales |
| 29 | + |
| 30 | +- Added the `nl` locale. |
| 31 | +- Added the `it` locale. |
| 32 | +- Added the `id` locale. |
| 33 | +- Added the `nb` locale. |
| 34 | +- Added the `nn` locale. |
| 35 | + |
| 36 | + |
3 | 37 | ## [2.0.5] - 2019-07-03
|
4 | 38 |
|
5 | 39 | ### Fixed
|
|
93 | 127 |
|
94 | 128 |
|
95 | 129 |
|
96 |
| -[Unreleased]: https://github.com/sdispater/pendulum/compare/2.0.5...master |
| 130 | +[Unreleased]: https://github.com/sdispater/pendulum/compare/2.1.0...master |
| 131 | +[2.1.0]: https://github.com/sdispater/pendulum/releases/tag/2.1.0 |
97 | 132 | [2.0.5]: https://github.com/sdispater/pendulum/releases/tag/2.0.5
|
98 | 133 | [2.0.4]: https://github.com/sdispater/pendulum/releases/tag/2.0.4
|
99 | 134 | [2.0.3]: https://github.com/sdispater/pendulum/releases/tag/2.0.3
|
|
0 commit comments