All notable changes to laravel-csp
will be documented in this file
- Update README.md by @federico-boncaldo in #127
- chore: update Git Attributes by @owenvoke in #129
- Mark arguments as nullable in AddCspHeaders by @jnoordsij in #128
- @federico-boncaldo made their first contribution in #127
- @owenvoke made their first contribution in #129
- @jnoordsij made their first contribution in #128
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.10.0...2.10.1
- feat: added missing 'wasm-unsafe-eval' keyword by @fxnm in #125
- @fxnm made their first contribution in #125
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.9.0...2.10.0
- Fix incorrect namespaces in README.md by @dnwjn in #121
- chore: prepare for laravel 11 by @joostdebruijn in #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 #118
- Add require-trusted-types-for directive by @nicolasbeauvais in #120
- @DevYunus made their first contribution in #118
- @nicolasbeauvais made their first contribution in #120
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.8.3...2.8.4
- Add PHP 8.2 Support by @patinthehat in #109
- Improve grammar and formatting of readme by @rubenvanerk in #112
- fix github test badge by @askdkc in #113
- @patinthehat made their first contribution in #109
- @rubenvanerk made their first contribution in #112
- @askdkc made their first contribution in #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 #105
- @bitwise-operators made their first contribution in #105
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.8.1...2.8.2
- Lazily register blade directives by @axlon in #104
- @axlon made their first contribution in #104
Full Changelog: https://github.com/spatie/laravel-csp/compare/2.8.0...2.8.1
- Fixing readme issues by @lukeclifton in #88
- Update README.md by @melicerte in #90
- Update README.md by @melicerte in #91
- Rewrite tests to use Pest by @Magiczne in #92
- Wrong method name for Vite nonce by @rcerljenko in #102
- Adds a new
@cspMetaTag
blade directive by @lukeraymonddowning in #103
- @lukeclifton made their first contribution in #88
- @melicerte made their first contribution in #90
- @Magiczne made their first contribution in #92
- @rcerljenko made their first contribution in #102
- @lukeraymonddowning made their first contribution in #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