v0.4.1
Patch Changes
-
8555fbeThanks @leejpsd! - Fix ISR record serialization writing Buffers as JSON byte arrays instead of base64.Buffer.prototype.toJSONruns before aJSON.stringifyreplacer sees the value, so the base64 envelope branch was unreachable and every Buffer field (rendered HTML, RSC payloads, PPR segment data) was stored as{ type: "Buffer", data: [...] }— roughly 2.8x larger than base64. The replacer now reads the pre-toJSONoriginal viathis[key].No migration needed: the reviver has always accepted both shapes, so records written by either version deserialize correctly in both directions.