packagist spatie/laravel-csp 3.32.0

43 minutes ago

What's Changed

  • Add the opt-in LaravelPulse preset for Pulse routes, with a deny-by-default policy and path-scoped Bunny font and stylesheet sources.
  • Document the standalone route middleware setup and the inline script/style and unsafe-eval permissions required by Pulse's bundled assets.
  • Add preset snapshot coverage and a regression test confirming that other routes retain the application's stricter CSP.

No existing presets, dependency requirements, or supported versions change.

Thanks to @sgilberg for the contribution in #233.

Full Changelog: 3.31.1...3.32.0

Don't miss a new laravel-csp release

NewReleases is sending notifications on new releases.