Skip to content

Commit 1b97608

Browse files
committed
Changes CHANGELOG format
1 parent dc9923f commit 1b97608

File tree

1 file changed

+99
-59
lines changed

1 file changed

+99
-59
lines changed

CHANGELOG.md

Lines changed: 99 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,100 +1,132 @@
1-
### 0.6
1+
# Change Log
22

3-
- [Feature] Adds an option to control transition normalization behavior.
4-
- [Feature] Adds a separator keyword argument to `Interval.in_words()` method.
5-
- [Feature] Adds an alternative formatter.
6-
- [Feature] Improves meridians formatting by supporting minutes.
7-
- [Feature] Adds support for pytz tzinfo in `instance()` method
8-
- [Feature] Changes behavior of `create*()` methods (time now defaults to `00:00:00`)
9-
- [Fix] Fixes setters and modifiers (start_of/end_of) to properly apply transitions.
10-
- [Fix] Fixes issue when compiling on 32 bit systems. (Thanks to [guyzmo](https://github.com/guyzmo))
11-
- [Fix] Fixes NameError Exception on Python 3.2. (Thanks to [guyzmo](https://github.com/guyzmo))
12-
- [Fix] Fixes absolute intervals.
3+
## [0.6] - Unreleased
134

14-
### 0.5.5
5+
### Added
156

16-
(September 1st, 2016)
7+
- Adds an option to control transition normalization behavior.
8+
- Adds a separator keyword argument to `Interval.in_words()` method.
9+
- Adds an alternative formatter.
10+
- Adds support for pytz tzinfo in `instance()` method
1711

18-
- [Fix] Fixes local timezone loading for unix systems.
19-
- [Fix] Fixes potential `AttributeError` in `between` method. (Thanks to [iv597](https://github.com/iv597))
12+
### Changed
2013

21-
### 0.5.4
14+
- Improves meridians formatting by supporting minutes.
15+
- Changes behavior of `create*()` methods (time now defaults to `00:00:00`)
2216

23-
(August 30th, 2016)
17+
### Fixed
2418

25-
- [Fix] Fixes broken previous release.
19+
- Fixes setters and modifiers (start_of/end_of) to properly apply transitions.
20+
- Fixes issue when compiling on 32 bit systems. (Thanks to [guyzmo](https://github.com/guyzmo))
21+
- Fixes NameError Exception on Python 3.2. (Thanks to [guyzmo](https://github.com/guyzmo))
22+
- Fixes absolute intervals.
2623

27-
(August 29th, 2016)
2824

29-
- [Fix] Fixes setters and modifiers (start_of/end_of) to properly apply DST transitions.
30-
- [Fix] Fixes timezone file loading on some installs (See [#34](https://github.com/sdispater/pendulum/issues/34))
25+
## [0.5.5] - 2016-09-01
26+
27+
### Fixed
28+
29+
- Fixes local timezone loading for unix systems.
30+
- Fixes potential `AttributeError` in `between` method. (Thanks to [iv597](https://github.com/iv597))
31+
32+
33+
## [0.5.4] - 2016-08-30
34+
35+
### Fixed
36+
37+
- Fixes broken previous release.
38+
39+
40+
## [0.5.3] - 2016-08-29
41+
42+
### Fixed
43+
44+
- Fixes setters and modifiers (start_of/end_of) to properly apply DST transitions.
45+
- Fixes timezone file loading on some installs (See [#34](https://github.com/sdispater/pendulum/issues/34))
3146
(Thanks to [mayfield](https://github.com/mayfield))
3247

33-
### 0.5.2
3448

35-
(August 22nd, 2016)
49+
## [0.5.2] - 2016-08-22
50+
51+
### Added
52+
53+
- Adds a small speedup when changing timezones.
54+
55+
## Changed
56+
57+
- Makes `.offset_hours` return a float.
3658

37-
- [Fix] Fixes `TimezoneInfo.utcoffset()` method.
38-
- [Fix] Fixes arithmetic operations on intervals not returning intervals.
39-
- [Fix] Allows Pendulum instances comparison to None . (Thanks to [jkeyes](https://github.com/jkeyes))
40-
- [Feature] Adds a small speedup when changing timezones.
41-
- [Feature] Makes .offset_hours return a float.
59+
## Fixed
4260

61+
- Fixes `TimezoneInfo.utcoffset()` method.
62+
- Fixes arithmetic operations on intervals not returning intervals.
63+
- Allows Pendulum instances comparison to None . (Thanks to [jkeyes](https://github.com/jkeyes))
4364

44-
### 0.5.1
4565

46-
(August 18th, 2016)
66+
## [0.5.1] - 2016-08-18
4767

48-
- [Fix] Fixes `now()` not behaving properly when given a timezone.
49-
- [Fix] Fixes double file opening when getting local timezone. (Thanks to [yggdr](https://github.com/yggdr))
50-
- [Fix] Fixes `pt_BR` locale. (Thanks to [YomoFuno](https://github.com/YomoFuno))
51-
- [Fix] Fixes `pl` locale. (Thanks to [MichalTHEDUDE](https://github.com/MichalTHEDUDE))
68+
### Fixed
5269

70+
- Fixes `now()` not behaving properly when given a timezone.
71+
- Fixes double file opening when getting local timezone. (Thanks to [yggdr](https://github.com/yggdr))
72+
- Fixes `pt_BR` locale. (Thanks to [YomoFuno](https://github.com/YomoFuno))
73+
- Fixes `pl` locale. (Thanks to [MichalTHEDUDE](https://github.com/MichalTHEDUDE))
5374

54-
### 0.5
5575

56-
(August 15th, 2016)
76+
## [0.5] - 2016-08-15
5777

5878
This version introduces a new timezone library which improves
5979
timezone switching and behavior around DST transition times.
6080

81+
### Added
82+
6183
- Adds a new timezone library to properly normalize and localize datetimes.
6284
``Pendulum`` no longer relies on ``pytz``.
63-
Check the [Documentation](/docs/#timezone) to see what has changed exactly.
64-
85+
Check the [Documentation](https://pendulum.eustace.io/docs/#timezones) to see what has changed exactly.
6586

66-
### 0.4
6787

68-
(July 26th, 2016)
88+
## [0.4] - 2016-07-26
6989

7090
This version mostly brings the new ``Period`` class and improves performances overall.
7191

92+
### Added
93+
7294
- Adds the `Period` class, which basically is a datetime-aware interval.
95+
96+
### Changed
97+
7398
- Makes the `format()` method support a `locale` keyword argument.
7499
- Changes custom directives. `%P` becomes `%_z` and `%t` becomes `%_t`.
75-
Basically, all new custom directives will be in the form `%_{directive}`
100+
Basically, all new custom directives will be in the form `%_{directive}`.
101+
102+
### Fixed
103+
76104
- Fixes singular for negative values of intervals.
77105

78-
### 0.3.1
79106

80-
(July 13th, 2016)
107+
## [0.3.1] - 2016-07-13
81108

82-
- Fixes parsing of string with partial offset.
109+
### Fixed
83110

111+
- Fixes parsing of string with partial offset.
84112

85-
### 0.3
86113

87-
(July 11th, 2016)
114+
## [0.3] - 2016-07-11
88115

89116
This version causes major breaking API changes to simplify it and making it more intuitive.
90117

118+
### Added
119+
91120
- Improves testing by providing a `test()` contextmanager.
121+
122+
123+
### Changed
124+
92125
- Makes passing a naive `datetime` to `instance()` default to `UTC`.
93126
- Reduces `add_xxx()`/`sub_xxx()` methods to `add(**kwargs)`/`subtract(**kwargs)`.
94127
- Changes the `for_humans()` method of the `Interval` class to `in_words()` to avoid confusion with the `diff_for_humans()` method.
95128
- Makes more constants and methods available at module level.
96129
- Makes the constructor behave like the standard one. No more `Pendulum()`.
97-
- Fixes "sl" locale.
98130
- Renames the `to()` method to `in_timezone()`.
99131
- Removes the comparison methods to just stick with the basic operators.
100132
- Reduces `first_of_xxx()`/`last_of_xxx()`/`nth_of_xxx()` methods to `first_of(unit)`/`last_of(unit)`/`nth_of(unit, nth)`.
@@ -103,27 +135,35 @@ This version causes major breaking API changes to simplify it and making it more
103135
- Renames the `PendulumInterval` class to simply `Interval`.
104136
- Makes the `Pendulum` class immutable.
105137

138+
### Fixed
139+
140+
- Fixes "sl" locale.
106141

107-
### 0.2
108142

109-
(July 4th, 2016)
143+
## [0.2] - 2016-07-04
110144

111-
- Makes the `Pendulum` class truly inherits from `datetime`
145+
### Changed
112146

147+
- Makes the `Pendulum` class truly inherits from `datetime`.
113148

114-
### 0.1.1
115149

116-
(July 4th, 2016)
150+
## [0.1.1] - 2016-07-04
117151

118-
- Adds support for the `TZ` environment variable
119-
- Adds `closest()`/`farthest()` comparison methods
120-
- Makes `set_test_now()` available at module level
152+
### Added
153+
154+
- Adds support for the `TZ` environment variable.
155+
- Adds `closest()`/`farthest()` comparison methods.
121156
- Adds min/max attributes. Renames min/max methods.
122-
- Fixes `diff_for_humans()` method when setting locale.
123157

158+
### Changed
159+
160+
- Makes `set_test_now()` available at module level.
161+
162+
### Fixed
163+
164+
- Fixes `diff_for_humans()` method when setting locale.
124165

125-
### 0.1
126166

127-
(July 4th, 2016)
167+
## [0.1] - 2016-07-04
128168

129-
- Initial release
169+
Initial release

0 commit comments

Comments
 (0)