Releases: Julien-R44/vite-plugin-validate-env
Releases · Julien-R44/vite-plugin-validate-env
v1.2.0
🐞 Bug Fixes
- Add vite 6+ to supported list of vite versions - by @theZieger (21203)
View changes on GitHub
v1.1.1
Fixes
- Import dynamically Vite to avoid using the soon to be obsolete CJS version of Vite ( 2b373a4 )
View changes on GitHub
v1.1.0
v1.0.1
1.0.0
Breaking Changes
Before, the plugin didn't really work at 100%, or at least, it wasn't totally type safe. Only strings were stored in import.meta.env. Even when using z.number()
or Schema.number()
. Same for all other types other than string
. It's all fixed now, everything works as expected. We've changed our strategy and now use define
from vite rather than process.env.
This is the main reason for this major version change.
Features
- Added a
debug
property in the plugin configuration that allows process.env to be logged before the vite-plugin-validate-env processing
Fixes
- Previously, when .env file was modified and the vite dev server was running, the changes were not taken into account. This is now fixed
New Contributors
Full Changelog: v0.2.5...v1.0.0
v0.2.4
🐞 Bug Fixes
- Don't stop validation when value is undefined - by @Julien-R44 (8ddf0)
View changes on GitHub
v0.2.3
- Fixed issue with optional schemas #9
View changes on GitHub
v0.2.2
No significant changes
View changes on GitHub
v0.2.1
v0.2.0
Now we are displaying all validations error at once :
Thanks to @reslear for suggesting this idea in #5
Changelog
🚀 Features
- Display all validation errors at once - by @Julien-R44 (d1bd8)