All notable changes to laravel-sluggable
will be documented in this file
- Fix query for translatable slug by @andrii-trush in #285
- @andrii-trush made their first contribution in #285
Full Changelog: https://github.com/spatie/laravel-sluggable/compare/3.7.1...3.7.2
- Add explicit nullable type for additionalQuery parameter by @RomkaLTU in #286
- @RomkaLTU made their first contribution in #286
Full Changelog: https://github.com/spatie/laravel-sluggable/compare/3.7.0...3.7.1
- Changing reference to Laravel docs without Laravel version by @abishekrsrikaanth in #274
- Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in #278
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in #281
- Add Fallback Locale and Additional Query Support to
findBySlug
by @mkeremcansev in #284
- @abishekrsrikaanth made their first contribution in #274
- @mkeremcansev made their first contribution in #284
Full Changelog: https://github.com/spatie/laravel-sluggable/compare/3.6.0...3.7.0
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in #257
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in #261
- Bump actions/checkout from 3 to 4 by @dependabot in #264
- Add laravel 11 support by @mokhosh in #271
- @mokhosh made their first contribution in #271
Full Changelog: https://github.com/spatie/laravel-sluggable/compare/3.5.0...3.6.0
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #250
- Fix badge with
build
status inREADME.md
by @gomzyakov in #252 - Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in #255
- feat: add findBySlug alias by @IsraelOrtuno in #256
- @gomzyakov made their first contribution in #252
- @IsraelOrtuno made their first contribution in #256
Full Changelog: https://github.com/spatie/laravel-sluggable/compare/3.4.2...3.5.0
- update for Laravel 10
- Update README.md by @furiouskj in #240
- composer allow-plugins config by @hotsaucejake in #241
- Normalize composer.json by @patinthehat in #247
- Add Dependabot Automation by @patinthehat in #246
- Add PHP 8.2 Support by @patinthehat in #245
- Bump actions/checkout from 2 to 3 by @dependabot in #248
- Allow set slug suffix starting number by @Vediovis in #249
- @furiouskj made their first contribution in #240
- @hotsaucejake made their first contribution in #241
- @dependabot made their first contribution in #248
- @Vediovis made their first contribution in #249
Full Changelog: https://github.com/spatie/laravel-sluggable/compare/3.4.0...3.4.1
- Converts Test cases to Pest tests by @marvin-wtt in #223
- Add ability to skip the slug generation by a condition by @masterix21 in #227
- @masterix21 made their first contribution in #227
Full Changelog: https://github.com/spatie/laravel-sluggable/compare/3.3.1...3.4.0
- Add support for spatie/laravel-translatable:^6.0 by @mziraki in #224
- @mziraki made their first contribution in #224
Full Changelog: https://github.com/spatie/laravel-sluggable/compare/3.3.0...3.3.1
- support Laravel 9
- Adds support for implicit route model binding with translated slugs by @marvin-wtt in #213
- @marvin-wtt made their first contribution in #213
Full Changelog: https://github.com/spatie/laravel-sluggable/compare/3.1.1...3.2.0
- Migrate to PHP-CS-Fixer 3.x by @shuvroroy in #203
- Adds test case for replicate method by @eduarguz in #212
- Fix Deprecation: currentSlug is null by @phh in #218
- @shuvroroy made their first contribution in #203
- @eduarguz made their first contribution in #212
- @phh made their first contribution in #218
Full Changelog: https://github.com/spatie/laravel-sluggable/compare/3.1.0...3.1.1
- add extra scope callback option (#201)
- bugfix for updating slugs generated from a callback (#200)
- update slug on non unique names (#195)
- require PHP 8+
- drop support for PHP 7.x
- convert syntax to PHP 8
- move Exceptions to
Exceptions
folder to match structure of other packages
- Added translatable slug overriding (#190)
- fix Eloquent model checking (#186)
- add
preventOverwrite
- add support for PHP 8
- fixed an incompatibility bug with postgresql uuid column (#173)
- add support for Laravel 8
- add helper trait to integrate with
laravel-translatable
#155
- fix bug that causes empty slugs when dealing with multi-bytes chars (#152)
- use method for retrieving incrementing status of the model (#151)
- add support for Laravel 7, drop support for Laravel 6
- drop support for anything below PHP 7.4 and Laravel 6
- Changed: Updated Laravel 6 compatibility for future versions
- Drop support for PHP 7.1
- Add support for Laravel 6.0
- ensure slugs are unique when using soft deletes
- Add support for Laravel 5.8
- performance improvements
- improve compatibility with json fields
- add support for Laravel 5.7
- fix for models with non incrementing primary keys
- Support Laravel 5.6
- improve compatibility with Lumen
- add
usingLanguage
- add support for Laravel 5.5, drop support for all older versions of the framework
- make compatible with PHP 7.2
- fix bugs when using a custom separator
- add
usingSeparator()
- ignore global scopes when determining a unique slug
- add support for Laravel 5.4
- add
doNotGenerateSlugsOnCreate
anddoNotGenerateSlugsOnUpdate
- Added the ability to generate slugs from a callable
- Allow custom slugs
- Fix bug when creating slugs from null values
- Fix Postgres bug
- Initial release