Major Changes
- BREAKING (beta only): the
intervaloption ofuseAsync$has been renamed toexpires, and a newpolloption 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:eventnamemarkers for JSX event handlers. Use them with matchingon*$/document:on*$/window:on*$listeners when you want passive browser listeners for events liketouchstart,touchmove, orscroll. (by @Varixo in #8523) -
✨ add
Temporalserialization support (by @FloezeTv in #8495) -
✨ The optimizer now supports inline
@qwik-disable-next-linehints, allowing you to suppress specific diagnostics for the next line when needed, such aspreventdefault-passive-check. (by @Varixo in #8523) -
✨ Qwik now supports
capture:eventnamemarkers for JSX event handlers. Use them when you want run event in capture phase (by @Varixo in #8525)
Patch Changes
-
Add
allowStaleoption to AsyncSignal and routeLoader$. Whenfalse, invalidation clears the (by @wmertens in #8537)
previous value so reads suspend instead of returning stale data. -
🐞🩹 run
preventdefault:*,stoppropagation:*, andsync$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