Skip to content

Releases: nystudio107/craft-vite

5.0.0

16 Apr 18:56
Compare
Choose a tag to compare

Added

  • Stable release for Craft CMS 5
  • Add craft/cloud to composer.json for CI

5.0.0-beta.3

02 Mar 05:12
Compare
Choose a tag to compare
5.0.0-beta.3 Pre-release
Pre-release

Added

  • Add documentation for Craft Cloud usage with Vite (#83)
  • Add support for clearing Vite caches in response to Craft Cloud's UpController::EVENT_AFTER_UP event (#83)

Fixed

  • Fixed an issue where the wrong CSS hash would be returned if you were using Vite 3 or earlier (#80)
  • Fixed an issue where craft.vite.entry() would fail if you were using Vite 5 or later, due to the ManifestHelper::fileNameWithoutHash() function not working correctly (#24)

4.0.9

02 Mar 05:11
Compare
Choose a tag to compare

Added

  • Add documentation for Craft Cloud usage with Vite (#83)
  • Add support for clearing Vite caches in response to Craft Cloud's UpController::EVENT_AFTER_UP event (#83)

Fixed

  • Fixed an issue where the wrong CSS hash would be returned if you were using Vite 3 or earlier (#80)
  • Fixed an issue where craft.vite.entry() would fail if you were using Vite 5 or later, due to the ManifestHelper::fileNameWithoutHash() function not working correctly (#24)

1.0.34

02 Mar 05:10
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where the wrong CSS hash would be returned if you were using Vite 3 or earlier (#80)
  • Fixed an issue where craft.vite.entry() would fail if you were using Vite 5 or later, due to the ManifestHelper::fileNameWithoutHash() function not working correctly (#24)

5.0.0-beta.2

30 Jan 18:28
Compare
Choose a tag to compare
5.0.0-beta.2 Pre-release
Pre-release

Added

  • If the devServer is running, the ViteService::fetch() method will try to use the devServerInternal URL first, falling back on the devServerPublic so that craft.vite.inline() can pull from the devServer if it is running (#22)
  • Add phpstan and ecs code linting
  • Add code-analysis.yaml GitHub action

Changed

  • PHPstan code cleanup
  • ECS code cleanup

4.0.8

30 Jan 18:28
Compare
Choose a tag to compare

Added

  • If the devServer is running, the ViteService::fetch() method will try to use the devServerInternal URL first, falling back on the devServerPublic so that craft.vite.inline() can pull from the devServer if it is running (#22)
  • Add phpstan and ecs 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

30 Jan 18:27
Compare
Choose a tag to compare

Added

  • If the devServer is running, the ViteService::fetch() method will try to use the devServerInternal URL first, falling back on the devServerPublic so that craft.vite.inline() can pull from the devServer if it is running (#22)
  • Add phpstan and ecs 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

5.0.0-beta.1

21 Jan 07:11
Compare
Choose a tag to compare
5.0.0-beta.1 Pre-release
Pre-release

Added

  • Initial beta release

4.0.7

08 Dec 20:23
Compare
Choose a tag to compare

Fixed

  • Fixed a type error if you passed an array of entries into the errorEntry config (#76)
  • Fixed an issue where the craft.vite.getCssHash() function didn't work with Vite 5, because it now uses a - to separate the version hash (#21)

1.0.32

08 Dec 20:22
Compare
Choose a tag to compare

Fixed

  • Fixed a type error if you passed an array of entries into the errorEntry config (#76)
  • Fixed an issue where the craft.vite.getCssHash() function didn't work with Vite 5, because it now uses a - to separate the version hash (#21)