Skip to content

add a node suffix to V8's version number #15698

Description

@targos

About one year ago, we tried to add the possibility on V8 to have a custom suffix appended to the version string. This would allow us to apply patches to stable V8 versions without conflicting with the original version number and keep track of our own changes. The idea is to define this suffix in common.gypi (example).
For example we can choose to use .node.X or -node.X and increment X every time we apply a non-official patch to deps/v8. The full version string would look like 6.1.534.42.node.12.

Unfortunately, the change failed to land at that time because of an issue with how V8 is updated in Chromium. I changed the code a little bit this week and it should be good to go. The CL has already been reviewed and accepted: https://chromium-review.googlesource.com/c/v8/v8/+/690475

@nodejs/v8 and @nodejs/tsc please give your opinion on the approach. If you are OK with it, I will land the change in V8 and backport it here so we can have it on time for v9.0.0.

Activity

  1. added
    discussIssues opened for discussion and feedback.
    v8 engineIssues and PRs related to the V8 dependency.
    on Sep 30, 2017
  2. added this to the 9.0.0 milestone on Sep 30, 2017
  3. mcollina commented on Sep 30, 2017

    @mcollina
    SponsorMember
  4. addaleax commented on Sep 30, 2017

    @addaleax
    Member

    Thanks for looking after this – I think I’d prefer -node.X as the suffix :)

  5. ofrobots commented on Sep 30, 2017

    @ofrobots
    Contributor

    Thanks for getting this put together! I think this would be semver major because I suspect people try to parse the process.versions.v8 string.

  6. targos commented on Sep 30, 2017

    @targos
    MemberAuthor

    I think this would be semver major because I suspect people try to parse the process.versions.v8 string.

    I agree. This is why I would like it to be ready for v9.

  7. targos commented on Oct 5, 2017

    @targos
    MemberAuthor

    PR: #15785

  8. added a commit that references this issue on Oct 26, 2017
  9. added a commit that references this issue on Dec 7, 2017
  10. added a commit that references this issue on Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussIssues opened for discussion and feedback.v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions