github-actions
released this
17 Sep 13:36
·
142 commits
to main
since this release
Minor Changes
-
✨ (EXPERIMENTAL) valibot$ validator and a fix for zod$ types. (by @fabian-hiller in #6752)
To use it, you need to pass
experimental: ['valibot']
as an option to theqwikVite
plugin as such:// vite.config.ts export default defineConfig(({ command, mode }): UserConfig => { return { plugins: [ // ... other plugins like qwikCity() etc qwikVite({ experimental: ['valibot'] // ... other options }), ], // ... rest of the config }; }
-
✨ (EXPERIMENTAL)
usePreventNavigate
lets you prevent navigation while your app's state is unsaved. It works asynchronously for SPA navigation and falls back to the browser's default dialogs for other navigations. To use it, addexperimental: ['preventNavigate']
to yourqwikVite
options. (by @wmertens in #6825)