Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
# Change Log
2
 
3
## [3.3.2] - 2022-09-19
4
 
5
### Added
6
- N/A
7
 
8
### Changed
9
- Skip some daylight savings time tests for PHP 8.1 daylight savings time weirdness (#146)
10
 
11
### Fixed
12
- Changed string interpolations to work better with PHP 8.2 (#142)
13
 
14
## [3.3.1] - 2022-01-18
15
 
16
### Added
17
- N/A
18
 
19
### Changed
20
- N/A
21
 
22
### Fixed
23
- Fixed issue when timezones had no transition, which can occur over very short timespans (#134)
24
 
25
## [3.3.0] - 2022-01-13
26
 
27
### Added
28
- Added ability to register your own expression aliases (#132)
29
 
30
### Changed
31
- Changed how Day of Week and Day of Month resolve when one or the other is `*` or `?`
32
 
33
### Fixed
34
- PHPStan should no longer error out
35
 
36
## [3.2.4] - 2022-01-12
37
 
38
### Added
39
- N/A
40
 
41
### Changed
42
- Changed how Day of Week increment/decrement to help with DST changes (#131)
43
 
44
### Fixed
45
- N/A
46
 
47
## [3.2.3] - 2022-01-05
48
 
49
### Added
50
- N/A
51
 
52
### Changed
53
- Changed how minutes and hours increment/decrement to help with DST changes (#131)
54
 
55
### Fixed
56
- N/A
57
 
58
## [3.2.2] - 2022-01-05
59
 
60
### Added
61
- N/A
62
 
63
### Changed
64
- Marked some methods `@internal` (#124)
65
 
66
### Fixed
67
- Fixed issue with small ranges and large steps that caused an error with `range()` (#88)
68
- Fixed issue where wraparound logic incorrectly considered high bound on range (#89)
69
 
70
## [3.2.1] - 2022-01-04
71
 
72
### Added
73
- N/A
74
 
75
### Changed
76
- Added PHP 8.1 to testing (#125)
77
 
78
### Fixed
79
- Allow better mixture of ranges, steps, and lists (#122)
80
- Fixed return order when multiple dates are requested and inverted (#121)
81
- Better handling over DST (#115)
82
- Fixed PHPStan tests (#130)
83
 
84
## [3.2.0] - 2022-01-04
85
 
86
### Added
87
- Added alias for `@midnight` (#117)
88
 
89
### Changed
90
- Improved testing for instance of field in tests (#105)
91
- Optimization for determining multiple run dates (#75)
92
- `CronExpression` properties changed from private to protected (#106)
93
 
94
### Fixed
95
- N/A
96
 
97
## [3.1.0] - 2020-11-24
98
 
99
### Added
100
- Added `CronExpression::getParts()` method to get parts of the expression as an array (#83)
101
 
102
### Changed
103
- Changed to Interfaces for some type hints (#97, #86)
104
- Dropped minimum PHP version to 7.2
105
- Few syntax changes for phpstan compatibility (#93)
106
 
107
### Fixed
108
- N/A
109
 
110
### Deprecated
111
- Deprecated `CronExpression::factory` in favor of the constructor (#56)
112
- Deprecated `CronExpression::YEAR` as a formality, the functionality is already removed (#87)
113
 
114
## [3.0.1] - 2020-10-12
115
### Added
116
- Added support for PHP 8 (#92)
117
### Changed
118
- N/A
119
### Fixed
120
- N/A
121
 
122
## [3.0.0] - 2020-03-25
123
 
124
**MAJOR CHANGE** - In previous versions of this library, setting both a "Day of Month" and a "Day of Week" would be interpreted as an `AND` statement, not an `OR` statement. For example:
125
 
126
`30 0 1 * 1`
127
 
128
would evaluate to "Run 30 minutes after the 0 hour when the Day Of Month is 1 AND a Monday" instead of "Run 30 minutes after the 0 hour on Day Of Month 1 OR a Monday", where the latter is more inline with most cron systems. This means that if your cron expression has both of these fields set, you may see your expression fire more often starting with v3.0.0.
129
 
130
### Added
131
- Additional docblocks for IDE and documentation
132
- Added phpstan as a development dependency
133
- Added a `Cron\FieldFactoryInterface` to make migrations easier (#38)
134
### Changed
135
- Changed some DI testing during TravisCI runs
136
- `\Cron\CronExpression::determineTimezone()` now checks for `\DateTimeInterface` instead of just `\DateTime`
137
- Errors with fields now report a more human-understandable error and are 1-based instead of 0-based
138
- Better support for `\DateTimeImmutable` across the library by typehinting for `\DateTimeInterface` now
139
- Literals should now be less case-sensative across the board
140
- Changed logic for when both a Day of Week and a Day of Month are supplied to now be an OR statement, not an AND
141
### Fixed
142
- Fixed infinite loop when determining last day of week from literals
143
- Fixed bug where single number ranges were allowed (ex: `1/10`)
144
- Fixed nullable FieldFactory in CronExpression where no factory could be supplied
145
- Fixed issue where logic for dropping seconds to 0 could lead to a timezone change
146
 
147
## [2.3.1] - 2020-10-12
148
### Added
149
- Added support for PHP 8 (#92)
150
### Changed
151
- N/A
152
### Fixed
153
- N/A
154
 
155
## [2.3.0] - 2019-03-30
156
### Added
157
- Added support for DateTimeImmutable via DateTimeInterface
158
- Added support for PHP 7.3
159
- Started listing projects that use the library
160
### Changed
161
- Errors should now report a human readable position in the cron expression, instead of starting at 0
162
### Fixed
163
- N/A
164
 
165
## [2.2.0] - 2018-06-05
166
### Added
167
- Added support for steps larger than field ranges (#6)
168
## Changed
169
- N/A
170
### Fixed
171
- Fixed validation for numbers with leading 0s (#12)
172
 
173
## [2.1.0] - 2018-04-06
174
### Added
175
- N/A
176
### Changed
177
- Upgraded to PHPUnit 6 (#2)
178
### Fixed
179
- Refactored timezones to deal with some inconsistent behavior (#3)
180
- Allow ranges and lists in same expression (#5)
181
- Fixed regression where literals were not converted to their numerical counterpart (#)
182
 
183
## [2.0.0] - 2017-10-12
184
### Added
185
- N/A
186
 
187
### Changed
188
- Dropped support for PHP 5.x
189
- Dropped support for the YEAR field, as it was not part of the cron standard
190
 
191
### Fixed
192
- Reworked validation for all the field types
193
- Stepping should now work for 1-indexed fields like Month (#153)
194
 
195
## [1.2.0] - 2017-01-22
196
### Added
197
- Added IDE, CodeSniffer, and StyleCI.IO support
198
 
199
### Changed
200
- Switched to PSR-4 Autoloading
201
 
202
### Fixed
203
- 0 step expressions are handled better
204
- Fixed `DayOfMonth` validation to be more strict
205
- Typos
206
 
207
## [1.1.0] - 2016-01-26
208
### Added
209
- Support for non-hourly offset timezones
210
- Checks for valid expressions
211
 
212
### Changed
213
- Max Iterations no longer hardcoded for `getRunDate()`
214
- Supports DateTimeImmutable for newer PHP verions
215
 
216
### Fixed
217
- Fixed looping bug for PHP 7 when determining the last specified weekday of a month
218
 
219
## [1.0.3] - 2013-11-23
220
### Added
221
- Now supports expressions with any number of extra spaces, tabs, or newlines
222
 
223
### Changed
224
- Using static instead of self in `CronExpression::factory`
225
 
226
### Fixed
227
- Fixes issue [#28](https://github.com/mtdowling/cron-expression/issues/28) where PHP increments of ranges were failing due to PHP casting hyphens to 0
228
- Only set default timezone if the given $currentTime is not a DateTime instance ([#34](https://github.com/mtdowling/cron-expression/issues/34))