Patch Changes
-
#3635
7a4306bThanks @DylanPiercey! - Stop an attribute tag whose attributes are a lone spread (<@item ...obj/>) from mutating the spread object itself, which addedSymbol.iteratorand an internal symbol to the caller's own data and threw on a frozen object. -
#3637
fe76065Thanks @DylanPiercey! - Stop a Class-API component rendered at both an inert and an updating call site from inheriting the first call site's"preserve"boundary mode, which left the updating one serialized as a component that never re-renders in the browser. -
#3646
5e7e830Thanks @DylanPiercey! - Fix a DOM compile of a template containing a<define>with body content whose tag variable is never referenced failing withMarko internal error: analysis marked this template's setup export as empty but translation produced statements for it. -
#3626
9512e6dThanks @DylanPiercey! - Run<lifecycle>onDestroyand abort in-flight$signalrequests when a scope is destroyed outside a render, such as from a mounted template'sdestroy(). -
#3639
66c377dThanks @DylanPiercey! - Report a compile error when an<import>/<export>line holds more than one statement. Every statement after the first was silently discarded, leaving the template referencing an undefined binding at render. -
#3627
d69a01bThanks @DylanPiercey! - Fix aTypeError: Cannot read properties of undefined (reading 'default')when compiling a template containing<attrs>or<effect>throughmarko/translator, whose taglib merge dropped the array-formmigratehooks those tags declare. -
#3631
bbeb2b4Thanks @DylanPiercey! - Detect<attrs>and<effect>as Tags-API markers, so a template whose only Marko 6 signal is one of them is no longer translated as Class API, where the tag is not defined. -
#3641
cab904bThanks @DylanPiercey! - Fixx ||= …,x &&= …andx ??= …on a tag variable crashing the DOM compile with an internal Babel error, and skip the assignment entirely when the operator short circuits. -
#3647
75de395Thanks @DylanPiercey! - Drop$globalfrom the input a mounted template'supdateforwards, matchingmount. A template that spreads its input previously threwInvalid attribute name: "$global"on update, since the branch's global is fixed at mount and the property was passed through as an ordinary one. -
#3634
c55d6cfThanks @DylanPiercey! - Fix aSyntaxErrorin the resume payload when a serialized generator returns one of its own ancestors, which emitted an assignment with no property to assign to and broke the whole page's resume. -
#3603
7a20a61Thanks @DylanPiercey! - Keep two-way bindings alive when a controllable is declared as a static attribute next to a spread, both at client-render mount and whenever the spread re-runs. -
#3644
a6acddeThanks @DylanPiercey! - Keep a<textarea>value's leading newline through an SSR render. The HTML parser discards one newline directly after the start tag, so the first line of the value was silently dropped on the server while the client kept it. -
Updated dependencies [
ded2fd5,3e29e2c]:- @marko/compiler@5.41.10