Patch Changes
- fcaa051: Stop serializing synchronous
createProjection/createOptimisticStorederives that only waited on a pending async source during SSR, so hydrated projections run live against their hydrated source and follow subsequent writes (#5146). - a406a5d: Hydrating a settled promise of an async iterable whose stream already yielded more than once now claims the first value, as a direct stream does, instead of a later one. A stream, direct or behind a settled promise, that threw after its first yield now claims that first value and then shows the
<Errored>fallback, instead of failing inside the claim pass and leaving the server's content on screen. - 8bfca0d: Docs: the
createOptimistic,createOptimisticStoreandactionJSDoc now say that optimistic writes always revert when the action settles, and their examples keep the result by refreshing or writing the source of truth. The previous examples kept nothing (#5129). - 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). - b7d939f: Ship the MIT
LICENSEfile in every published package (#5106). - 430314c: An SSR owner disposed while the owner pool is full now drops its render's context too, so a stale reference to a reused owner no longer keeps later renders alive.
- fc0dac0: On the server, a projection or derived optimistic store whose function returns a pending async store (
createProjection(() => rows, …),createOptimisticStore(() => rows, …)) now waits for that store like a derive that read it, so<Loading>shows its fallback and the answer streams in. Before, adopting the pending store threwNotReadyErrorout of the component body. - Updated dependencies [543066e]
- Updated dependencies [83d42ba]
- Updated dependencies [30e7805]
- Updated dependencies [21bfd2d]
- Updated dependencies [3774ebe]
- Updated dependencies [6ab70e2]
- Updated dependencies [b4212bf]
- Updated dependencies [da28cd5]
- Updated dependencies [a4b4025]
- Updated dependencies [8bfca0d]
- Updated dependencies [3f655db]
- Updated dependencies [c467fcd]
- Updated dependencies [d165a5b]
- Updated dependencies [99db9bc]
- Updated dependencies [672c992]
- Updated dependencies [e2757be]
- @solidjs/signals@2.0.4