@qwik.dev/router@2.0.0-beta.41
📦 qwikView on GitHub →
🐛 9 fixes⚡ 1 deprecations🔧 1 symbols
Summary
This patch release includes several bug fixes, notably addressing issues with route loading, prerendering, and Zod schema detection. It also drops an unused service worker export.
🐛 Bug Fixes
- Preserve route loader mappings for long Windows paths.
- Prerendered pages without a trailing slash now redirect instead of returning 404.
- Preserve bodyless Cloudflare responses.
- Preserve document head after client head errors.
- Fixed a server-side TypeError and 500s on zod$ actions when the router resolves zod 4 in hoisted installs by making `zod$` detect schemas via `z.ZodType` instead of `z.Schema`.
- Preserve no-trailing-slash static routes.
- Preserve route params on loaders using a `search` filter.
- HEAD requests for prerendered pages returned 404 instead of the page headers.
- Refresh wrapped route loader data after SPA navigation.
Affected Symbols
⚡ Deprecations
- The `./service-worker` export has been dropped as it pointed to a non-existent file and `setupServiceWorker` is a no-op in v2.