Open RedYetiDev opened 6 hours ago
* [ ] **`v8::SnapshotCreator::SnapshotCreator(v8::Isolate*, const intptr_t*, const v8::StartupData*, bool)`** * **Reason**: Deprecated in favor of a version that passes `CreateParams`. * **Action**: Use the version that passes `CreateParams`. * **Details**: ``` ‘v8::SnapshotCreator::SnapshotCreator(v8::Isolate*, const intptr_t*, const v8::StartupData*, bool)’ is deprecated: Use the version that passes CreateParams instead. ```
Another PR is updated V8 to 13.0, so I compiled a list of deprecations from that version onward. While they don't need to be fixed immediately, it's important to know they exist.
[ ]
template<class T> struct v8::FastApiTypedArray
v8::Local<v8::Value>
instead ofFastApiTypedArray<>
.v8::Local<v8::TypedArray>
to access the data. Handle the parameter the same way as for a regular API call.[ ]
v8::Local<v8::Value> v8::Object::GetPrototype()
(https://github.com/nodejs/node/pull/55453)GetPrototypeV2()
instead.[ ]
v8::Maybe<bool> v8::Object::SetPrototype(v8::Local<v8::Context>, v8::Local<v8::Value>)
(https://github.com/nodejs/node/pull/55453)SetPrototypeV2()
instead.[ ] *`v8::SnapshotCreator::SnapshotCreator(v8::Isolate, const intptr_t, const v8::StartupData, bool)`** (#55337)
CreateParams
.CreateParams
.[ ] *`v8::String::Value::Value(v8::Isolate, v8::Local)`**
String::ValueView
if possible, or usestring->Write
to a buffer if not.[ ] *`void v8::Isolate::AttachCppHeap(v8::CppHeap)`**
CreateParams
instead.[ ]
void v8::Isolate::DetachCppHeap()
CreateParams
instead.