Version 5.0.0

April 16, 2024

Added

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

Version 5.0.0-beta.3

March 2, 2024

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)

Version 5.0.0-beta.2

January 30, 2024

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

Version 5.0.0-beta.1

January 21, 2024

Added

  • Initial beta release