$ the-wire · showcase
Undici caps cached and error-body retention, drops Milo from the Node core bundle
By RepoJournal · Filed · About Node.js · Composed from the cited sources · methodology
Undici landed three behavior-changing fixes: zero-lifetime cache entries are now always stale, response error bodies are capped at 1 MiB by default, and experimental Milo is excluded from the Node.js core bundle.
fix(cache): always treat zero-lifetime entries as stale (#5980) nodejs/undici
Entries served with a zero lifetime are now always treated as stale rather than being served from cache. If your code relied on a zero lifetime meaning "cache but revalidate later", it will now re-fetch.
fix(interceptor): limit response error body size nodejs/undici
interceptors.responseError() gained a maxSize option and now retains at most 1 MiB of a decoded error body, where those bodies previously had no interceptor-specific limit. Setting maxSize: 0 restores unlimited retention; the PR frames the change as hardening against arbitrarily large decoded error bodies.
fix: exclude experimental milo from node.js core bundle nodejs/undici
Milo is excluded from the Node.js core bundle via the existing esbuildDetection build-time marker, so core always uses llhttp even when UNDICI_USE_MILO or useMilo: true requests Milo. The PR notes ordinary npm imports and esbuild bundles retain experimental Milo support.
Security Patches for Gradle 8.14.6 and 9.8.1 (#22452) nodejs/official-images
Gradle 8.14.6 and 9.8.1 security patches landed in the official-images build. If your container images pin Gradle, rebuild on the patched tags.
[security] Update golang nodejs/official-images
Rounding out the day: Go moved to 1.27.2 and 1.26.9 under a security-tagged update, docker 29 went to 29.9.0 with buildx 0.38.0, PHP moved to 8.6.0RC3 and 8.4.27RC1, and a fetch-level regression test now locks in that HTTP/2 streams closed with NGHTTP2_INTERNAL_ERROR reject instead of leaving the promise pending.
Action items
- → Rebuild images pinning Gradle onto 8.14.6 or 9.8.1 nodejs/official-images [plan]
- → Rebuild images pinning Go onto 1.27.2 or 1.26.9 nodejs/official-images [plan]