v5.1.2
v5.1.2
Released: 2026-10-25
Bug Fixes
Windows: a project reached through an 8.3 short path, such as
C:(the default\ Users\ RUNNER~1\ … %TEMP%on GitHub runners), now builds a client bundle with a single zudo-react reactive core. Before, the samereactive.tsreached Rolldown under a short and a long spelling and shipped twice, so islands from an installed package and from the host subscribed to different signal cores.zfb build,dev,check,preview,cssandwindnow read the project root in its Windows long spelling; junctions and subst drives keep their spelling (8ca1a201f, 5409fc25b, #4499).Rolldown: an output path containing
..under a directory that does not exist yet (for example--outdir=build/../distwithbuild/absent, outside the project) now resolves to its physical spelling instead of keeping the logical one (52436652e, c8a0afefd, #4504).Rolldown: the build metafile's
externalfield now follows esbuild v0.25.12. External edges carry"external": true, every other edge omits the field, andfalseis never written. Input edges and emitted-chunk imports no longer carryexternal: false; readers that treat a missing field as false are unaffected (d17baf27b, #4506).Rolldown: an import id spelled like an emitted asset filename is reported as an external, as esbuild does. The pinned Rolldown revision never lists assets in chunk imports (41f5dc3a7, c8a0afefd, #4505).
Other Changes
Islands scanner: lookups by a symlinked (alias) spelling are memoized after the first identity lookup, so a scan through a symlinked root no longer pays a
realpathper lookup (73d7335b6, c8a0afefd, #4503).physical_spellingchecks each path component with onesymlink_metadatacall and canonicalizes only symlinks (on Unix), instead of re-canonicalizing the whole prefix per component (f15f10b7d, #4521).zfb devprints[zfb-timing] shutdown: graph savedunderZFB_DEV_TIMINGonce the shutdown graph save completes (59754a2ae, #4511).New off-by-default diagnostic: set
ZFB_DEBUG_ISLANDS_METAFILE_DIRto keep a copy of the shared islands bundle's metafile, including for a build an audit rejects (2735c6b3c, 5409fc25b, #4499).