Skip to content

v8 15.6 - #7570

Closed
csjh wants to merge 1 commit into
mainfrom
cormick/v8-15.6
Closed

v8 15.6#7570
csjh wants to merge 1 commit into
mainfrom
cormick/v8-15.6

Conversation

@csjh

@csjh csjh commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Bump V8 from 15.5.35.7 to 15.6.75 and rebase our V8 patches onto it. Add 0044, which disables metagen instance types in the Bazel build.

Since V8 15.6, new Function() with no arguments passes isCodeLike = false to the code generation callback, and V8 also reports each object argument before converting it to a string. The empty-function allowance in modifyCodeGenCallback therefore now matches on the exact synthesized source alone. setup-test covers new Function(''), which is now allowed, and an object argument, which stays blocked.

Generated by the V8 nightly (ci/v8-nightly).

@csjh
csjh marked this pull request as ready for review September 29, 2026 20:27
@csjh
csjh requested review from a team as code owners September 29, 2026 20:27
@ask-bonk

ask-bonk Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Since last review: 1 resolved, 0 still open, 0 new.
LGTM!


Reviewed commit: 469fc985 · github run

Comment thread build/deps/v8.MODULE.bazel
@csjh
csjh force-pushed the cormick/v8-15.6 branch 4 times, most recently from 0b3d826 to f394d0e Compare September 29, 2026 21:08
@csjh
csjh force-pushed the cormick/v8-15.6 branch from f394d0e to 7a08c84 Compare October 8, 2026 03:08
Comment thread build/deps/gen/deps.MODULE.bazel Outdated
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

The generated output of @cloudflare/workers-types matches the snapshot in types/generated-snapshot 🎉

Bump V8 from 15.5.35.7 to 15.6.75 and rebase our V8 patches onto
it. Extend 0043 to also disable metagen instance types in the Bazel
build, since V8 15.6 enables them by default.

Since V8 15.6, new Function() with no arguments passes isCodeLike =
false to the code generation callback, and V8 also reports each
object argument before converting it to a string. The empty-function
allowance in modifyCodeGenCallback therefore now matches on the exact
synthesized source alone. setup-test covers new Function(''), which
is now allowed, and an object argument, which stays blocked.

V8 15.6 deprecates FunctionCallbackInfo::Data() in favor of
DataV2(), which returns a v8::Data. Switch our callbacks to
DataV2().As<v8::Value>(), since clang-tidy treats the deprecation
warning as an error.

V8 15.6 also deprecates the V2 continuation-preserved embedder data
accessors, which are now plain aliases. Call the unsuffixed
Get/SetContinuationPreservedEmbedderData() instead.

Standard API audit: V8 15.6.75 enables no new standard API by
default, so this update disables none and needs no compatibility
flag. V8's shipped feature list (src/flags/feature-flags.h) gains
only homomorphic_ic, an internal IC optimization. Wasm
wide_arithmetic moves from pre-staged to staged and stays off. No
flag default changes to enable a feature, and
src/init/bootstrapper.cc and src/builtins/builtins-definitions.h are
unchanged from 15.5.35.7. The only newly installed function,
Sandbox.getMetadata, belongs to V8's sandbox testing API, which
workerd does not enable. Import text shipped before 15.6 and stays
disabled with --nojs-import-text.

Generated by the V8 nightly (ci/v8-nightly).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@csjh
csjh force-pushed the cormick/v8-15.6 branch from 7a08c84 to 469fc98 Compare October 8, 2026 03:26
@jp4a50 jp4a50 mentioned this pull request Oct 9, 2026
@jp4a50

jp4a50 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Closing in favour of #7676

@jp4a50 jp4a50 closed this Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants