Just a heads up that V8 9.9 has updated the version number of the serialization format used by v8::ValueSerializer to 14, and has updated the version again in v8 main branch to 15.
This will cause issues as older versions of Node.js will not be able to successfully deserialize data serialized using V8 9.9.
Specifically, if we assume that Node.js 18.x will be bumped to V8 9.9, then the following flow will not work:
Node.js 18.x --> v8.serialize(new Uint8Array(10)) --> data
Node.js 17.x --> v8.deserialize(data) --> throws due to unsupported version
The deserializer is not forwards-compatible.
/cc @addaleax @targos
@lucacasonato ... Just a heads up for you here as well. I know y'all haven't yet implemented the v8.serialize/v8.deserialize APIs in the Deno node module but once you do get around to that these version bumps will likely impact deno as well.
Just a heads up that V8 9.9 has updated the version number of the serialization format used by v8::ValueSerializer to
14, and has updated the version again in v8 main branch to15.This will cause issues as older versions of Node.js will not be able to successfully deserialize data serialized using V8 9.9.
Specifically, if we assume that Node.js 18.x will be bumped to V8 9.9, then the following flow will not work:
Node.js 18.x -->
v8.serialize(new Uint8Array(10))--> dataNode.js 17.x -->
v8.deserialize(data)--> throws due to unsupported versionThe deserializer is not forwards-compatible.
/cc @addaleax @targos
@lucacasonato ... Just a heads up for you here as well. I know y'all haven't yet implemented the v8.serialize/v8.deserialize APIs in the Deno node module but once you do get around to that these version bumps will likely impact deno as well.