| 166 |
lars |
1 |
# Changelog
|
|
|
2 |
|
|
|
3 |
All notable changes to `laravel-sluggable` will be documented in this file
|
|
|
4 |
|
|
|
5 |
## 3.4.0 - 2022-03-28
|
|
|
6 |
|
|
|
7 |
## What's Changed
|
|
|
8 |
|
|
|
9 |
- Converts Test cases to Pest tests by @marvin-wtt in https://github.com/spatie/laravel-sluggable/pull/223
|
|
|
10 |
- Add ability to skip the slug generation by a condition by @masterix21 in https://github.com/spatie/laravel-sluggable/pull/227
|
|
|
11 |
|
|
|
12 |
## New Contributors
|
|
|
13 |
|
|
|
14 |
- @masterix21 made their first contribution in https://github.com/spatie/laravel-sluggable/pull/227
|
|
|
15 |
|
|
|
16 |
**Full Changelog**: https://github.com/spatie/laravel-sluggable/compare/3.3.1...3.4.0
|
|
|
17 |
|
|
|
18 |
## 3.3.1 - 2022-03-09
|
|
|
19 |
|
|
|
20 |
## What's Changed
|
|
|
21 |
|
|
|
22 |
- Add support for spatie/laravel-translatable:^6.0 by @mziraki in https://github.com/spatie/laravel-sluggable/pull/224
|
|
|
23 |
|
|
|
24 |
## New Contributors
|
|
|
25 |
|
|
|
26 |
- @mziraki made their first contribution in https://github.com/spatie/laravel-sluggable/pull/224
|
|
|
27 |
|
|
|
28 |
**Full Changelog**: https://github.com/spatie/laravel-sluggable/compare/3.3.0...3.3.1
|
|
|
29 |
|
|
|
30 |
## 3.3.0 - 2022-01-13
|
|
|
31 |
|
|
|
32 |
- support Laravel 9
|
|
|
33 |
|
|
|
34 |
## 3.2.0 - 2021-12-15
|
|
|
35 |
|
|
|
36 |
## What's Changed
|
|
|
37 |
|
|
|
38 |
- Adds support for implicit route model binding with translated slugs by @marvin-wtt in https://github.com/spatie/laravel-sluggable/pull/213
|
|
|
39 |
|
|
|
40 |
## New Contributors
|
|
|
41 |
|
|
|
42 |
- @marvin-wtt made their first contribution in https://github.com/spatie/laravel-sluggable/pull/213
|
|
|
43 |
|
|
|
44 |
**Full Changelog**: https://github.com/spatie/laravel-sluggable/compare/3.1.1...3.2.0
|
|
|
45 |
|
|
|
46 |
## 3.1.1 - 2021-12-13
|
|
|
47 |
|
|
|
48 |
## What's Changed
|
|
|
49 |
|
|
|
50 |
- Migrate to PHP-CS-Fixer 3.x by @shuvroroy in https://github.com/spatie/laravel-sluggable/pull/203
|
|
|
51 |
- Adds test case for replicate method by @eduarguz in https://github.com/spatie/laravel-sluggable/pull/212
|
|
|
52 |
- Fix Deprecation: currentSlug is null by @phh in https://github.com/spatie/laravel-sluggable/pull/218
|
|
|
53 |
|
|
|
54 |
## New Contributors
|
|
|
55 |
|
|
|
56 |
- @shuvroroy made their first contribution in https://github.com/spatie/laravel-sluggable/pull/203
|
|
|
57 |
- @eduarguz made their first contribution in https://github.com/spatie/laravel-sluggable/pull/212
|
|
|
58 |
- @phh made their first contribution in https://github.com/spatie/laravel-sluggable/pull/218
|
|
|
59 |
|
|
|
60 |
**Full Changelog**: https://github.com/spatie/laravel-sluggable/compare/3.1.0...3.1.1
|
|
|
61 |
|
|
|
62 |
## 3.1.0 - 2021-06-04
|
|
|
63 |
|
|
|
64 |
- add extra scope callback option (#201)
|
|
|
65 |
|
|
|
66 |
## 3.0.2 - 2021-05-07
|
|
|
67 |
|
|
|
68 |
- bugfix for updating slugs generated from a callback (#200)
|
|
|
69 |
|
|
|
70 |
## 3.0.1 - 2021-04-22
|
|
|
71 |
|
|
|
72 |
- update slug on non unique names (#195)
|
|
|
73 |
|
|
|
74 |
## 3.0.0 - 2021-03-01
|
|
|
75 |
|
|
|
76 |
- require PHP 8+
|
|
|
77 |
- drop support for PHP 7.x
|
|
|
78 |
- convert syntax to PHP 8
|
|
|
79 |
- move Exceptions to `Exceptions` folder to match structure of other packages
|
|
|
80 |
|
|
|
81 |
## 2.6.2 - 2021-03-20
|
|
|
82 |
|
|
|
83 |
- Added translatable slug overriding (#190)
|
|
|
84 |
|
|
|
85 |
## 2.6.1 - 2020-01-31
|
|
|
86 |
|
|
|
87 |
- fix Eloquent model checking (#186)
|
|
|
88 |
|
|
|
89 |
## 2.6.0 - 2020-10-28
|
|
|
90 |
|
|
|
91 |
- add `preventOverwrite`
|
|
|
92 |
- add support for PHP 8
|
|
|
93 |
|
|
|
94 |
## 2.5.2 - 2020-10-01
|
|
|
95 |
|
|
|
96 |
- fixed an incompatibility bug with postgresql uuid column (#173)
|
|
|
97 |
|
|
|
98 |
## 2.5.1 - 2020-09-07
|
|
|
99 |
|
|
|
100 |
- add support for Laravel 8
|
|
|
101 |
|
|
|
102 |
## 2.5.0 - 2020-06-15
|
|
|
103 |
|
|
|
104 |
- add helper trait to integrate with `laravel-translatable` #155
|
|
|
105 |
|
|
|
106 |
## 2.4.2 - 2020-04-20
|
|
|
107 |
|
|
|
108 |
- fix bug that causes empty slugs when dealing with multi-bytes chars (#152)
|
|
|
109 |
|
|
|
110 |
## 2.4.1 - 2020-04-09
|
|
|
111 |
|
|
|
112 |
- use method for retrieving incrementing status of the model (#151)
|
|
|
113 |
|
|
|
114 |
## 2.4.0 - 2020-03-03
|
|
|
115 |
|
|
|
116 |
- add support for Laravel 7, drop support for Laravel 6
|
|
|
117 |
|
|
|
118 |
## 2.3.0 - 2019-12-06
|
|
|
119 |
|
|
|
120 |
- drop support for anything below PHP 7.4 and Laravel 6
|
|
|
121 |
|
|
|
122 |
## 2.2.1 - 2019-09-16
|
|
|
123 |
|
|
|
124 |
- Changed: Updated Laravel 6 compatibility for future versions
|
|
|
125 |
|
|
|
126 |
## 2.2.0 - 2019-09-04
|
|
|
127 |
|
|
|
128 |
- Drop support for PHP 7.1
|
|
|
129 |
- Add support for Laravel 6.0
|
|
|
130 |
|
|
|
131 |
## 2.1.8 - 2019-06-08
|
|
|
132 |
|
|
|
133 |
- ensure slugs are unique when using soft deletes
|
|
|
134 |
|
|
|
135 |
## 2.1.7 - 2019-02-26
|
|
|
136 |
|
|
|
137 |
- Add support for Laravel 5.8
|
|
|
138 |
|
|
|
139 |
## 2.1.6 - 2018-02-14
|
|
|
140 |
|
|
|
141 |
- performance improvements
|
|
|
142 |
|
|
|
143 |
## 2.1.5 - 2018-01-10
|
|
|
144 |
|
|
|
145 |
- improve compatibility with json fields
|
|
|
146 |
|
|
|
147 |
## 2.1.4 - 2018-08-28
|
|
|
148 |
|
|
|
149 |
- add support for Laravel 5.7
|
|
|
150 |
|
|
|
151 |
## 2.1.3 - 2018-02-15
|
|
|
152 |
|
|
|
153 |
- fix for models with non incrementing primary keys
|
|
|
154 |
|
|
|
155 |
## 2.1.2 - 2018-02-08
|
|
|
156 |
|
|
|
157 |
- Support Laravel 5.6
|
|
|
158 |
|
|
|
159 |
## 2.1.1 - 2017-01-28
|
|
|
160 |
|
|
|
161 |
- improve compatibility with Lumen
|
|
|
162 |
|
|
|
163 |
## 2.1.0 - 2017-09-13
|
|
|
164 |
|
|
|
165 |
- add `usingLanguage`
|
|
|
166 |
|
|
|
167 |
## 2.0.0 - 2017-08-31
|
|
|
168 |
|
|
|
169 |
- add support for Laravel 5.5, drop support for all older versions of the framework
|
|
|
170 |
|
|
|
171 |
## 1.5.2 - 2018-05-08
|
|
|
172 |
|
|
|
173 |
- make compatible with PHP 7.2
|
|
|
174 |
|
|
|
175 |
## 1.5.1 - 2017-08-19
|
|
|
176 |
|
|
|
177 |
- fix bugs when using a custom separator
|
|
|
178 |
|
|
|
179 |
## 1.5.0 - 2017-04-13
|
|
|
180 |
|
|
|
181 |
- add `usingSeparator()`
|
|
|
182 |
|
|
|
183 |
## 1.4.1 - 2017-04-11
|
|
|
184 |
|
|
|
185 |
- ignore global scopes when determining a unique slug
|
|
|
186 |
|
|
|
187 |
## 1.4.0 - 2017-01-24
|
|
|
188 |
|
|
|
189 |
- add support for Laravel 5.4
|
|
|
190 |
|
|
|
191 |
## 1.3.0 - 2016-11-14
|
|
|
192 |
|
|
|
193 |
- add `doNotGenerateSlugsOnCreate` and `doNotGenerateSlugsOnUpdate`
|
|
|
194 |
|
|
|
195 |
## 1.2.0 - 2016-06-13
|
|
|
196 |
|
|
|
197 |
- Added the ability to generate slugs from a callable
|
|
|
198 |
|
|
|
199 |
## 1.1.0 - 2016-01-24
|
|
|
200 |
|
|
|
201 |
- Allow custom slugs
|
|
|
202 |
|
|
|
203 |
## 1.0.2 - 2016-01-12
|
|
|
204 |
|
|
|
205 |
- Fix bug when creating slugs from null values
|
|
|
206 |
|
|
|
207 |
## 1.0.1 - 2015-12-27
|
|
|
208 |
|
|
|
209 |
- Fix Postgres bug
|
|
|
210 |
|
|
|
211 |
## 1.0.0 - 2015-12-24
|
|
|
212 |
|
|
|
213 |
- Initial release
|