|
1 |
| -# Change Log |
| 1 | +# Changelog |
2 | 2 |
|
3 |
| -All notable changes to `cybercog/laravel-eloquent-flag` will be documented in this file. |
| 3 | +All notable changes to `cybercog/laravel-eloquent-flag` are documented in [Laravel Eloquent Flag releases] page. |
4 | 4 |
|
5 |
| -## [Unreleased] |
6 |
| - |
7 |
| -## [6.2.0] - 2025-02-22 |
8 |
| - |
9 |
| -### Added |
10 |
| - |
11 |
| -- ([#82]) Added Laravel 12 support |
12 |
| -- ([#83]) Added PHP 8.4 tests |
13 |
| - |
14 |
| -## [6.1.0] - 2024-03-09 |
15 |
| - |
16 |
| -### Added |
17 |
| - |
18 |
| -- ([#81]) Added Laravel 11 support |
19 |
| - |
20 |
| -## [6.0.0] - 2023-02-24 |
21 |
| - |
22 |
| -### Added |
23 |
| - |
24 |
| -- ([#77]) Added Laravel 10 support |
25 |
| - |
26 |
| -### Changed |
27 |
| - |
28 |
| -- ([#77]) Timestamp flagged attributes using Eloquent Model `$casts` property |
29 |
| - |
30 |
| -### Removed |
31 |
| - |
32 |
| -- ([#77]) Dropped Laravel 5.8 support |
33 |
| -- ([#77]) Dropped Laravel 6 support |
34 |
| -- ([#77]) Dropped Laravel 7 support |
35 |
| -- ([#77]) Dropped Laravel 8 support |
36 |
| - |
37 |
| -## [5.4.0] - 2022-04-13 |
38 |
| - |
39 |
| -### Added |
40 |
| - |
41 |
| -- ([#74]) Added PHP 9.x support |
42 |
| - |
43 |
| -## [5.3.0] - 2020-12-24 |
44 |
| - |
45 |
| -### Added |
46 |
| - |
47 |
| -- ([#71]) Added PHP 8.x support |
48 |
| - |
49 |
| -## [5.2.0] - 2020-09-09 |
50 |
| - |
51 |
| -### Added |
52 |
| - |
53 |
| -- ([#69]) Add Laravel 8 support |
54 |
| - |
55 |
| -## [5.1.2] - 2020-03-06 |
56 |
| - |
57 |
| -### Added |
58 |
| - |
59 |
| -- ([#65]) Add Laravel 7 support |
60 |
| - |
61 |
| -## [5.1.1] - 2020-02-20 |
62 |
| - |
63 |
| -### Fixed |
64 |
| - |
65 |
| -- ([#62]) Fixed `undoActivate` method in `HasActiveFlagHelpers` trait |
66 |
| - |
67 |
| -## [5.1.0] - 2019-09-04 |
68 |
| - |
69 |
| -### Added |
70 |
| - |
71 |
| -- ([#59]) Laravel 6 support |
72 |
| - |
73 |
| -## [5.0.0] - 2019-03-18 |
74 |
| - |
75 |
| -### Added |
76 |
| - |
77 |
| -- Laravel 5.8 support |
78 |
| -- ([#48]) Flag fields auto-casting |
79 |
| -- Added `shouldApplyAcceptedAtScope` & `shouldApplyAcceptedFlagScope` methods to control Accepted flags global scope auto apply. |
80 |
| -- Added `shouldApplyActiveFlagScope` methods to control Active flag global scope auto apply. |
81 |
| -- Added `shouldApplyApprovedAtScope` & `shouldApplyApprovedFlagScope` methods to control Approved flags global scope auto apply. |
82 |
| -- Added `shouldApplyClosedAtScope` & `shouldApplyClosedFlagScope` methods to control Closed flags global scope auto apply. |
83 |
| - |
84 |
| -### Changed |
85 |
| - |
86 |
| -- All methods are strict typed now |
87 |
| -- `Carbon\Carbon` replaced with `Illuminate\Support\Facades\Date` |
88 |
| -- `isRejected` instance method renamed to `isNotAccepted` |
89 |
| -- `isDeactivated` instance method renamed to `isNotActivated` |
90 |
| -- `isDisapproved` instance method renamed to `isNotApproved` |
91 |
| -- `isUninvited` instance method renamed to `isNotInvited` |
92 |
| -- `isUnkept` instance method renamed to `isNotKept` |
93 |
| -- `isUnpublished` instance method renamed to `isNotPublished` |
94 |
| -- `isUnverified` instance method renamed to `isNotVerified` |
95 |
| -- `isUnarchived` instance method renamed to `isNotArchived` |
96 |
| -- `isOpened` instance method renamed to `isNotClosed` |
97 |
| -- `isUndrafted` instance method renamed to `isNotDrafted` |
98 |
| -- `isUnended` instance method renamed to `isNotEnded` |
99 |
| -- `isUnexpired` instance method renamed to `isNotExpired` |
100 |
| -- `reject` instance method renamed to `undoAccept` |
101 |
| -- `deactivate` instance method renamed to `undoActivate` |
102 |
| -- `disapprove` instance method renamed to `undoApprove` |
103 |
| -- `uninvite` instance method renamed to `undoInvite` |
104 |
| -- `unkeep` instance method renamed to `undoKeep` |
105 |
| -- `unpublish` instance method renamed to `undoPublish` |
106 |
| -- `unverify` instance method renamed to `undoVerify` |
107 |
| -- `unarchive` instance method renamed to `undoArchive` |
108 |
| -- `open` instance method renamed to `undoClose` |
109 |
| -- `undraft` instance method renamed to `undoDraft` |
110 |
| -- `unend` instance method renamed to `undoEnd` |
111 |
| -- `unexpire` instance method renamed to `undoExpire` |
112 |
| -- `reject` global scope method renamed to `undoAccept` |
113 |
| -- `withRejected` global scope method renamed to `withNotAccepted` |
114 |
| -- `withoutRejected` global scope method renamed to `withoutNotAccepted` |
115 |
| -- `onlyRejected` global scope method renamed to `onlyNotAccepted` |
116 |
| -- `deactivate` global scope method renamed to `undoActivate` |
117 |
| -- `withDeactivated` global scope method renamed to `withNotActivated` |
118 |
| -- `withoutDeactivated` global scope method renamed to `withoutNotActivated` |
119 |
| -- `onlyDeactivated` global scope method renamed to `onlyNotActivated` |
120 |
| -- `disapprove` global scope method renamed to `undoApprove` |
121 |
| -- `withDisapproved` global scope method renamed to `withNotApproved` |
122 |
| -- `withoutDisapproved` global scope method renamed to `withoutNotApproved` |
123 |
| -- `onlyDisapproved` global scope method renamed to `onlyNotApproved` |
124 |
| -- `uninvite` global scope method renamed to `undoInvite` |
125 |
| -- `withUninvited` global scope method renamed to `withNotInvited` |
126 |
| -- `withoutUninvited` global scope method renamed to `withoutNotInvited` |
127 |
| -- `onlyUninvited` global scope method renamed to `onlyNotInvited` |
128 |
| -- `unkeep` global scope method renamed to `undoKeep` |
129 |
| -- `withUnkept` global scope method renamed to `withNotKept` |
130 |
| -- `withoutUnkept` global scope method renamed to `withoutNotKept` |
131 |
| -- `onlyUnkept` global scope method renamed to `onlyNotKept` |
132 |
| -- `unpublish` global scope method renamed to `undoPublish` |
133 |
| -- `withUnpublished` global scope method renamed to `withNotPublished` |
134 |
| -- `withoutUnpublished` global scope method renamed to `withoutNotPublished` |
135 |
| -- `onlyUnpublished` global scope method renamed to `onlyNotPublished` |
136 |
| -- `unverify` global scope method renamed to `undoVerify` |
137 |
| -- `withUnverified` global scope method renamed to `withNotVerified` |
138 |
| -- `withoutUnverified` global scope method renamed to `withoutNotVerified` |
139 |
| -- `onlyUnverified` global scope method renamed to `onlyNotVerified` |
140 |
| -- `unarchive` global scope method renamed to `undoArchive` |
141 |
| -- `open` global scope method renamed to `undoClose` |
142 |
| -- `undraft` global scope method renamed to `undoDraft` |
143 |
| -- `unend` global scope method renamed to `undoEnd` |
144 |
| -- `unexpire` global scope method renamed to `undoExpire` |
145 |
| -- `rejected` model event renamed to `acceptedUndone` |
146 |
| -- `deactivated` model event renamed to `activatedUndone` |
147 |
| -- `disapproved` model event renamed to `approvedUndone` |
148 |
| -- `uninvited` model event renamed to `invitedUndone` |
149 |
| -- `unkept` model event renamed to `keptUndone` |
150 |
| -- `unpublished` model event renamed to `publishedUndone` |
151 |
| -- `unverified` model event renamed to `verifiedUndone` |
152 |
| -- `unarchived` model event renamed to `archivedUndone` |
153 |
| -- `opened` model event renamed to `closedUndone` |
154 |
| -- `undrafted` model event renamed to `draftedUndone` |
155 |
| -- `unended` model event renamed to `endedUndone` |
156 |
| -- `unexpired` model event renamed to `expiredUndone` |
157 |
| - |
158 |
| -### Removed |
159 |
| - |
160 |
| -- Dropped PHP 5.6, 7.0 support |
161 |
| -- Dropped Laravel 5.2, 5.3, 5.4, 5.5, 5.6, 5.7 support |
162 |
| -- ([#50]) Removed attribute mutator `set*` & `unset*` methods from all helper classes |
163 |
| -- ([#56]) Removed global scopes auto-apply |
164 |
| - |
165 |
| -## [4.0.0] - 2018-09-09 |
166 |
| - |
167 |
| -### Added |
168 |
| - |
169 |
| -- ([#42]) Laravel 5.7 support |
170 |
| -- ([#37]) Events firing |
171 |
| - |
172 |
| -## [3.13.0] - 2018-02-08 |
173 |
| - |
174 |
| -### Added |
175 |
| - |
176 |
| -- Laravel 5.6 support ([#35]). |
177 |
| -- `is_invited` classic boolean flag added ([#31]). |
178 |
| -- `invited_at` classic timestamp flag added ([#31]). |
179 |
| -- `is_ended` inverse boolean flag added ([#31]). |
180 |
| -- `ended_at` inverse timestamp flag added ([#31]). |
181 |
| -- `is_drafted` inverse boolean flag added ([#32]). |
182 |
| -- `drafted_at` inverse timestamp flag added ([#32]). |
183 |
| -- `is_archived` inverse boolean flag added ([#32]). |
184 |
| -- `archived_at` inverse timestamp flag added ([#32]). |
185 |
| - |
186 |
| -## [3.12.0] - 2017-09-09 |
187 |
| - |
188 |
| -### Added |
189 |
| - |
190 |
| -- Laravel 5.5 support. |
191 |
| - |
192 |
| -## [3.11.0] - 2017-02-20 |
193 |
| - |
194 |
| -### Added |
195 |
| - |
196 |
| -- Laravel 5.4 support. |
197 |
| - |
198 |
| -## [3.10.0] - 2017-02-13 |
199 |
| - |
200 |
| -### Added |
201 |
| - |
202 |
| -- `shouldApplyVerifiedAtScope` & `shouldApplyVerifiedFlagScope` methods to skip Verified flags global scope auto apply. |
203 |
| - |
204 |
| -## [3.9.0] - 2017-02-03 |
205 |
| - |
206 |
| -### Added |
207 |
| - |
208 |
| -- `shouldApplyExpiredAtScope` & `shouldApplyExpiredFlagScope` methods to skip Expired flags global scope auto apply. |
209 |
| - |
210 |
| -## [3.8.0] - 2017-01-29 |
211 |
| - |
212 |
| -### Added |
213 |
| - |
214 |
| -- `shouldApplyPublishedAtScope` & `shouldApplyPublishedFlagScope` methods to skip Published flags global scope auto apply. |
215 |
| - |
216 |
| -## [3.7.0] - 2017-01-14 |
217 |
| - |
218 |
| -### Added |
219 |
| - |
220 |
| -- `setKeptOnUpdate` property in `HasKeptFlagBehavior` to control events. |
221 |
| - |
222 |
| -### Changed |
223 |
| - |
224 |
| -- `HasAcceptedAtHelpers` methods implemented. |
225 |
| -- `HasAcceptedFlagHelpers` methods implemented. |
226 |
| -- `HasActiveFlagHelpers` methods implemented. |
227 |
| -- `HasKeptFlagHelpers` methods implemented. |
228 |
| -- `HasPublishedAtHelpers` methods implemented. |
229 |
| -- `HasPublishedFlagHelpers` methods implemented. |
230 |
| - |
231 |
| -## [3.6.0] - 2017-01-14 |
232 |
| - |
233 |
| -### Added |
234 |
| - |
235 |
| -- `expired_at` inverse timestamp flag added. |
236 |
| - |
237 |
| -### Changed |
238 |
| - |
239 |
| -- `is_expired` inverse boolean flag helpers implemented. |
240 |
| - |
241 |
| -## [3.5.0] - 2017-01-13 |
242 |
| - |
243 |
| -### Added |
244 |
| - |
245 |
| -- `approved_at` classic timestamp flag added. |
246 |
| - |
247 |
| -### Changed |
248 |
| - |
249 |
| -- `is_approved` classic boolean flag helpers implemented. |
250 |
| - |
251 |
| -## [3.4.0] - 2017-01-13 |
252 |
| - |
253 |
| -### Added |
254 |
| - |
255 |
| -- `closed_at` inverse timestamp flag added. |
256 |
| - |
257 |
| -### Changed |
258 |
| - |
259 |
| -- `is_closed` inverse boolean flag helpers added. |
260 |
| - |
261 |
| -## [3.3.0] - 2017-01-12 |
262 |
| - |
263 |
| -### Added |
264 |
| - |
265 |
| -- `verified_at` classic timestamp flag added. |
266 |
| -- `is_verified` classic boolean flag helpers added. |
267 |
| - |
268 |
| -## [3.2.0] - 2017-01-12 |
269 |
| - |
270 |
| -### Added |
271 |
| - |
272 |
| -- `accepted_at` classic timestamp flag added. |
273 |
| - |
274 |
| -## [3.1.0] - 2017-01-11 |
275 |
| - |
276 |
| -### Added |
277 |
| - |
278 |
| -- `Timestamp` flag types introduced. |
279 |
| -- `published_at` classic timestamp flag added. |
280 |
| - |
281 |
| -## [3.0.0] - 2017-01-07 |
282 |
| - |
283 |
| -### Added |
284 |
| - |
285 |
| -- `Has{Name}FlagScope` traits which include global scopes. |
286 |
| -- `Has{Name}FlagHelpers` traits which include flag related helper methods. |
287 |
| -- `Has{Name}FlagBehavior` traits which include flag specific behavior. |
288 |
| - |
289 |
| -### Changed |
290 |
| - |
291 |
| -- Each Flag trait was spliced on 2 additional traits: `Has{Name}Flag` = `Has{Name}FlagScope` + `Has{Name}FlagHelpers`. |
292 |
| -- Kept Flag trait was spliced on 3 additional traits, because events were pulled out to `HasKeptFlagBehavior` trait. |
293 |
| -- Flags `Classic\Accepted`, `Classic\Active` & `Classic\Approved` methods were changed. Details in the [Upgrade Guide](UPGRADE.md). |
294 |
| - |
295 |
| -## [2.1.0] - 2017-01-04 |
296 |
| - |
297 |
| -- `is_closed` inverse boolean flag added. |
298 |
| - |
299 |
| -## [2.0.0] - 2017-01-04 |
300 |
| - |
301 |
| -### Breaking changes |
302 |
| - |
303 |
| -- Namespaces of flag's traits received `Classic` at the end: `Cog\Flag\Traits\Classic`. |
304 |
| -- Namespaces of flag's scopes received `Classic` at the end: `Cog\Flag\Scopes\Classic`. |
305 |
| - |
306 |
| -### Added |
307 |
| - |
308 |
| -- `Inverse Logic` flags group. Hides entities if flag not set. |
309 |
| -- `is_expired` inverse boolean flag added. |
310 |
| - |
311 |
| -## [1.5.0] - 2016-12-31 |
312 |
| - |
313 |
| -- `is_approved` boolean flag added. |
314 |
| - |
315 |
| -## [1.4.0] - 2016-12-26 |
316 |
| - |
317 |
| -- `is_verified` boolean flag added. |
318 |
| - |
319 |
| -## [1.3.0] - 2016-12-14 |
320 |
| - |
321 |
| -- `is_accepted` boolean flag added. |
322 |
| - |
323 |
| -## [1.2.0] - 2016-12-10 |
324 |
| - |
325 |
| -- `is_kept` boolean flag added. |
326 |
| - |
327 |
| -## [1.1.0] - 2016-09-25 |
328 |
| - |
329 |
| -- `is_published` boolean flag added. |
330 |
| - |
331 |
| -## 1.0.0 - 2016-09-25 |
332 |
| - |
333 |
| -- `is_active` boolean flag added. |
334 |
| - |
335 |
| -[Unreleased]: https://github.com/cybercog/laravel-eloquent-flag/compare/6.2.0...master |
336 |
| -[6.2.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/6.1.0...6.2.0 |
337 |
| -[6.1.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/6.0.0...6.1.0 |
338 |
| -[6.0.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/5.4.0...6.0.0 |
339 |
| -[5.4.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/5.3.0...5.4.0 |
340 |
| -[5.3.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/5.2.0...5.3.0 |
341 |
| -[5.2.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/5.1.2...5.2.0 |
342 |
| -[5.1.2]: https://github.com/cybercog/laravel-eloquent-flag/compare/5.1.1...5.1.2 |
343 |
| -[5.1.1]: https://github.com/cybercog/laravel-eloquent-flag/compare/5.1.0...5.1.1 |
344 |
| -[5.1.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/5.0.0...5.1.0 |
345 |
| -[5.0.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/4.0.0...5.0.0 |
346 |
| -[4.0.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.13.0...4.0.0 |
347 |
| -[3.13.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.12.0...3.13.0 |
348 |
| -[3.12.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.11.0...3.12.0 |
349 |
| -[3.11.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.10.0...3.11.0 |
350 |
| -[3.10.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.9.0...3.10.0 |
351 |
| -[3.9.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.8.0...3.9.0 |
352 |
| -[3.8.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.7.0...3.8.0 |
353 |
| -[3.7.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.6.0...3.7.0 |
354 |
| -[3.6.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.5.0...3.6.0 |
355 |
| -[3.5.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.4.0...3.5.0 |
356 |
| -[3.4.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.3.0...3.4.0 |
357 |
| -[3.3.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.2.0...3.3.0 |
358 |
| -[3.2.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.1.0...3.2.0 |
359 |
| -[3.1.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/3.0.0...3.1.0 |
360 |
| -[3.0.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/2.1.0...3.0.0 |
361 |
| -[2.1.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/2.0.0...2.1.0 |
362 |
| -[2.0.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/1.5.0...2.0.0 |
363 |
| -[1.5.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/1.4.0...1.5.0 |
364 |
| -[1.4.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/1.3.0...1.4.0 |
365 |
| -[1.3.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/1.2.0...1.3.0 |
366 |
| -[1.2.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/1.1.0...1.2.0 |
367 |
| -[1.1.0]: https://github.com/cybercog/laravel-eloquent-flag/compare/1.0.0...1.1.0 |
368 |
| - |
369 |
| -[#83]: https://github.com/cybercog/laravel-eloquent-flag/pull/83 |
370 |
| -[#82]: https://github.com/cybercog/laravel-eloquent-flag/pull/82 |
371 |
| -[#81]: https://github.com/cybercog/laravel-eloquent-flag/pull/81 |
372 |
| -[#77]: https://github.com/cybercog/laravel-eloquent-flag/pull/77 |
373 |
| -[#74]: https://github.com/cybercog/laravel-eloquent-flag/pull/71 |
374 |
| -[#71]: https://github.com/cybercog/laravel-eloquent-flag/pull/71 |
375 |
| -[#69]: https://github.com/cybercog/laravel-eloquent-flag/pull/69 |
376 |
| -[#65]: https://github.com/cybercog/laravel-eloquent-flag/pull/65 |
377 |
| -[#62]: https://github.com/cybercog/laravel-eloquent-flag/pull/62 |
378 |
| -[#59]: https://github.com/cybercog/laravel-eloquent-flag/pull/59 |
379 |
| -[#56]: https://github.com/cybercog/laravel-eloquent-flag/pull/56 |
380 |
| -[#50]: https://github.com/cybercog/laravel-eloquent-flag/pull/50 |
381 |
| -[#48]: https://github.com/cybercog/laravel-eloquent-flag/pull/48 |
382 |
| -[#42]: https://github.com/cybercog/laravel-eloquent-flag/pull/42 |
383 |
| -[#37]: https://github.com/cybercog/laravel-eloquent-flag/pull/37 |
384 |
| -[#35]: https://github.com/cybercog/laravel-eloquent-flag/pull/35 |
385 |
| -[#32]: https://github.com/cybercog/laravel-eloquent-flag/pull/32 |
386 |
| -[#31]: https://github.com/cybercog/laravel-eloquent-flag/pull/31 |
| 5 | +[Laravel Eloquent Flag releases]: https://github.com/cybercog/laravel-eloquent-flag/releases |
0 commit comments