Repository navigation
V8 13.0 Deprecations #55452
Description
Activity
- addedc++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++.v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.deprecationsIssues and PRs related to deprecations.Issues and PRs related to deprecations.
on Oct 18, 2024 * [ ] **`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. ```Refs: #55337
Reacted by Aviv Kellerhey @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.
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.
template struct v8::FastApiTypedArray
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
Refs: https://x.com/rough__sea/status/1819296459071598668
Refs: v8#197
Refs: #54087
Refs: #54103Reacted by Aviv Keller- added a commit that references this issue
on Oct 29, 2024 - added a commit that references this issue
on Nov 1, 2024 @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
Reacted by Andrew Johnston- added a commit that references this issue
on Jul 22, 2025 github-actions commented
on Apr 27, 2026 on Apr 27, 2026 – with GitHub ActionsContributorMore actionsThis issue has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.- addedstaleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.
on Apr 27, 2026 github-actions commented
on May 27, 2026 on May 27, 2026 – with GitHub ActionsContributorMore actionsThis issue has been automatically closed after 30 days of inactivity following its stale status (no activity for a total of 240 days).
If this is still relevant, feel free to reopen it or leave a comment with additional details so we can continue the discussion.
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.