Skip to content

Commit c3aca76

Browse files
authored
Pre-release changelog update (#892)
1 parent 4dbb137 commit c3aca76

File tree

1 file changed

+75
-55
lines changed

1 file changed

+75
-55
lines changed

CHANGELOG.md

+75-55
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,121 @@
11
# Change Log
22

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+
322
## [3.0.0] - 2023-12-16
423

524
### Changed
625

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)
928

1029
### Fixed
1130

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)
1736

1837

1938
## [3.0.0b1] - 2023-10-01
2039

2140
### Added
2241

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)
2443

2544
### Changed
2645

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)
3049

3150
### Fixed
3251

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)
3655

3756

3857
## [3.0.0a1] - 2022-11-23
3958

4059
### Added
4160

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)
4362

4463
### Changed
4564

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)
5170

5271
### Locales
5372

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)
5877

5978

6079
## [2.1.1] - 2020-07-13
6180

6281
### Fixed
6382

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)).
7089

7190
### Locales
7291

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)).
7493

7594

7695
## [2.1.0] - 2020-03-07
7796

7897
### Added
7998

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)).
82101

83102
### Changed
84103

85104
- 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))
87106
- `Duration.in_words()` will now return `0 milliseconds` for empty durations.
88107

89108
### Fixed
90109

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)).
100119

101120
### Locales
102121

@@ -200,15 +219,16 @@
200219

201220

202221

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

Comments
 (0)