github QwikDev/qwik @qwik.dev/core@2.0.0-beta.32

pre-release18 hours ago

Major Changes

  • BREAKING (beta only): the interval option of useAsync$ has been renamed to expires, and a new poll option has been added to control whether the async function should be automatically re-run when it expires. (by @wmertens in #8552)

Minor Changes

  • ✨ Qwik now supports passive:eventname markers for JSX event handlers. Use them with matching on*$/document:on*$/window:on*$ listeners when you want passive browser listeners for events like touchstart, touchmove, or scroll. (by @Varixo in #8523)

  • ✨ add Temporal serialization support (by @FloezeTv in #8495)

  • ✨ The optimizer now supports inline @qwik-disable-next-line hints, allowing you to suppress specific diagnostics for the next line when needed, such as preventdefault-passive-check. (by @Varixo in #8523)

  • ✨ Qwik now supports capture:eventname markers for JSX event handlers. Use them when you want run event in capture phase (by @Varixo in #8525)

Patch Changes

  • Add allowStale option to AsyncSignal and routeLoader$. When false, invalidation clears the (by @wmertens in #8537)
    previous value so reads suspend instead of returning stale data.

  • 🐞🩹 run preventdefault:*, stoppropagation:*, and sync$ event work synchronously in the loader for all nested events (by @Varixo in #8540)

  • 🐞🩹 preserve browser event execution order for async lazy-loaded handlers (by @Varixo in #8540)

  • Updated dependencies [06d82e0, 06d82e0]:

    • @qwik.dev/optimizer@2.1.0-beta.2

Don't miss a new qwik release

NewReleases is sending notifications on new releases.