Skip to content

@qwik.dev/router@2.0.0-beta.42

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Aug 07:09
· 9 commits to main since this release
3473a49

Major Changes

  • <ErrorBoundary> moves to @qwik.dev/core behind the experimental errorBoundary flag and useErrorBoundary() is removed. fallback$ receives (error, reset), onError$ reports caught errors, and production redacts server-origin errors to a generic message + digest while client-origin errors render as thrown. (by @maiieul in #8745)

Patch Changes

  • renderToStream reports a pre-flush <ErrorBoundary> catch via onBeforeFirstFlush; the router sends Cache-Control: no-store for those pages and for error documents. (by @maiieul in #8745)

  • Updated dependencies [e29c4d8, 2fb7a08, 9ccb82a, 50c9666, 15de952]:

    • @qwik.dev/core@2.0.0-beta.42