All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support for Laravel 11 (#30).
- Drop support for PHP 8.2 (#30).
- Added support for PHP 8.3 (#37).
- Add support for Laravel 10 and drop support for Laravel 9 (#34).
- PHPStan will not complain about unrecognized basic Eloquent methods (#32).
- New methods
Sluggable::firstBySlug()
andSluggable::firstBySlugOrFail()
(#20).
- Unable to chain Sluggable scopes after Built-in scopes (#20).
- Unable to call
Sluggable::findBySlug()
norSluggable::findBySlugOrFail()
on HasMany relationship (#23).
- If you customized the name of the slug column using
protected function slugColumn()
, change the visibility modifier fromprotected
topublic
(#22).
- Support for PHP 8.2 (#24).
- Dropped support for PHP 8.1 (#24).
- The
Sluggable
trait does not exploits thebooted
method anymore. Tt usesbootSluggable
now (#18).
- You can now call
$model->replicate()
without this method call raising an exception (#15).
- New
Khalyomede\EloquentUuidSlug\Rules\ExistsBySlug
validation rule (#14).
- Dropped support for PHP 8.0 since symfony/console bumped their minimum version to PHP 8.1, and laravel/framework requires this package, new Laravel installation will not work with PHP 8.0 anymore.
- New
Sluggable::findBySlug(string)
andSluggable::findBySlugOrFail(string)
methods (#10). - New
Sluggable::dropSlugColumn(Blueprint)
,Sluggable::addUnconstrainedSlugColumn(Blueprint)
andSluggable::fillEmptySlugs()
methods (#2).
- Support for Laravel 9 (#7).
- Support for PHP 8.1 (#5).
- First working version.