Skip to content

Update spatie/laravel-sluggable requirement from ^3.8 to ^3.8 || ^4.0#3

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/spatie/laravel-sluggable-tw-3.8or-tw-4.0
Open

Update spatie/laravel-sluggable requirement from ^3.8 to ^3.8 || ^4.0#3
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/spatie/laravel-sluggable-tw-3.8or-tw-4.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 2, 2026

Updates the requirements on spatie/laravel-sluggable to permit the latest version.

Changelog

Sourced from spatie/laravel-sluggable's changelog.

4.0.2 - 2026-04-30

  • Shorten the bundled Laravel Boost skill description so it loads in OpenAI Codex (1024 character limit).

4.0.1 - 2026-04-29

Full Changelog: spatie/laravel-sluggable@4.0.0...4.0.1

4.0.0 - 2026-04-27

v4 is mostly additive. Breaking changes are limited to minimum versions and a small handful of API removals. Full details in UPGRADING.md.

Highlights

  • #[Sluggable] attribute as a drop-in alternative to the HasSlug trait. Trait-based models keep working unchanged.
  • Self-healing URLs: route keys that combine the slug with the primary key (hello-world-5) so renaming a model never breaks an existing link. Stale URLs return a 308 (was 301) so PUT/PATCH/DELETE keep working.
  • Overridable actions: swap the slug generator or self-healing URL builder/parser via config/sluggable.php.
  • Laravel Boost skill bundled with the package for AI assistants.

Breaking changes

  • Minimum PHP 8.3 and Laravel 12. spatie/laravel-translatable v6+ when using HasTranslatableSlug. Pest 4 / Testbench 10+ in your test suite.
  • skipGenerateWhen() is now evaluated on every save instead of once. The SlugOptions::\$skipGenerate boolean is gone in favor of \$skipGenerateWhen.
  • The closure-shaped options (generateSlugsFrom, extraScope, usingSuffixGenerator, skipGenerateWhen) are typed as Closure. Array/string callables need wrapping in a fn.
  • HasSlug no longer keeps a protected \$slugOptions cache; override generateSlugAction() to inject custom behavior instead.
  • Self-healing redirects default to 308 Permanent Redirect.
  • The Sluggable facade was renamed to SelfHealing.

See UPGRADING.md for migration steps.

3.8.1 - 2026-03-23

What's Changed

  • Fix preventOverwrite for translatable slugs (#304)

Thanks to @​jyrkidn for reporting and providing the initial fix in #302.

3.8.0 - 2026-02-21

What's Changed

  • Add Laravel 13 and PHP 8.5 support
  • Drop Laravel 8/9 and PHP 8.0/8.1 (EOL)

3.7.5 - 2025-04-24

What's Changed

... (truncated)

Commits
  • 82a69be Shorten Boost skill description to fit Codex 1024 char limit
  • 8aad51f Update CHANGELOG
  • 314a0f4 wip
  • b38795c Update CHANGELOG
  • 483066b Ignore .claude, drop stale temp-dir entries
  • 576c86d Prep v4 release: parallel-safe tests, broader keywords, README clarification
  • 98f4894 Simplify v4 source: factor listeners, extract suffix scanner, inline temps
  • 8fbcbdf Fix styling
  • 59e87a8 Dedupe HasTranslatableSlug against GenerateSlugAction
  • a31359e v4 release polish: code cleanup + 13 new tests
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [spatie/laravel-sluggable](https://github.com/spatie/laravel-sluggable) to permit the latest version.
- [Release notes](https://github.com/spatie/laravel-sluggable/releases)
- [Changelog](https://github.com/spatie/laravel-sluggable/blob/main/CHANGELOG.md)
- [Commits](spatie/laravel-sluggable@3.8.0...4.0.2)

---
updated-dependencies:
- dependency-name: spatie/laravel-sluggable
  dependency-version: 4.0.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants