|
1 | 1 | # Change Log
|
2 | 2 |
|
| 3 | +## [3.1.0] - 2025-04-19 |
| 4 | + |
| 5 | +### Added |
| 6 | +- Added support for Python 3.13 [#871](https://github.com/python-pendulum/pendulum/pull/871) |
| 7 | + |
| 8 | +### Changed |
| 9 | +- Removed support for Python 3.8 [#863](https://github.com/python-pendulum/pendulum/pull/863) |
| 10 | +- Fixed pure Python wheels support [#889](https://github.com/python-pendulum/pendulum/pull/889) |
| 11 | +- Fixed `pendulum.tz.timezones()` to use system tzdata [#801](https://github.com/python-pendulum/pendulum/pull/801) |
| 12 | +- Fixed spelling of Kyiv [#885](https://github.com/python-pendulum/pendulum/pull/885) |
| 13 | +- Fixed `DeprecationWarning` from `utcfromtimestamp` [#887](https://github.com/python-pendulum/pendulum/pull/887) |
| 14 | +- Fixed parsing of invalid intervals [#843](https://github.com/python-pendulum/pendulum/pull/843) |
| 15 | + |
| 16 | +### Locales |
| 17 | +- Added UA (Ukraine) locale [#793](https://github.com/python-pendulum/pendulum/pull/793) |
| 18 | +- Added BG (Bulgarian) locale [#812](https://github.com/python-pendulum/pendulum/pull/812) |
| 19 | +- Fixed KO (Korean) translations for `before` and `after` [#858](https://github.com/python-pendulum/pendulum/pull/858) |
| 20 | + |
| 21 | + |
3 | 22 | ## [3.0.0] - 2023-12-16
|
4 | 23 |
|
5 | 24 | ### Changed
|
6 | 25 |
|
7 |
| -- Relaxed dependency constraints. [#760](https://github.com/sdispater/pendulum/pull/760) |
8 |
| -- The testing helpers are now optional and must be opted-in via the `test` extra. [#778](https://github.com/sdispater/pendulum/pull/778) |
| 26 | +- Relaxed dependency constraints. [#760](https://github.com/python-pendulum/pendulum/pull/760) |
| 27 | +- The testing helpers are now optional and must be opted-in via the `test` extra. [#778](https://github.com/python-pendulum/pendulum/pull/778) |
9 | 28 |
|
10 | 29 | ### Fixed
|
11 | 30 |
|
12 |
| -- Removed remaining mentions of periods instead of intervals. [#757](https://github.com/sdispater/pendulum/pull/757) |
13 |
| -- Fixed the behavior of the `week_of_month` property for edge cases in January and December. [#774](https://github.com/sdispater/pendulum/pull/774) |
14 |
| -- Fixed the handling of the `fold` attribute when deep-copying a `DateTime` instance. [#776](https://github.com/sdispater/pendulum/pull/776) |
15 |
| -- Fixed errors where hours and days were not handled properly when adding durations. [#775](https://github.com/sdispater/pendulum/pull/775) |
16 |
| -- Fixed errors where hours and days were not handled properly when adding durations. [#775](https://github.com/sdispater/pendulum/pull/775) |
| 31 | +- Removed remaining mentions of periods instead of intervals. [#757](https://github.com/python-pendulum/pendulum/pull/757) |
| 32 | +- Fixed the behavior of the `week_of_month` property for edge cases in January and December. [#774](https://github.com/python-pendulum/pendulum/pull/774) |
| 33 | +- Fixed the handling of the `fold` attribute when deep-copying a `DateTime` instance. [#776](https://github.com/python-pendulum/pendulum/pull/776) |
| 34 | +- Fixed errors where hours and days were not handled properly when adding durations. [#775](https://github.com/python-pendulum/pendulum/pull/775) |
| 35 | +- Fixed errors where hours and days were not handled properly when adding durations. [#775](https://github.com/python-pendulum/pendulum/pull/775) |
17 | 36 |
|
18 | 37 |
|
19 | 38 | ## [3.0.0b1] - 2023-10-01
|
20 | 39 |
|
21 | 40 | ### Added
|
22 | 41 |
|
23 |
| -- Made `instance()` support all native types (date, time, datetime). [#732](https://github.com/sdispater/pendulum/pull/732) |
| 42 | +- Made `instance()` support all native types (date, time, datetime). [#732](https://github.com/python-pendulum/pendulum/pull/732) |
24 | 43 |
|
25 | 44 | ### Changed
|
26 | 45 |
|
27 |
| -- Dropped support for Python 3.7. [#734](https://github.com/sdispater/pendulum/pull/734) |
28 |
| -- Rewrote extensions in Rust. [#721](https://github.com/sdispater/pendulum/pull/721) |
29 |
| -- Made day of week convention more consistent across the codebase. [#731](https://github.com/sdispater/pendulum/pull/731) |
| 46 | +- Dropped support for Python 3.7. [#734](https://github.com/python-pendulum/pendulum/pull/734) |
| 47 | +- Rewrote extensions in Rust. [#721](https://github.com/python-pendulum/pendulum/pull/721) |
| 48 | +- Made day of week convention more consistent across the codebase. [#731](https://github.com/python-pendulum/pendulum/pull/731) |
30 | 49 |
|
31 | 50 | ### Fixed
|
32 | 51 |
|
33 |
| -- Fixed datetime string representation to match the native library. [#733](https://github.com/sdispater/pendulum/pull/733) |
34 |
| -- Fixed issues on some system when retrieving the local timezone. [#733](https://github.com/sdispater/pendulum/pull/733) |
35 |
| -- Fixed DST handling in `start_of()/end_of()` methods. [#713](https://github.com/sdispater/pendulum/pull/713) |
| 52 | +- Fixed datetime string representation to match the native library. [#733](https://github.com/python-pendulum/pendulum/pull/733) |
| 53 | +- Fixed issues on some system when retrieving the local timezone. [#733](https://github.com/python-pendulum/pendulum/pull/733) |
| 54 | +- Fixed DST handling in `start_of()/end_of()` methods. [#713](https://github.com/python-pendulum/pendulum/pull/713) |
36 | 55 |
|
37 | 56 |
|
38 | 57 | ## [3.0.0a1] - 2022-11-23
|
39 | 58 |
|
40 | 59 | ### Added
|
41 | 60 |
|
42 |
| -- Added new testing helpers to time travel. [#626](https://github.com/sdispater/pendulum/pull/626) |
| 61 | +- Added new testing helpers to time travel. [#626](https://github.com/python-pendulum/pendulum/pull/626) |
43 | 62 |
|
44 | 63 | ### Changed
|
45 | 64 |
|
46 |
| -- Dropped support for Python 2.7, 3.5 and 3.6. [#569](https://github.com/sdispater/pendulum/pull/569) |
47 |
| -- The `Timezone` class now relies on the native `zoneinfo.ZoneInfo` class. [#569](https://github.com/sdispater/pendulum/pull/569) |
48 |
| -- Renamed the `Period` class to `Interval`. [#676](https://github.com/sdispater/pendulum/pull/676) |
49 |
| -- Renamed the `period` helper to `interval`. [#676](https://github.com/sdispater/pendulum/pull/676) |
50 |
| -- Removed existing testing helpers: `test()` and `set_test_now()`. [#626](https://github.com/sdispater/pendulum/pull/626) |
| 65 | +- Dropped support for Python 2.7, 3.5 and 3.6. [#569](https://github.com/python-pendulum/pendulum/pull/569) |
| 66 | +- The `Timezone` class now relies on the native `zoneinfo.ZoneInfo` class. [#569](https://github.com/python-pendulum/pendulum/pull/569) |
| 67 | +- Renamed the `Period` class to `Interval`. [#676](https://github.com/python-pendulum/pendulum/pull/676) |
| 68 | +- Renamed the `period` helper to `interval`. [#676](https://github.com/python-pendulum/pendulum/pull/676) |
| 69 | +- Removed existing testing helpers: `test()` and `set_test_now()`. [#626](https://github.com/python-pendulum/pendulum/pull/626) |
51 | 70 |
|
52 | 71 | ### Locales
|
53 | 72 |
|
54 |
| -- Added the `sk` locale. [#575](https://github.com/sdispater/pendulum/pull/575) |
55 |
| -- Added the `ja` locale. [#610](https://github.com/sdispater/pendulum/pull/610) |
56 |
| -- Added the `he` locale. [#585](https://github.com/sdispater/pendulum/pull/585) |
57 |
| -- Added the `sv` locale. [#562](https://github.com/sdispater/pendulum/pull/562) |
| 73 | +- Added the `sk` locale. [#575](https://github.com/python-pendulum/pendulum/pull/575) |
| 74 | +- Added the `ja` locale. [#610](https://github.com/python-pendulum/pendulum/pull/610) |
| 75 | +- Added the `he` locale. [#585](https://github.com/python-pendulum/pendulum/pull/585) |
| 76 | +- Added the `sv` locale. [#562](https://github.com/python-pendulum/pendulum/pull/562) |
58 | 77 |
|
59 | 78 |
|
60 | 79 | ## [2.1.1] - 2020-07-13
|
61 | 80 |
|
62 | 81 | ### Fixed
|
63 | 82 |
|
64 |
| -- Fixed errors where invalid timezones were matched in `from_format()` ([#374](https://github.com/sdispater/pendulum/pull/374)). |
65 |
| -- Fixed errors when subtracting negative timedeltas ([#419](https://github.com/sdispater/pendulum/pull/419)). |
66 |
| -- Fixed errors in total units computation for durations with years and months ([#482](https://github.com/sdispater/pendulum/pull/482)). |
67 |
| -- Fixed an error where the `fold` attribute was overridden when using `replace()` ([#414](https://github.com/sdispater/pendulum/pull/414)). |
68 |
| -- Fixed an error where `now()` was not returning the correct result on DST transitions ([#483](https://github.com/sdispater/pendulum/pull/483)). |
69 |
| -- Fixed inconsistent typing annotation for the `parse()` function ([#452](https://github.com/sdispater/pendulum/pull/452)). |
| 83 | +- Fixed errors where invalid timezones were matched in `from_format()` ([#374](https://github.com/python-pendulum/pendulum/pull/374)). |
| 84 | +- Fixed errors when subtracting negative timedeltas ([#419](https://github.com/python-pendulum/pendulum/pull/419)). |
| 85 | +- Fixed errors in total units computation for durations with years and months ([#482](https://github.com/python-pendulum/pendulum/pull/482)). |
| 86 | +- Fixed an error where the `fold` attribute was overridden when using `replace()` ([#414](https://github.com/python-pendulum/pendulum/pull/414)). |
| 87 | +- Fixed an error where `now()` was not returning the correct result on DST transitions ([#483](https://github.com/python-pendulum/pendulum/pull/483)). |
| 88 | +- Fixed inconsistent typing annotation for the `parse()` function ([#452](https://github.com/python-pendulum/pendulum/pull/452)). |
70 | 89 |
|
71 | 90 | ### Locales
|
72 | 91 |
|
73 |
| -- Added the `pl` locale ([#459](https://github.com/sdispater/pendulum/pull/459)). |
| 92 | +- Added the `pl` locale ([#459](https://github.com/python-pendulum/pendulum/pull/459)). |
74 | 93 |
|
75 | 94 |
|
76 | 95 | ## [2.1.0] - 2020-03-07
|
77 | 96 |
|
78 | 97 | ### Added
|
79 | 98 |
|
80 |
| -- Added better typing and PEP-561 compliance ([#320](https://github.com/sdispater/pendulum/pull/320)). |
81 |
| -- Added the `is_anniversary()` method as an alias of `is_birthday()` ([#298](https://github.com/sdispater/pendulum/pull/298)). |
| 99 | +- Added better typing and PEP-561 compliance ([#320](https://github.com/python-pendulum/pendulum/pull/320)). |
| 100 | +- Added the `is_anniversary()` method as an alias of `is_birthday()` ([#298](https://github.com/python-pendulum/pendulum/pull/298)). |
82 | 101 |
|
83 | 102 | ### Changed
|
84 | 103 |
|
85 | 104 | - Dropped support for Python 3.4.
|
86 |
| -- `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)) |
| 105 | +- `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/python-pendulum/pendulum/pull/295)) |
87 | 106 | - `Duration.in_words()` will now return `0 milliseconds` for empty durations.
|
88 | 107 |
|
89 | 108 | ### Fixed
|
90 | 109 |
|
91 |
| -- 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))). |
92 |
| -- Fixed out of bound detection for `nth_of("month")` ([#357](https://github.com/sdispater/pendulum/pull/357)). |
93 |
| -- Fixed an error where extra text was accepted in `from_format()` ([#372](https://github.com/sdispater/pendulum/pull/372)). |
94 |
| -- Fixed a recursion error when adding time to a `DateTime` with a fixed timezone ([#431](https://github.com/sdispater/pendulum/pull/431)). |
95 |
| -- Fixed errors where `Period` instances were not properly compared to other classes, especially `timedelta` instances ([#427](https://github.com/sdispater/pendulum/pull/427)). |
96 |
| -- Fixed deprecation warnings due to internal regexps ([#427](https://github.com/sdispater/pendulum/pull/427)). |
97 |
| -- 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)). |
98 |
| -- Fixed an error where the `week_of_month` attribute was not returning the correct value ([#446](https://github.com/sdispater/pendulum/pull/446)). |
99 |
| -- 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)). |
| 110 | +- Fixed various issues with timezone transitions for some edge cases ([#321](https://github.com/python-pendulum/pendulum/pull/321), ([#350](https://github.com/python-pendulum/pendulum/pull/350))). |
| 111 | +- Fixed out of bound detection for `nth_of("month")` ([#357](https://github.com/python-pendulum/pendulum/pull/357)). |
| 112 | +- Fixed an error where extra text was accepted in `from_format()` ([#372](https://github.com/python-pendulum/pendulum/pull/372)). |
| 113 | +- Fixed a recursion error when adding time to a `DateTime` with a fixed timezone ([#431](https://github.com/python-pendulum/pendulum/pull/431)). |
| 114 | +- Fixed errors where `Period` instances were not properly compared to other classes, especially `timedelta` instances ([#427](https://github.com/python-pendulum/pendulum/pull/427)). |
| 115 | +- Fixed deprecation warnings due to internal regexps ([#427](https://github.com/python-pendulum/pendulum/pull/427)). |
| 116 | +- Fixed an error where the `test()` helper would not unset the test instance when an exception was raised ([#445](https://github.com/python-pendulum/pendulum/pull/445)). |
| 117 | +- Fixed an error where the `week_of_month` attribute was not returning the correct value ([#446](https://github.com/python-pendulum/pendulum/pull/446)). |
| 118 | +- Fixed an error in the way the `Z` ISO-8601 UTC designator was not parsed as UTC ([#448](https://github.com/python-pendulum/pendulum/pull/448)). |
100 | 119 |
|
101 | 120 | ### Locales
|
102 | 121 |
|
|
200 | 219 |
|
201 | 220 |
|
202 | 221 |
|
203 |
| -[Unreleased]: https://github.com/sdispater/pendulum/compare/3.0.0...master |
204 |
| -[3.0.0]: https://github.com/sdispater/pendulum/releases/tag/3.0.0 |
205 |
| -[3.0.0b1]: https://github.com/sdispater/pendulum/releases/tag/3.0.0b1 |
206 |
| -[3.0.0a1]: https://github.com/sdispater/pendulum/releases/tag/3.0.0a1 |
207 |
| -[2.1.1]: https://github.com/sdispater/pendulum/releases/tag/2.1.1 |
208 |
| -[2.1.0]: https://github.com/sdispater/pendulum/releases/tag/2.1.0 |
209 |
| -[2.0.5]: https://github.com/sdispater/pendulum/releases/tag/2.0.5 |
210 |
| -[2.0.4]: https://github.com/sdispater/pendulum/releases/tag/2.0.4 |
211 |
| -[2.0.3]: https://github.com/sdispater/pendulum/releases/tag/2.0.3 |
212 |
| -[2.0.2]: https://github.com/sdispater/pendulum/releases/tag/2.0.2 |
213 |
| -[2.0.1]: https://github.com/sdispater/pendulum/releases/tag/2.0.1 |
214 |
| -[2.0.0]: https://github.com/sdispater/pendulum/releases/tag/2.0.0 |
| 222 | +[Unreleased]: https://github.com/python-pendulum/pendulum/compare/3.1.0...master |
| 223 | +[3.1.0]: https://github.com/python-pendulum/pendulum/releases/tag/3.1.0 |
| 224 | +[3.0.0]: https://github.com/python-pendulum/pendulum/releases/tag/3.0.0 |
| 225 | +[3.0.0b1]: https://github.com/python-pendulum/pendulum/releases/tag/3.0.0b1 |
| 226 | +[3.0.0a1]: https://github.com/python-pendulum/pendulum/releases/tag/3.0.0a1 |
| 227 | +[2.1.1]: https://github.com/python-pendulum/pendulum/releases/tag/2.1.1 |
| 228 | +[2.1.0]: https://github.com/python-pendulum/pendulum/releases/tag/2.1.0 |
| 229 | +[2.0.5]: https://github.com/python-pendulum/pendulum/releases/tag/2.0.5 |
| 230 | +[2.0.4]: https://github.com/python-pendulum/pendulum/releases/tag/2.0.4 |
| 231 | +[2.0.3]: https://github.com/python-pendulum/pendulum/releases/tag/2.0.3 |
| 232 | +[2.0.2]: https://github.com/python-pendulum/pendulum/releases/tag/2.0.2 |
| 233 | +[2.0.1]: https://github.com/python-pendulum/pendulum/releases/tag/2.0.1 |
| 234 | +[2.0.0]: https://github.com/python-pendulum/pendulum/releases/tag/2.0.0 |
0 commit comments