Skip to content

Prepare for v27 #1187

Open
Open

Description

@RafaelGSS

Pull requests needed to prepare the v27.x release line. The first Alpha, v27.0.0-alpha.0.0.0, is planned for 2026-10-28.

These are all the changes I could map. If I missed something, please let me know in this issue.

cc @nodejs/releasers

Activity

  1. MikeMcC399 commented on Oct 18, 2026

    @MikeMcC399
    Member
  2. joyeecheung commented on Oct 19, 2026

    @joyeecheung
    Member

    I am working on a V8 14.6 (on 26) -> 15.6 (on main currently) highlights for the release notes, it's still currently incomplete. https://hackmd.io/@openjs-nodejs/Bkrj9UAjMg

    Note that V8 15.6 will have a stable release on Oct 20 (which would include bug fixes etc. they catch from Chrome). I'll refresh the V8 version on main then, and it shouldn't have much build issues. I think it would be great if 27 ship with that stable release. Planning to finalize the V8 hightlights after that update.

  3. MikeMcC399 commented on Oct 26, 2026

    @MikeMcC399
  4. RafaelGSS commented on Oct 27, 2026

    @RafaelGSS
    MemberAuthor

    Created v27.x and v27.x-staging from main (98dbf6070e8) and the v27.x labels (v27.x, backport-blocked-v27.x, backport-open-v27.x, backport-requested-v27.x, backported-to-v27.x, dont-land-on-v27.x)

  5. 16 remaining items

  6. MichaIng commented on Nov 16, 2026

    @MichaIng

    Basically setting "alpha" and "current" (latest stable release) equal seems weird, same like the fact that alpha versions are listed in https://nodejs.org/download/release/index.tab, where I would expect actual "releases", no alpha/beta/rc. https://github.com/nodejs/unofficial-builds/blob/main/www/install-node.sh also pulls the alpha versions now. Of course this can be all adjusted, but needs to be communicated.

  7. aduh95 commented on Nov 16, 2026

    @aduh95
    Contributor

    Alpha are actual releases. The same care goes into preparing a Alpha release and a Current release, it's the same process, the same tests are run, etc. The difference is the semver guarentees.

    right - but alphas still should never go into production, and the vast majority of node users (who are not library authors) should actively be avoiding alphas.

    I don't think the vast majority of users are running on production, so I don't think they need to avoid Alpha more than Current

  8. MichaIng commented on Nov 16, 2026

    @MichaIng

    Okay, then "alpha" is the entirely wrong name, indeed. But good to know.

  9. ljharb commented on Nov 17, 2026

    @ljharb
    SponsorMember

    I think the vast majority of node users (including downstream users) are absolutely running on production - by a factor of many 10 exponentials. It's irresponsible of us to make it too easy for people to use alphas.

  10. MikeMcC399 commented on Nov 17, 2026

    @MikeMcC399
    Member

    Attempting to bundle delay and bundle semver-major changes in Alpha releases doesn't make the difference between Alpha pre-releases and regular releases go away. The semver -alpha tag is still there. Downstream Node.js versions managers are adapting to ensuring users have the choice and don't accidentally install Alpha releases, some have completed that change already.

    Releases with Alpha tags won't get treated like regular releases downstream. CircleCI is not building Docker images based on Node.js 27 Alpha. In the hierarchy of npm package dependencies it is sometimes difficult to get the attention of maintainers to fix issues that occur only in Node.js 27 Alpha. This is true even in citgm where there is a lack of maintainer bandwidth.

    It sounds like gating and bundling the semver-major Alpha changes would just make life more difficult for Node.js releasers. I would not expect this to increase the adoption of Alpha releases significantly. This is just gut-feel though.

  11. aduh95 commented on Nov 17, 2026

    @aduh95
    Contributor

    To be clear, the whole discussion is mostly gut-feel driven on my end as well, I don't think that's avoidable given the limited amount of data regarding the new schedule.

    n the hierarchy of npm package dependencies it is sometimes difficult to get the attention of maintainers to fix issues that occur only in Node.js 27 Alpha. This is true even in citgm where there is a lack of maintainer bandwidth.

    I suspect this is not very different from the odd-numbered release lines of the old schedule. It's certainly too soon to know yet.

    It sounds like gating and bundling the semver-major Alpha changes would just make life more difficult for Node.js releasers. I would not expect this to increase the adoption of Alpha releases significantly. This is just gut-feel though.

    The goal is not to maximize the adoption of Alpha releases, the goal is to maximize their usefulness – and minimize the amount of process change as a secondary goal.

  12. AdamMajer commented on Nov 20, 2026

    @AdamMajer

    There are other issues with current versioning scheme than just breaking internal tooling in nodejs org. It breaks lots of assumptions about nodejs version numbering externally too.

    Why not just go with regular version numbers and simply declare them as alpha? For example, 27.0.x where each x is increased until post alpha. 27.1.0 being first post-alpha release? This is how it's done by some other projects. Alternative would be to use 27.0.0~alpha0.1.0 (use ~ instead of -) (sorry, I didn't follow all of the discussion here, if this was already discussed elsewhere)

    > zypper vcmp 27.0.0 27.0.0-alpha0.0.1
    27.0.0 is older than 27.0.0-alpha0.0.1
    
    > zypper vcmp 27.0.0 27.0.0~alpha0.0.1
    27.0.0 is newer than 27.0.0~alpha0.0.1
    

    I do not see much issues using regular version schemes and declaring something Alpha vs. Current vs. LTS as it was done already with current vs. lts. The issues introduced by adding the -alphaX.Y.Z suffix may not be worth any gains here. If we have major changes between two alpha versions 27.0.2 and 27.0.3, then it should be expected that people read the changelog and not just parse version numbers.

    This is just feedback based on issues I'm seeing discussed internally and some that are created externally.

    right - but alphas still should never go into production, and the vast majority of node users (who are not library authors) should actively be avoiding alphas.

    I would completely disagree here. Define "production".

    1. For openSUSE usage in Tumbleweed, this production version is mostly used to build other software. Having breakages identified early is beneficial here especially since nodejs has very good history re: API stability.
    2. NodeJS development is conservative about new features, they are gated by --experimental runtime flags, and V8 changes are already part of Chromium anyway, so those parts tend to be "battle tested" already.

    Having software that no one is using for anything because it's not LTS makes it completely untested until it becomes LTS. The quality drops. Feature adoption is delayed.

    My argument is the quality of nodejs main branch is very high. Better than majority of projects used in actual production. Actively discouraging people from using this, which includes other developers BTW, is not ideal.

  13. shadowspawn commented on Nov 20, 2026

    @shadowspawn
    Member

    The version number format is a regular version scheme, SemVer format, which is very widely used by npm packages. The hyphen after the first three numbers indicates it is a prerelease version. So 27.0.0-alpha.0.1.1 is a prerelease of 27.0.0.

  14. ljharb commented on Nov 20, 2026

    @ljharb
    SponsorMember

    @AdamMajer imo that's an argument to not simply not release alphas at all, as opposed to the current model, which wouldn't achieve the other goals of the category.

  15. MichaIng commented on Nov 21, 2026

    @MichaIng

    I guess the main question is whether/in how far these "alpha" versions differ from previous non-LTS releases, like when the first Node 25 was released, or the first Node 26 where it wasn't LTS yet either. If there is no difference, just do not call them "alpha". If previous non-LTS releases went through more testing or what, then you are probably abusing users of install-node.sh, zypper, and other established methods, who aim to get the latest "stable" release, but not necessarily an LTS, as testers. All good if this is made clear, and at least own tools (install-node.sh) then strictly use LTS only.

    If replacing - with ~ helps to let more tools commonly used to install Node recognize the alpha as lower than the respective version string without suffix, then this is worth to consider. Actually not sure about agreed standard in this regards. Like PyPI automatically marks things like 1.2.3b1 as pre-release and lower than 1.2.3, while dpkg --compare-versions and probably zypper inverse it. In another project we just use another numeric section for beta and pre-releases, like 1.2.3.0, 1.2.3.1 etc, and refrain to use any suffixes. But we do not list them anywhere near stable releases, but in a dedicated beta channel only.

    EDIT: Ah whoops, SemVer sets the standard that anything with a hyphen is a pre-release. Looks like a lot of package managers do not follow SemVer.

  16. aduh95 commented on Nov 21, 2026

    @aduh95
    Contributor

    Node.js LTS gets its stability by only accepting commits that have been released on a non-LTS release. I don't think it's fair to say that serving Alpha is abusing users, 25 and 27-alpha get the same testing before release (that is: we supply the binaries for the same set of platforms, and we have validated the full test suite passes on all platforms). The difference is that we can published breaking changes before 27.0.0 (and maybe we should decide a max frequency for that, I suggested two months earlier), and it receives security patches later than LTS.
    The suggestion of not listing alpha releases in index.json makes no sense, we want library authors to test with it, so they need to be available to package managers. Even for non-library authors, I don't think there's any problem to use that version, we have quite high standard for testing them that I'm confident enough that will work for them (modulo library support) – using non-LTS on production is still a bad idea.

    Regarding using ~ instead of -, it looks like it wouldn't be valid semver: https://semver.org/#backusnaur-form-grammar-for-valid-semver-versions
    I don't know why the comparator you're using says 27.0.0 is older than 27.0.0-alpha0.0.1, AFAICT - indicates a pre-release according to SemVer (https://semver.org/#spec-item-11).

  17. MikeMcC399 commented on Nov 21, 2026

    @MikeMcC399
  18. MikeMcC399 commented on Nov 21, 2026

    @MikeMcC399
    Member

    Alpha is already described on https://github.com/nodejs/node#release-types but the implications may not be clear.

    Some breaking changes, like dropping support during the Alpha 27 phase for Python 3.10, are a consequence of that version of Python no longer being supported by Python. That wouldn't be allowed in regular release lines during current or LTS phases.

    The most likely gotchas are going to be that npm dependencies haven't caught up with compatibility updates and releases. Sometimes the npm package itself may be compatible, but the test suite is not, so it can be difficult to judge whether the whole package is compatible. There were very few regressions in citgm testing (see nodejs/citgm#1234) for the first Alpha release and half of those have already been corrected (thank you @ljharb 🙂 !).

  19. MichaIng commented on Nov 21, 2026

    @MichaIng

    their API and ABI may change between releases. They are intended for library authors and CI pipelines, not for production use.

    That makes it quite clear IMO. Also that they become "current" after 6 months is good to know. I guess part of the confusion (at least for me) comes from the fact, that currently, there is no "current" release, but only v26, which is LTS already, and v27 alpha. Wasn't there always a "current" stable release for a next major version, before the prior even one became LTS? Anyway, otherwise it is mostly about tools to adjust, to not pick alpha automatically, unless explicitly requested. For install-node.sh I am thinking about a --pre flag in addition to an --lts flag, to include alpha releases (resp. those with any non [0-9.] character), or restrict installs to releases with a non - LTS field value respectively.

  20. AdamMajer commented on Nov 23, 2026

    @AdamMajer

    EDIT: Ah whoops, SemVer sets the standard that anything with a hyphen is a pre-release. Looks like a lot of package managers do not follow SemVer.

    zypper and dpkg will both list 27.0.0-alpha* > 27.0.0 > 27.0.0~ for many reasons I will not get into here. SemVer is just not compatible with distro version schemes that predate it -- https://xkcd.com/927/ applies. I didn't realize this is semver here, so let's keep node versions as-is. I'll work around it.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions