Version 5.0.1
August 13, 2024
Added
- Added a
craft.vite.integrity()method that will extract the integrity hash (for building a Content Security Policy) - Added an
includeScriptOnloadHandlerconfig setting that allows you to disable the adding of anonloadhandler on the<script>tags (useful when implementing a Content Security Policy)
Changed
- Filter out empty attributes so they don't render on the
<script>tags
Fixed
- Use
strrposinstead ofstrposwhen attempting to extract a file name without the hash (#28)
Version 5.0.0
April 16, 2024
Added
- Stable release for Craft CMS 5
- Add
craft/cloudtocomposer.jsonfor CI
Version 5.0.0-beta.2
January 30, 2024
Added
- If the
devServeris running, theViteService::fetch()method will try to use thedevServerInternalURL first, falling back on thedevServerPublicso thatcraft.vite.inline()can pull from thedevServerif it is running (#22) - Add
phpstanandecscode linting - Add
code-analysis.yamlGitHub action
Changed
- PHPstan code cleanup
- ECS code cleanup
Version 5.0.0-beta.1
January 21, 2024
Added
- Initial beta release