All notable changes to laravel-csp
will be documented in this file
- Fix incorrect namespaces in README.md by @dnwjn in spatie#121
- chore: prepare for laravel 11 by @joostdebruijn in spatie#124
- @dnwjn made their first contribution in spatie#121
- @joostdebruijn made their first contribution in spatie#124
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.8.4...2.9.0
- Removed expired link from readme file by @DevYunus in spatie#118
- Add require-trusted-types-for directive by @nicolasbeauvais in spatie#120
- @DevYunus made their first contribution in spatie#118
- @nicolasbeauvais made their first contribution in spatie#120
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.8.3...2.8.4
- Add PHP 8.2 Support by @patinthehat in spatie#109
- Improve grammar and formatting of readme by @rubenvanerk in spatie#112
- fix github test badge by @askdkc in spatie#113
- @patinthehat made their first contribution in spatie#109
- @rubenvanerk made their first contribution in spatie#112
- @askdkc made their first contribution in spatie#113
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.8.2...2.8.3
- Add wss: (secure websocket) scheme support by @bitwise-operators in spatie#105
- @bitwise-operators made their first contribution in spatie#105
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.8.1...2.8.2
- Lazily register blade directives by @axlon in spatie#104
- @axlon made their first contribution in spatie#104
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.8.0...2.8.1
- Fixing readme issues by @lukeclifton in spatie#88
- Update README.md by @melicerte in spatie#90
- Update README.md by @melicerte in spatie#91
- Rewrite tests to use Pest by @Magiczne in spatie#92
- Wrong method name for Vite nonce by @rcerljenko in spatie#102
- Adds a new
@cspMetaTag
blade directive by @lukeraymonddowning in spatie#103
- @lukeclifton made their first contribution in spatie#88
- @melicerte made their first contribution in spatie#90
- @Magiczne made their first contribution in spatie#92
- @rcerljenko made their first contribution in spatie#102
- @lukeraymonddowning made their first contribution in spatie#103
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.7.0...2.8.0
- support Laravel 9
- add support for PHP 8
- add prefetch-src directive (#77)
- add unsafe-hashes keyword
- Add support for Laravel 8
- added "report-to" directive (#71)
- add websockets scheme support (#65)
- Add Laravel 7 support
- Add None override
- Add Laravel 6.0 support
- add webrtc-src directive
- drop support for Laravel 5.7 and below
- drop support for PHP 7.1 and below
- add support for Laravel 5.8
- replace str_random and starts_with helpers to its class based counterpart
- use Arr:: and Str:: functions
- add new script and style directives
- moved most values in
Value
toKeyword
- remove deprecated
cspValue
function
- add possibility to change value to no value
- support for Laravel 5.7
- fix compatibility with Lumen
- make compatible with Lumen
- add value constant for
data:
- fix blade directive
- improvements around quoting values
- add
csp_nonce
function
- add value constants
- add support for PHP 7.0
- fix blade directive
- improve base profile
- fix directory name
- fix naming of classes
BROKEN VERSION, DO NOT USE
- initial release