-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
V8 13.0 Deprecations #55452
Copy link
Copy link
Open
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.deprecationsIssues and PRs related to deprecations.Issues and PRs related to deprecations.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
Metadata
Metadata
Assignees
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.deprecationsIssues and PRs related to deprecations.Issues and PRs related to deprecations.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
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::FastApiTypedArrayv8::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()(src: switch fromGet/SetPrototypetoGet/SetPrototypeV2#55453)GetPrototypeV2()instead.v8::Maybe<bool> v8::Object::SetPrototype(v8::Local<v8::Context>, v8::Local<v8::Value>)(src: switch fromGet/SetPrototypetoGet/SetPrototypeV2#55453)SetPrototypeV2()instead.v8::SnapshotCreator::SnapshotCreator(v8::Isolate*, const intptr_t*, const v8::StartupData*, bool)(src: migrate from deprecated SnapshotCreator constructor #55337)CreateParams.CreateParams.v8::String::Value::Value(v8::Isolate*, v8::Local<v8::Value>)(src: migrateString::ValuetoString::ValueView#55458)String::ValueViewif possible, or usestring->Writeto a buffer if not.void v8::Isolate::AttachCppHeap(v8::CppHeap*)CreateParamsinstead.void v8::Isolate::DetachCppHeap()CreateParamsinstead.