Repository navigation
v4.1.2
Six fixes, all found by moving a nineteen-screen application
(https://github.com/monzeromer-lab/Halyard) from WebFluent 2 to 4. Nothing
here is breaking.
Fixed
- A store's
derivedmay call anactiondeclared below it. The
checker inferred each derived value as it met it, so an action declared
lower in the file read as undeclared (T13) — though a store's members
are mutually visible and the runtime binds its actions first. Half a
store's derived values failed to compile for no reason. - A
sortcomparator is handed two elements. It was typed like
map's(element, index), so the second parameter read as aNumber
and a comparator over records failed withT01. - A layout's arguments read the route's parameters. They were compiled
with no page parameters in scope, so
layout: Shell(crumb: "Build {hash}")on/app/builds/:hashcompiled
hashtolocation.hash. A11resolves anifon aBoolprop from the call. A card that
titles itselfh2under a page title andh3inside a section was
judged on both branches, so the heading-outline lint reported theh3
one against a page whose call saysh2.- A select's value takes once its options arrive. The runtime applied
it after the children passed toel(), but codegen appends
Select.Optionchildren as later statements, so a select bound to state
still showed its first option. - An animation the page never painted settles at its end, not its
start. When the clock ran out,settled()committed the animation's
current state — and a page that painted no frame is still on its first —
so a mount animation in a background tab or a prerender left the element
atopacity: 0for good.
Full Changelog: v4.1.1...v4.1.2