Skip to content

V8 Updates: Migrate to v8::Object::Wrap/Unwrap #2144

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

Merged
merged 1 commit into from
May 24, 2024

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented May 20, 2024

v8 is simplifying the way embedder apis connect to wrapper JS objects.

This attempts to keep the necessary changes as minimal as possible.

Note that with the move to v8::Object::Wrap/Unwrap, we ought to be able to eliminate the special handling of the context global wrapper and simplify things a bit further, but that's bit of a larger change. Will save that for a separate PR.

@jasnell jasnell requested a review from kentonv May 20, 2024 23:02
@jasnell jasnell requested review from a team as code owners May 20, 2024 23:02
@jasnell jasnell requested a review from garrettgu10 May 20, 2024 23:02
@jasnell jasnell force-pushed the jsnell/embedder-field-refactor branch from a8de96b to 66cb668 Compare May 23, 2024 18:31
@jasnell jasnell requested a review from kentonv May 23, 2024 18:40
@jasnell jasnell changed the title Migrate to v8::Object::Wrap/Unwrap V8 Updates: Migrate to v8::Object::Wrap/Unwrap May 24, 2024
@jasnell jasnell force-pushed the jsnell/embedder-field-refactor branch from 66cb668 to 8266e11 Compare May 24, 2024 19:00
v8 is simplifying the way embedder apis connect to wrapper JS objects.
@jasnell jasnell force-pushed the jsnell/embedder-field-refactor branch from 8266e11 to 5630432 Compare May 24, 2024 19:55
@jasnell jasnell merged commit cab848c into main May 24, 2024
10 checks passed
@jasnell jasnell deleted the jsnell/embedder-field-refactor branch May 24, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants