Skip to content

deps: update v8 to 15.8 - #67070

Draft
legendecas wants to merge 9 commits into
nodejs:mainfrom
legendecas:v8-158
Draft

legendecas wants to merge 9 commits into
nodejs:mainfrom
legendecas:v8-158

Conversation

@legendecas

Copy link
Copy Markdown
Member

No description provided.

legendecas and others added 8 commits October 27, 2026 16:53
Major V8 updates are usually API/ABI incompatible with previous
versions. This commit adapts NODE_MODULE_VERSION for V8 15.8.

Refs: https://github.com/nodejs/CTC/blob/master/meetings/2016-09-28.md
Original commit message:

    [sandbox] fix dispatch table access on illumos

    illumos pointers are VA48, can allocate from the top of the 64-bit range
    as well.

    Co-Authored-By: Dan McDonald <danmcd@mnx.io>
    Refs: nodejs#65161
    Change-Id: I7d803ca0da2ab6c7cc206cb964d63683523a13da

Refs: v8/v8@011b2de
Original commit message:

    Do not use preserve_most when targeting the MSVC ABI

    In the Microsoft C++ ABI, because preserve_most changes the calling
    convention, clang mangles it with U while cdecl gets an A, which
    means components compiled with different toolchains can fail to link.
    Make it a no-op when targeting MSVC and its ABI.

    Co-Authored-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
    Refs: nodejs#55784
    Change-Id: I67b49e739942d4026ac060be35bb39ec22256cbd

Refs: v8/v8@7d7e8c2
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/gyp
  • @nodejs/security-wg

@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to Node.js builds or CI infrastructure. dependencies PRs that add, update, or configure Node.js dependencies. needs-ci PRs that need a full CI run. labels Oct 27, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

V8 deprecated --harmony-struct.

Refs: https://chromium-review.googlesource.com/c/v8/v8/+/8610686
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net>
@joyeecheung

joyeecheung commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

The current stable train is still on 15.7 (stable release next week). Shouldn’t we update to that one? https://chromiumdash.appspot.com/schedule

@aduh95

aduh95 commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

My 2cts on this: I would be in favor of skipping 15.7, my reasoning is:

  • for users of Alpha releases, the more grouped are breaking changes, the better.
  • for us maintainers, landing V8 upgrades invalidate most of our binary cache.

If instead we group semver-major changes every few months, e.g. I see that V8 16.0 will be LTS and plan for December, that seems like a good candidate.

@joyeecheung

joyeecheung commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

for us maintainers, landing V8 upgrades invalidate most of our binary cache.

I think the downside of following a non-stable V8 upgrade is that it generally contains bugs/regressions that are not yet caught and will only be fixed later after it is rolled out to Chrome users and noticed. As a result we need to patch it more often to fix the bugs/regressions introduced in the non-stable releases. And because we need to bump the embedder string every time we do it, every one of these incurs a V8 rebuild in the CI, the releases will invalidate previously compiled code cache, etc. If we stick to the stable release there will generally be fewer churn because they are already battle-tested by Chrome users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to Node.js builds or CI infrastructure. dependencies PRs that add, update, or configure Node.js dependencies. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants