-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V8 13.0 Deprecations #55452
Comments
Refs: #55337 |
hey @RedYetiDev I am gonna try to have a crack at solving one of these tasks. I am new to node.js and looking forward to making my first contribution. |
Be my guest 😃. By the way, for issues specifically labeled to help get you started, see issues with the "good first issue" label. |
Regarding this one. Both us (me) and Deno has commented on the Chromium issue tracker that we believe this deprecation is problematic. IMHO we should try to stick with it while it still works even if deprecated. The alternative is significantly slower (at least the way we compile V8). Refs: https://issues.chromium.org/issues/356158110 |
Fixes #54417 Ref: #55452 PR-URL: #55458 Refs: #55452 Reviewed-By: Vladimir Morozov <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: James M Snell <[email protected]>
Fixes nodejs#54417 Ref: nodejs#55452 PR-URL: nodejs#55458 Refs: nodejs#55452 Reviewed-By: Vladimir Morozov <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: James M Snell <[email protected]>
Fixes #54417 Ref: #55452 PR-URL: #55458 Refs: #55452 Reviewed-By: Vladimir Morozov <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: James M Snell <[email protected]>
Fixes nodejs#54417 Ref: nodejs#55452 PR-URL: nodejs#55458 Refs: nodejs#55452 Reviewed-By: Vladimir Morozov <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: James M Snell <[email protected]>
@ronag FastApiTypedArray has just been removed from upstream: https://chromium-review.googlesource.com/c/v8/v8/+/5982984 |
IIUC we should use this instead: https://chromium-review.googlesource.com/c/v8/v8/+/5915615 |
Fixes nodejs#54417 Ref: nodejs#55452 PR-URL: nodejs#55458 Refs: nodejs#55452 Reviewed-By: Vladimir Morozov <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: James M Snell <[email protected]>
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()
(src: switch fromGet/SetPrototype
toGet/SetPrototypeV2
#55453)GetPrototypeV2()
instead.v8::Maybe<bool> v8::Object::SetPrototype(v8::Local<v8::Context>, v8::Local<v8::Value>)
(src: switch fromGet/SetPrototype
toGet/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::Value
toString::ValueView
#55458)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.The text was updated successfully, but these errors were encountered: