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

pre-release5 hours ago

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

Don't miss a new qwik release

NewReleases is sending notifications on new releases.