Skip to content

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

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Aug 07:09
· 2 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)

Minor 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)

Patch Changes

  • 🐞🩹 redact server-origin errors when serializing errored async signals in production (by @maiieul in #8745)

  • 🐞🩹 show the Suspense fallback when a suspending child is wrapped in an ErrorBoundary. (by @maiieul in #8745)

  • 🐞🩹 a failed handler chunk import is no longer reported twice for streamed containers (by @maiieul in #8745)