Releases: nystudio107/craft-vite
Releases · nystudio107/craft-vite
5.0.1
Added
- Added a
craft.vite.integrity()
method that will extract the integrity hash (for building a Content Security Policy) - Added an
includeScriptOnloadHandler
config setting that allows you to disable the adding of anonload
handler 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
strrpos
instead ofstrpos
when attempting to extract a file name without the hash (#28)
4.0.10
Added
- Added a
craft.vite.integrity()
method that will extract the integrity hash (for building a Content Security Policy) - Added an
includeScriptOnloadHandler
config setting that allows you to disable the adding of anonload
handler 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
strrpos
instead ofstrpos
when attempting to extract a file name without the hash (#28)
1.0.35
Added
- Added a
craft.vite.integrity()
method that will extract the integrity hash (for building a Content Security Policy) - Added an
includeScriptOnloadHandler
config setting that allows you to disable the adding of anonload
handler 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
strrpos
instead ofstrpos
when attempting to extract a file name without the hash (#28)
5.0.0
Added
- Stable release for Craft CMS 5
- Add
craft/cloud
tocomposer.json
for CI
5.0.0-beta.3
4.0.9
1.0.34
5.0.0-beta.2
Added
- If the
devServer
is running, theViteService::fetch()
method will try to use thedevServerInternal
URL first, falling back on thedevServerPublic
so thatcraft.vite.inline()
can pull from thedevServer
if it is running (#22) - Add
phpstan
andecs
code linting - Add
code-analysis.yaml
GitHub action
Changed
- PHPstan code cleanup
- ECS code cleanup
4.0.8
Added
- If the
devServer
is running, theViteService::fetch()
method will try to use thedevServerInternal
URL first, falling back on thedevServerPublic
so thatcraft.vite.inline()
can pull from thedevServer
if it is running (#22) - Add
phpstan
andecs
code linting - Add
code-analysis.yaml
GitHub action
Changed
- Updated docs to use node 20 & a new sitemap plugin
- PHPstan code cleanup
- ECS code cleanup
1.0.33
Added
- If the
devServer
is running, theViteService::fetch()
method will try to use thedevServerInternal
URL first, falling back on thedevServerPublic
so thatcraft.vite.inline()
can pull from thedevServer
if it is running (#22) - Add
phpstan
andecs
code linting - Add
code-analysis.yaml
GitHub action
Changed
- Updated docs to use node 20 & a new sitemap plugin
- PHPstan code cleanup
- ECS code cleanup