Skip to content

deps: npm@8 #40168

Description

@darcyclarke

What?
Our team is looking to imminently cut a new major of the npm CLI that is primarily meant to drop support for node v10.x.

When?
Our hope is that this update can land within the current v16.x release line as a minor bump before it goes into Active LTS next month. We'd ideally cut this version of the CLI later this week if there wasn't any major push back; opening a PR at time of release (as per usual).

Why?
We've outlined in further detail here why this is helpful from a maintainability perspective but the tl;dr is that node v10.x is no longer maintained by the Node.js Project (thus, we'd like to drop support as well).

We're opening this issue for visibility & would love the @nodejs/tsc / @nodejs/releasers to weigh in with any feedback from their perspectives.

Activity

  1. changed the title [-]`npm@8`[/-] [+]deps: `npm@8`[/+] on Sep 20, 2021
  2. Trott commented on Sep 20, 2021

    @Trott
    Member

    If the main motivation is to keep Node.js 10.x workarounds from becoming the equivalent of workarounds used to keep IE11 working on websites, then 💯 , please drop 10.x support at the earliest semver-permissible time.

  3. mcollina commented on Sep 20, 2021

    @mcollina
    SponsorMember

    sgtm. Will there be any other semver-major changes?

  4. wraithgar commented on Sep 20, 2021

    @wraithgar
    Contributor

    The only other semver-major change is the dropping of the programmatic api. That doesn't have anything to do w/ how npm is used as a cli, only how it is used if required inside nodejs itself. The globally installed npm can't really be required to begin with (unless I suppose you used the specific path to the global npm install) so this does not affect nodejs itself.

  5. targos commented on Sep 21, 2021

    @targos
    Member

    I have no objections to this. The only setup that I can think of which would be broken by this would be someone who installs node@16 with the bundled npm globally and somehow run the globally installed npm with node@10. It doesn't seem like something we want to support.

  6. richardlau commented on Sep 21, 2021

    @richardlau
    Member

    No objections from me.

  7. mhdawson commented on Sep 21, 2021

    @mhdawson
    Member

    No objections from me.

  8. added
    npmIssues and PRs related to the npm client dependency or the npm registry.
    discussIssues opened for discussion and feedback.
    on Sep 21, 2021
  9. richardlau commented on Sep 23, 2021

    @richardlau
    Member

    For the record we discussed this in today's Release WG meeting and there were no objections/concerns raised.

  10. danielleadams commented on Oct 1, 2021

    @danielleadams
    Contributor

    @darcyclarke this sounds good. how quickly are you looking to get this out?

  11. MylesBorins commented on Oct 1, 2021

    @MylesBorins
    Contributor

    @danielleadams tentatively as soon as next week

  12. csvan commented on Oct 8, 2021

    @csvan

    Noticed npm@8 is is out: https://github.com/npm/cli/releases/tag/v8.0.0

    Is it still possible for this to be included in Node 16 before it goes LTS? I believe it would be greatly appreciated by the community. Thanks for all your hard work!

  13. richardlau commented on Oct 8, 2021

    @richardlau
    Member

    @csvan That is the plan and it's currently included in the proposal for Node.js 16.11.0: #40319

  14. MylesBorins commented on Oct 12, 2021

    @MylesBorins
    Contributor

    This is landed

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.npmIssues and PRs related to the npm client dependency or the npm registry.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions