Skip to content

Releases: nystudio107/craft-vite

Version 1.0.28

09 Sep 05:48
Compare
Choose a tag to compare

Added

  • Added support for detecting dev-mode in Craft CMS v4 by changing App::env('ENVIRONMENT') === 'dev'
  • to App::env('ENVIRONMENT') === 'dev' || App::env('CRAFT_ENVIRONMENT') === 'dev' (#41)

Fixed

  • Set the ViteService config in the constructor, so that settings from the config/vite.php are pre-populated before the ViteService::init() method is called (#44)

Version 4.0.2

16 Jul 21:02
Compare
Choose a tag to compare

Changed

  • Fixed an issue where checkDevServer didn't work with Vite 3, because they removed the intercepting of __vite_ping (#37)

Version 1.0.27

16 Jul 21:05
Compare
Choose a tag to compare

Changed

  • Fixed an issue where checkDevServer didn't work with Vite 3, because they removed the intercepting of __vite_ping (#37)

Version 4.0.1

29 Jun 15:34
Compare
Choose a tag to compare

Changed

  • Adds a boolean as a second param to the craft.vite.asset(url, true) so that assets in the vite public folder can be referenced correctly from Twig (#9)

Version 1.0.26

29 Jun 15:32
Compare
Choose a tag to compare

Changed

  • Adds a boolean as a second param to the craft.vite.asset(url, true) so that assets in the vite public folder can be referenced correctly from Twig (#10)

Version 4.0.0

16 May 03:00
Compare
Choose a tag to compare

Added

  • Initial Craft CMS 4 release

Fixed

  • Fixed an issue where the plugin couldn't detect the Vite dev server by testing __vite_ping instead of @vite/client to determine whether the dev server is running or not (#33) (#8)

Version 1.0.25

16 May 02:58
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where the plugin couldn't detect the Vite dev server by testing __vite_ping instead of @vite/client to determine whether the dev server is running or not (#33) (#8)

Version 4.0.0-beta.4

26 Apr 18:57
Compare
Choose a tag to compare

Changed

  • Don't log the full exception on a Guzzle error, just log the message

Fixed

  • Fix semver for nystudio107/craft-plugin-vite so it's not pinned to a specific version

Version 4.0.0-beta.3

23 Mar 04:07
Compare
Choose a tag to compare

Changed

  • Only clear caches in init() if we're using the dev server
  • Cache the status of the devServer for the duration of the request

Version 1.0.24

23 Mar 04:03
Compare
Choose a tag to compare

Changed

  • Only clear caches in init() if we're using the dev server
  • Cache the status of the devServer for the duration of the request