Skip to content

Commit

Permalink
Bump to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Roel van Hintum committed Sep 27, 2022
1 parent 3207a7e commit 613800e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 2.0.0 - 2022-09-27
### Changed
- Added craft 4 support
- Dropped `X-Content-Security-Policy` and `X-WebKit-CSP` support.

## 2.0.0-beta.2 - 2022-09-27
### Changed
- Dropped `X-Content-Security-Policy` and `X-WebKit-CSP` support.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ If using the SEOMatic plugin, nonces added by that plugin will interfer with thi
{% do seomatic.script.get("googleAnalytics").nonce(cspNonce('script-src')) %}
```

For config options see: [Settings.php](https://github.com/born05/craft-csp/blob/master/src/models/Settings.php)
For config options see: [Settings.php](https://github.com/born05/craft-csp/blob/craft4/src/models/Settings.php)

## License

Copyright © [Born05](https://www.born05.com/)

See [license](https://github.com/born05/craft-csp/blob/master/LICENSE.md)
See [license](https://github.com/born05/craft-csp/blob/craft4/LICENSE.md)
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"csp"
],
"support": {
"docs": "https://github.com/born05/craft-csp/blob/master/README.md",
"docs": "https://github.com/born05/craft-csp/blob/craft4/README.md",
"issues": "https://github.com/born05/craft-csp/issues"
},
"license": "MIT",
Expand All @@ -35,6 +35,6 @@
"handle": "content-security-policy",
"hasCpSettings": false,
"hasCpSection": false,
"changelogUrl": "https://raw.githubusercontent.com/born05/craft-csp/master/CHANGELOG.md"
"changelogUrl": "https://raw.githubusercontent.com/born05/craft-csp/craft4/CHANGELOG.md"
}
}

0 comments on commit 613800e

Please sign in to comment.