|
1 | 1 | # Changelog
|
2 | 2 |
|
3 |
| -All notable changes to `cybercog/laravel-ban` will be documented in this file. |
| 3 | +All notable changes to `cybercog/laravel-ban` are documented in [Laravel Ban releases] page. |
4 | 4 |
|
5 |
| -## [Unreleased] |
6 |
| - |
7 |
| -## [4.10.0] - 2025-02-22 |
8 |
| - |
9 |
| -### Added |
10 |
| - |
11 |
| -- ([#96]) Added Laravel 12 support |
12 |
| -- ([#97]) Added PHP 8.4 tests |
13 |
| - |
14 |
| -## [4.9.0] - 2024-03-05 |
15 |
| - |
16 |
| -### Added |
17 |
| - |
18 |
| -- ([#95]) Added Laravel 11 support |
19 |
| - |
20 |
| -## [4.8.0] - 2023-02-24 |
21 |
| - |
22 |
| -### Added |
23 |
| - |
24 |
| -- ([#89]) Added Laravel 10 support |
25 |
| - |
26 |
| -### Removed |
27 |
| - |
28 |
| -- ([#89]) Dropped PHP 7.x support |
29 |
| -- ([#89]) Dropped Laravel 5.5 support |
30 |
| -- ([#89]) Dropped Laravel 5.6 support |
31 |
| -- ([#89]) Dropped Laravel 5.7 support |
32 |
| -- ([#89]) Dropped Laravel 5.8 support |
33 |
| -- ([#89]) Dropped Laravel 6 support |
34 |
| -- ([#89]) Dropped Laravel 7 support |
35 |
| -- ([#89]) Dropped Laravel 8 support |
36 |
| - |
37 |
| -## [4.7.0] - 2022-02-05 |
38 |
| - |
39 |
| -### Added |
40 |
| - |
41 |
| -- ([#81]) Added Laravel 9 support |
42 |
| - |
43 |
| -## [4.6.1] - 2021-03-18 |
44 |
| - |
45 |
| -### Fixed |
46 |
| - |
47 |
| -- ([#72]) Fixed typo in `LogsOutBannedUser` middleware variable |
48 |
| - |
49 |
| -## [4.6.0] - 2021-03-08 |
50 |
| - |
51 |
| -### Added |
52 |
| - |
53 |
| -- ([#71]) Added Inertia support |
54 |
| - |
55 |
| -## [4.5.0] - 2020-12-05 |
56 |
| - |
57 |
| -### Added |
58 |
| - |
59 |
| -- ([#66]) Added PHP 8.x support |
60 |
| - |
61 |
| -## [4.4.0] - 2020-09-26 |
62 |
| - |
63 |
| -### Added |
64 |
| - |
65 |
| -- ([#63]) Added configurable redirect url for the banned users |
66 |
| - |
67 |
| -## [4.3.0] - 2020-09-09 |
68 |
| - |
69 |
| -### Added |
70 |
| - |
71 |
| -- ([#61]) Added Laravel 8.x support |
72 |
| - |
73 |
| -## [4.2.1] - 2020-03-06 |
74 |
| - |
75 |
| -### Added |
76 |
| - |
77 |
| -- Added Laravel 7.x support |
78 |
| - |
79 |
| -## [4.2.0] - 2019-09-26 |
80 |
| - |
81 |
| -### Added |
82 |
| - |
83 |
| -- ([#50]) Added publishable configuration file |
84 |
| -- ([#50]) Added ability to ignore default migrations |
85 |
| - |
86 |
| -## [4.1.0] - 2019-09-04 |
87 |
| - |
88 |
| -### Added |
89 |
| - |
90 |
| -- ([#48]) Laravel 6.0 support |
91 |
| - |
92 |
| -## [4.0.0] - 2019-02-26 |
93 |
| - |
94 |
| -### Added |
95 |
| - |
96 |
| -- Laravel 5.8 support |
97 |
| - |
98 |
| -### Changed |
99 |
| - |
100 |
| -- All methods are strict typed now |
101 |
| - |
102 |
| -### Removed |
103 |
| - |
104 |
| -- Laravel 5.1, 5.2, 5.3 and 5.4 support |
105 |
| - |
106 |
| -## [3.5.0] - 2018-10-07 |
107 |
| - |
108 |
| -### Added |
109 |
| - |
110 |
| -- ([#35]) Ban `created_by_type` & `created_by_id` are fillable now |
111 |
| - |
112 |
| -## [3.4.0] - 2018-09-21 |
113 |
| - |
114 |
| -### Added |
115 |
| - |
116 |
| -- ([#29]) Add `datetime` cast for the `deleted_at` attribute |
117 |
| - |
118 |
| -### Fixed |
119 |
| - |
120 |
| -- ([#30]) Fixed bannable models ban & unban with applied BannedAtScope |
121 |
| - |
122 |
| -## [3.3.0] - 2018-09-16 |
123 |
| - |
124 |
| -### Added |
125 |
| - |
126 |
| -- ([#27]) Add `isPermanent` & `isTemporary` ban checks |
127 |
| - |
128 |
| -### Fixed |
129 |
| - |
130 |
| -- ([#27]) Stop trying to parse `null` value for `expired_at` as Carbon value |
131 |
| - |
132 |
| -## [3.2.0] - 2018-09-09 |
133 |
| - |
134 |
| -### Added |
135 |
| - |
136 |
| -- ([#26]) Laravel 5.7 support |
137 |
| -- ([#25]) Middleware to force logout banned users |
138 |
| - |
139 |
| -## [3.1.0] - 2018-02-08 |
140 |
| - |
141 |
| -### Added |
142 |
| - |
143 |
| -- ([#18]) Laravel 5.6 support |
144 |
| - |
145 |
| -## [3.0.0] - 2017-08-27 |
146 |
| - |
147 |
| -### Added |
148 |
| - |
149 |
| -- ([#7]) Laravel 5.5 support |
150 |
| -- ([#8]) Add package auto discovery for L5.5 |
151 |
| -- Auto-loading migrations |
152 |
| - |
153 |
| -### Changed |
154 |
| - |
155 |
| -- `Cog\Ban\Contracts\Ban` moved to `Cog\Contracts\Ban\Ban` |
156 |
| -- `Cog\Ban\Contracts\HasBans` moved to `Cog\Contracts\Ban\HasBans` |
157 |
| -- `Cog\Ban\Contracts\BanService` moved to `Cog\Contracts\Ban\BanService` |
158 |
| -- All classes namespaces moved from `Cog\Ban\*` to `Cog\Laravel\Ban\*` |
159 |
| -- Renamed database table `ban` to `bans` |
160 |
| -- Renamed database column `owned_by_id` to `bannable_id` |
161 |
| -- Renamed database column `owned_by_type` to `bannable_type` |
162 |
| -- Renamed trait `HasBans` to `Bannable` |
163 |
| -- Renamed contract `HasBans` to `Bannable` |
164 |
| -- Renamed `Ban::whereOwnedBy($bannable)` to `Ban::whereBannable($bannable)` |
165 |
| -- Renamed Ban model relation `ownedBy` to `bannable` |
166 |
| - |
167 |
| -### Removed |
168 |
| - |
169 |
| -- ([#9]) Dropped Laravel Ownership Dependency |
170 |
| -- Removed `owner` method from Ban model |
171 |
| -- Removed `getOwner` method from Ban model |
172 |
| - |
173 |
| -## [2.1.0] - 2017-03-21 |
174 |
| - |
175 |
| -### Added |
176 |
| - |
177 |
| -- `withBanned`, `withoutBanned`, `onlyBanned` scopes added to all bannable models |
178 |
| - |
179 |
| -### Changed |
180 |
| - |
181 |
| -- `HasBans` is a collection of traits `HasBannedAtHelpers`, `HasBannedAtScope`, `HasBansRelation` now |
182 |
| - |
183 |
| -## [2.0.1] - 2017-03-19 |
184 |
| - |
185 |
| -### Changed |
186 |
| - |
187 |
| -- ([#4]) Events properties are public now |
188 |
| - |
189 |
| -## [2.0.0] - 2017-03-06 |
190 |
| - |
191 |
| -### Changed |
192 |
| - |
193 |
| -- Contract `CanBeBanned` renamed to `HasBans` |
194 |
| -- Trait `CanBeBanned` renamed to `HasBans` |
195 |
| - |
196 |
| -## 1.0.0 - 2017-03-05 |
197 |
| - |
198 |
| -- Initial release |
199 |
| - |
200 |
| -[Unreleased]: https://github.com/cybercog/laravel-ban/compare/4.10.0...master |
201 |
| -[4.10.0]: https://github.com/cybercog/laravel-ban/compare/4.9.0...4.10.0 |
202 |
| -[4.9.0]: https://github.com/cybercog/laravel-ban/compare/4.8.0...4.9.0 |
203 |
| -[4.8.0]: https://github.com/cybercog/laravel-ban/compare/4.7.0...4.8.0 |
204 |
| -[4.7.0]: https://github.com/cybercog/laravel-ban/compare/4.6.1...4.7.0 |
205 |
| -[4.6.1]: https://github.com/cybercog/laravel-ban/compare/4.6.0...4.6.1 |
206 |
| -[4.6.0]: https://github.com/cybercog/laravel-ban/compare/4.5.0...4.6.0 |
207 |
| -[4.5.0]: https://github.com/cybercog/laravel-ban/compare/4.4.0...4.5.0 |
208 |
| -[4.4.0]: https://github.com/cybercog/laravel-ban/compare/4.3.0...4.4.0 |
209 |
| -[4.3.0]: https://github.com/cybercog/laravel-ban/compare/4.2.1...4.3.0 |
210 |
| -[4.2.1]: https://github.com/cybercog/laravel-ban/compare/4.2.0...4.2.1 |
211 |
| -[4.2.0]: https://github.com/cybercog/laravel-ban/compare/4.1.0...4.2.0 |
212 |
| -[4.1.0]: https://github.com/cybercog/laravel-ban/compare/4.0.0...4.1.0 |
213 |
| -[4.0.0]: https://github.com/cybercog/laravel-ban/compare/3.5.0...4.0.0 |
214 |
| -[3.5.0]: https://github.com/cybercog/laravel-ban/compare/3.4.0...3.5.0 |
215 |
| -[3.4.0]: https://github.com/cybercog/laravel-ban/compare/3.3.0...3.4.0 |
216 |
| -[3.3.0]: https://github.com/cybercog/laravel-ban/compare/3.2.0...3.3.0 |
217 |
| -[3.2.0]: https://github.com/cybercog/laravel-ban/compare/3.1.0...3.2.0 |
218 |
| -[3.1.0]: https://github.com/cybercog/laravel-ban/compare/3.0.0...3.1.0 |
219 |
| -[3.0.0]: https://github.com/cybercog/laravel-ban/compare/2.1.1...3.0.0 |
220 |
| -[2.1.0]: https://github.com/cybercog/laravel-ban/compare/2.0.1...2.1.0 |
221 |
| -[2.0.1]: https://github.com/cybercog/laravel-ban/compare/2.0.0...2.0.1 |
222 |
| -[2.0.0]: https://github.com/cybercog/laravel-ban/compare/1.0.0...2.0.0 |
223 |
| - |
224 |
| -[#97]: https://github.com/cybercog/laravel-ban/pull/97 |
225 |
| -[#96]: https://github.com/cybercog/laravel-ban/pull/96 |
226 |
| -[#95]: https://github.com/cybercog/laravel-ban/pull/95 |
227 |
| -[#89]: https://github.com/cybercog/laravel-ban/pull/89 |
228 |
| -[#81]: https://github.com/cybercog/laravel-ban/pull/81 |
229 |
| -[#72]: https://github.com/cybercog/laravel-ban/pull/72 |
230 |
| -[#71]: https://github.com/cybercog/laravel-ban/pull/71 |
231 |
| -[#66]: https://github.com/cybercog/laravel-ban/pull/66 |
232 |
| -[#63]: https://github.com/cybercog/laravel-ban/pull/63 |
233 |
| -[#61]: https://github.com/cybercog/laravel-ban/pull/61 |
234 |
| -[#50]: https://github.com/cybercog/laravel-ban/pull/50 |
235 |
| -[#48]: https://github.com/cybercog/laravel-ban/pull/48 |
236 |
| -[#35]: https://github.com/cybercog/laravel-ban/pull/35 |
237 |
| -[#30]: https://github.com/cybercog/laravel-ban/pull/30 |
238 |
| -[#29]: https://github.com/cybercog/laravel-ban/pull/29 |
239 |
| -[#27]: https://github.com/cybercog/laravel-ban/pull/27 |
240 |
| -[#26]: https://github.com/cybercog/laravel-ban/pull/26 |
241 |
| -[#25]: https://github.com/cybercog/laravel-ban/pull/25 |
242 |
| -[#18]: https://github.com/cybercog/laravel-ban/pull/18 |
243 |
| -[#9]: https://github.com/cybercog/laravel-ban/pull/9 |
244 |
| -[#8]: https://github.com/cybercog/laravel-ban/pull/8 |
245 |
| -[#7]: https://github.com/cybercog/laravel-ban/pull/7 |
246 |
| -[#4]: https://github.com/cybercog/laravel-ban/pull/4 |
| 5 | +[Laravel Ban releases]: https://github.com/cybercog/laravel-ban/releases |
0 commit comments