Skip to content

Latest commit

 

History

History
109 lines (56 loc) · 3.69 KB

CHANGELOG.md

File metadata and controls

109 lines (56 loc) · 3.69 KB

Changelog

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.

[Unreleased]

[0.11.0] - 2024-05-03

Added

  • Support for Laravel 11 (#30).

Breaking

  • Drop support for PHP 8.2 (#30).

[0.10.0] - 2023-11-27

Added

  • Added support for PHP 8.3 (#37).

[0.9.0] - 2023-02-14

Breaking

  • Add support for Laravel 10 and drop support for Laravel 9 (#34).

[0.8.1] - 2023-02-01

Fixed

  • PHPStan will not complain about unrecognized basic Eloquent methods (#32).

[0.8.0] - 2023-01-15

Added

  • New methods Sluggable::firstBySlug() and Sluggable::firstBySlugOrFail() (#20).

Fixed

  • Unable to chain Sluggable scopes after Built-in scopes (#20).
  • Unable to call Sluggable::findBySlug() nor Sluggable::findBySlugOrFail() on HasMany relationship (#23).

Breaked

  • If you customized the name of the slug column using protected function slugColumn(), change the visibility modifier from protected to public (#22).

[0.7.0] 2022-12-10

Added

  • Support for PHP 8.2 (#24).

Breaking

  • Dropped support for PHP 8.1 (#24).

[0.6.0] 2022-06-07

Breaking

  • The Sluggable trait does not exploits the booted method anymore. Tt uses bootSluggable now (#18).

[0.5.1] 2022-06-07

Fixed

  • You can now call $model->replicate() without this method call raising an exception (#15).

[0.5.0] 2022-06-06

Added

  • New Khalyomede\EloquentUuidSlug\Rules\ExistsBySlug validation rule (#14).

Breaking

  • 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.

[0.4.0] 2022-04-03

Added

  • New Sluggable::findBySlug(string) and Sluggable::findBySlugOrFail(string) methods (#10).
  • New Sluggable::dropSlugColumn(Blueprint), Sluggable::addUnconstrainedSlugColumn(Blueprint) and Sluggable::fillEmptySlugs() methods (#2).

[0.3.0] 2022-02-12

Added

  • Support for Laravel 9 (#7).

[0.2.0] 2021-12-29

Added

  • Support for PHP 8.1 (#5).

[0.1.0] 2021-08-22

Added

  • First working version.