diff --git a/CHANGELOG.md b/CHANGELOG.md index f5eb4c2..37768e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ 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/). +## 3.0.0 - 2024-08-20 +### Added +- Added craft 5 support + ## 2.1.0 - 2023-04-03 ### Added - Added `Content-Security-Policy-Report-Only` support. Thanks to @MamlukiSn diff --git a/LICENSE.md b/LICENSE.md index e078210..c3ded56 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 Born05 +Copyright (c) 2024 Born05 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/README.md b/README.md index 60dfc74..2ad35e5 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ Content Security Policy (or CSP) generator using nonces. Currently does not work in combination with `{% js %}{% endjs %}` block code twig tags. ## Requirements - -- Craft 3.0.0 +- Craft 4.0.0 and up +- PHP 8.0.2 and up ## Installation diff --git a/composer.json b/composer.json index 368e9eb..81790a5 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ ], "require": { "php": "^8.0.2", - "craftcms/cms": "^4.0.0-alpha" + "craftcms/cms": "^4.0.0-alpha|^5.0.0-beta.1" }, "autoload": { "psr-4": {