Releases: QwikDev/qwik
@builder.io/[email protected]
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)
Patch Changes
[email protected]
[email protected]
@builder.io/[email protected]
Minor Changes
-
Updated SWC parser means that the optimizer now understands
import ... with
syntax and that enums are replaced with numbers where possible. (by @wmertens in #6005) -
The optimizer plugin will now rely on Rollup to group QRL segments. It will only provide hints on which segments fit well together. The result of this change is that now code splitting happens during the transform phase only, and other Rollup/Vite plugins (such as css-in-js plugins) can transform the code before Qwik transforms it. (by @wmertens in #6670)
-
The default asset filenames in the build have changed. Now they are under
assets/hash-name.ext
, so they are clearly separated from code. (by @wmertens in #5745)
Patch Changes
@builder.io/[email protected]
@builder.io/[email protected]