<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Javascript on Kuldeep Pisda</title><link>https://kdpisda.in/tag/javascript/</link><description>Recent content in Javascript on Kuldeep Pisda</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 11 Nov 2026 08:30:00 +0530</lastBuildDate><atom:link href="https://kdpisda.in/tag/javascript/index.xml" rel="self" type="application/rss+xml"/><item><title>Node.js 27 Writes v8.serialize Data That Node.js 26 Cannot Read</title><link>https://kdpisda.in/node-27-v8-serialize-wire-format-16-node-26-cannot-read/</link><pubDate>Wed, 11 Nov 2026 08:30:00 +0530</pubDate><guid>https://kdpisda.in/node-27-v8-serialize-wire-format-16-node-26-cannot-read/</guid><description>&lt;p&gt;Node.js 27 alpha upgrades V8 from 14.6 to 15.6, and V8 15.6 writes structured clone data in wire format version 16. Node.js 26.13.0, 24.22.2 and 22 only understand up to version 15. They reject any buffer with a newer version in its header, before looking at the payload, with &lt;code&gt;Error: Unable to deserialize cloned data due to invalid or unsupported version.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;That format is what &lt;code&gt;v8.serialize()&lt;/code&gt;, &lt;code&gt;structuredClone()&lt;/code&gt;, &lt;code&gt;postMessage&lt;/code&gt; and child process IPC with &lt;code&gt;serialization: 'advanced'&lt;/code&gt; produce. The Node.js team&amp;rsquo;s &lt;a href="https://nodejs.org/en/blog/announcements/notable-v8-changes-from-node-js-26-to-27-alpha"&gt;notes on V8 changes in 27&lt;/a&gt; list it under potentially breaking changes: older releases fail to read the new format, while Node.js 27 still reads data from older releases.&lt;/p&gt;</description></item></channel></rss>