packagist spatie/laravel-sluggable 4.0.5

6 hours ago

What’s Changed

  • Fix self-healing route keys returning 404 through resolveRouteBindingQuery(), including Filament record lookups and Laravel scoped child bindings, by @MohannadElemary in #315 (fixes #314).
  • Preserve supplied relationship constraints and global scopes. Support explicit, qualified and custom route key fields, translated slugs and custom separators.
  • Query-based lookups accept stale keys without redirecting, so records remain resolvable after edits. Normal route binding retains its existing 308 redirects.
  • Add regression coverage for wrong-parent rejection, soft-delete scopes, field selection and stale keys, and document query-based lookup behavior.
  • Use the Spatie-hosted README ad image.

No PHP or Laravel requirements changed.

Full Changelog: 4.0.4...4.0.5

Don't miss a new laravel-sluggable release

NewReleases is sending notifications on new releases.