Releases: QwikDev/qwik
[email protected]
[email protected]
@builder.io/[email protected]
Patch Changes
-
✨ showing qrl parent names. (by @wmertens in #6881)
in dev mode, qrl segments now start with their parent filename so it's easy to see where they came from. Furthermore, in production builds these filenames are also used so that origins inq-manifest.json
are easy to understand. -
🐞🩹 Optimizer now ignores unknown deps in graph that caused crashes during build (by @wmertens in #6888)
-
🐞🩹 Do not allow object methods to be serialized with style prop (by @jakovljevic-mladen in #6932)
-
🐞🩹 In dev mode, changes to QRLs now explicitly invalidate the segment so that the browser will reload it (by @wmertens in #6938)
@builder.io/[email protected]
Patch Changes
- ✨ Experimental feature -
noSPA
. (by @wmertens in #6937)
This disables history patching, slightly reducing code size and startup time. Use this when your application is MPA only, meaning you don't use the Link component. To enable this, add it to theexperimental
array of theqwikVite
plugin (not theqwikCity
plugin).
[email protected]
[email protected]
Patch Changes
-
✨ tailwind starter dependencies upgraded to latest (by @thejackshelton in #6783)
-
✨ added
preserveModules
to library starters to improve library bundling / tree-shaking (by @thejackshelton in #6773)
@builder.io/[email protected]
Patch Changes
-
✨ Introducing the
experimental[]
option to the Vite plugin. This allows you to opt in to features that are not guaranteed to have a stable API. (by @wmertens in #6880) -
🐞🩹 gracefully handle image dimensions service errors (by @JerryWu1234 in #6855)
-
✨ Lib builds no longer perform qwik transformation. (by @wmertens in #6850)
This prevents using unstable internal APIs, and doesn't make a difference for the end user. Library authors are strongly urged to push a new library patch version built with this qwik version, and to add
| ^2.0.0
to their accepted qwik version range. -
🐞🩹 SSG Link component strips search parameters (by @JerryWu1234 in #6778)
-
🐞🩹 The PrefetchServiceWorker now has a more efficient graph and only prefetches direct imports and, at a lower priority, task QRL segments. This greatly improves its load performance. (by @wmertens in #6853)
@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)