Skip to content

@qwik.dev/router@2.0.0-rc.5

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Nov 15:44
· 4 commits to main since this release
f1a7e6b

Minor Changes

  • ✨ add the ssg retries option to re-render a failed route before the build fails (by @maiieul in #8979)

Patch Changes

  • 🐞🩹 preload bundles for catch-all routes on link prefetch and navigation (by @Varixo in #9304)

  • 🐞🩹 log and finish the response when SSR fails in dev after the response has started (by @akasakariko in #9293)

  • perf: browser apps load the serializer only with segments that need it (by @Varixo in #9323)

  • 🐞🩹 avoid quadratic parameter-value joins when matching long catch-all request paths (by @Varixo in #9320)

  • 🐞🩹 skip rerunning loader subscribers when the first client fetch has the same eTag as SSR (by @Varixo in #9221)

  • 🐞🩹 onRequest now sees the page URL when a root layout loader is requested in dev (by @fixfon in #9342)

  • 🐞🩹 settle failed action submissions and prevent duplicate form requests (by @Varixo in #9275)

  • 🐞🩹 keep a Back pressed during an in-flight navigation (by @akasakariko in #9262)

  • 🐞🩹 prevent unintended full-page animations during typed view transitions (by @Nelmad in #9375)

  • 🐞🩹 reject unsafe redirect URLs in client actions and loaders (by @Varixo in b9ebe9d)

  • 🐞🩹 production crashes now reach next(err) and the server logs (by @maiieul in #9341)

  • 🐞🩹 client-side navigation to a URL that only exists through a server rewrite() now shows the rewritten page instead of a 404, and keeps the original URL in the address bar. Submitting an action on such a page keeps it rendered too, and navigating to a route that only redirects (no page component) now follows the redirect. (by @omerman in #9225)

  • 🐞🩹 reject server$ calls that get an HTML page or another non-server$ response instead of resolving undefined (by @thelastbackspace in #9378)

  • 🐞🩹 service workers that share modules with the app now register (by @mevichitra in #9227)

  • 🐞🩹 a crashed ssg worker no longer stalls the build until it times out (by @maiieul in #8979)

  • 🐞🩹 ssg no longer silently skips routes that render a 5xx error page (by @maiieul in #8979)

  • 🐞🩹 check the origin of POST, PUT, PATCH, and DELETE requests, including browser hyperlink pings, to prevent CSRF bypasses (by @Varixo in 2fe4e50)

  • Updated dependencies [cdc83fd, e697f17, 978d9c0, 1b2efae, 31bcb99, f59f39b, 89be75b, ecf178f, 6dd1965, 7fad75a, 1edf36c, 1ad577e, e654d7b, 0be23e5, 0e88000, f2e9164, cc8f3e1, 29a7306, 15e246c, 9e8ca24, bb258cb, 5248e3b, bd7741c, 88d5c81, b8d9d70, f227fe4, a1f47ae, 0255c74, 0452ebe, 43f92cb, c60de66, ad9281d, 7c782ea, 1de5b49, 3cc490a, 9396750]:

    • @qwik.dev/core@2.0.0-rc.5