packagist spatie/laravel-csp 3.30.0

2 hours ago

What's Changed

  • Add the trusted-types CSP directive and the allow-duplicates keyword, with documentation and regression coverage for enforcing and report-only policies.
  • Preserve valid hash-like Trusted Types policy names without quoting them as script hashes.
  • Test PHP 8.3, 8.4, and 8.5 with Laravel 12 and 13, using Pest 5 where supported and Pest 4 for compatible older environments. Update the test checkout action to v7.
  • Drop end-of-life Laravel 11 support. PHP 8.3 remains supported.

Thanks to @alex-ng-wesoft for the original contribution in #227.

Full Changelog: 3.29.0...3.30.0

Don't miss a new laravel-csp release

NewReleases is sending notifications on new releases.