Patch Changes
- c66e1cc: The JSX types for MathML attributes whose values are the strings
"true"and"false"(displaystyle,stretchy,largeop,movablelimits,symmetric,fence,separator,accent,accentunder) now accept those strings and reject{true}, the bare attribute and"", which write an empty value that MathML ignores, as well asboolean-typed values.{false}still removes the attribute. - 21822b2: An empty
revalidatedeclaration ([]or"") is now sent asX-Revalidate: ,instead of an empty header value, which intermediaries such as CDNs drop, turning "revalidate nothing" into "revalidate everything". - 0791152: Navigating a frame to an address whose server render throws now shows the error in the nearest
<Errored>and dropsisPending, instead of keeping the previous content up while pending forever: the server sends that response's:errorand:completeas one batch, and the landing now rejects on it. - 6d3cdef: The dev-mode hydration tag check reads the template's full tag name, so a correctly claimed custom element (a tag with a hyphen) no longer warns
Hydration tag mismatch. - f353760: Ship the MIT
LICENSEfile in the fixed-group package roots (solid-js,@solidjs/web, and the same-release@solidjs/universal/@solidjs/diagnostics) so npm tarballs include the license text for third-party notice generators (#5106). - 898af32:
Portal'smountprop now accepts aShadowRootas well as anElement, matching what the runtime already supports. - c075f02: A
<select value>set in the same turn after an unset (nullorundefined) value now keeps the new selection instead of being cleared by the earlier unset write. - e847ed1: A server function that returns a
ReadableStreamresolves on the client to thatReadableStream(getReader(),pipeTo(),tee()), not to a plain async iterable. The top-level abort wrapper applies only to other async iterables, such as an async generator's result. To cancel the call behind a returned stream, call it throughinvoke(fn, { signal })and abort the signal;cancel()on the stream stops reading but does not abort the call, the same as for a stream nested in an object. - b7d939f: Ship the MIT
LICENSEfile in every published package (#5106). - e2e6ffd: SSR now marks a conditionally rendered
<option>(a signal-driven<Show>,&&or ternary)selectedinside a bound<select value>. - ef08c1e: A prop whose expression is a ternary over an async source (
n={ans() == null ? -1 : ans().length}) now reads the value on screen from an event handler while the source re-asks, instead of throwingNotReadyError. Called with no owner (an event handler, an effect callback), the compiledmemohelper returns its function instead of creating a memo, so an effect callback that reads such a prop no longer reportsPRIMITIVE_IN_EFFECT_CALLBACKin dev. A template created with no owner therefore has no condition memo: its conditional rebuilds the branch each time the condition's sources change, not only when the condition flips. - Updated dependencies [fcaa051]
- Updated dependencies [a406a5d]
- Updated dependencies [8bfca0d]
- Updated dependencies [f353760]
- Updated dependencies [b7d939f]
- Updated dependencies [430314c]
- Updated dependencies [fc0dac0]
- solid-js@2.0.4