Skip to content

Latest commit

 

History

History
1608 lines (1282 loc) · 119 KB

CHANGELOG.md

File metadata and controls

1608 lines (1282 loc) · 119 KB

Changelog

9.0.0-pre.5 (2022-10-13)

⚠️ BREAKING CHANGES

  • the presence of auth related settings that are not scoped to a specific registry found in a config file is no longer supported and will throw errors
  • the node-version and npm-version configs have been removed.
  • links generated from git urls will now use HEAD instead of master as the default ref

Features

  • a09e19d #5696 introduce the npm config fix command (@nlf)
  • d2963c6 explicitly validate config within the cli (@nlf)
  • a5fec08 rewrite docs generation (@lukekarrys)

Bug Fixes

  • a35c784 #5691 config: remove node-version and npm-version (@wraithgar)

Documentation

  • a8532eb #5661 typo missing parentheses (@hbrls)
  • 542efdb update folders page for modern npm (@shalvah)

Dependencies

9.0.0-pre.4 (2022-10-05)

Features

  • 9609e9e #5605 use v3 lockfiles by default (#5605) (@fritzy)

Bug Fixes

  • e4e8ae2 libnpmpack: obey foregroundScripts (@winterqt)
  • 07fabc9 #5633 npm link should override --install-links (#5633) (@fritzy)
  • 02fcbb6 #5634 ensure Arborist constructor gets passed around everywhere for pacote (#5634) (@nlf)

Documentation

  • f37caad #5606 accurately describe install-links effect on relative paths (#5606) (@lukekarrys)
  • 97c32ed #5637 remove link to cache command (#5637) (@wraithgar)
  • 130bc9f #5626 Remove circular reference (#5626) (@giovanniPepi)

Dependencies

9.0.0-pre.3 (2022-09-30)

⚠️ BREAKING CHANGES

  • npm pack now follows a strict order of operations when applying ignore rules. If a files array is present in the package.json, then rules in .gitignore and .npmignore files from the root will be ignored.
  • --timing file changes:
    • When run with the --timing flag, npm now writes timing data to a file alongside the debug log data, respecting the logs-dir option and falling back to <CACHE>/_logs/ dir, instead of directly inside the cache directory.
    • The timing file data is no longer newline delimited JSON, and instead each run will create a uniquely named <ID>-timing.json file, with the <ID> portion being the same as the debug log.
    • Finally, the data inside the file now has three top level keys, metadata, timers, and unfinishedTimers` instead of everything being a top level key.

Features

  • 3ae796d implement new npm-packlist behavior (@lukekarrys)
  • e64d69a #5581 write eresolve error files to the logs directory (@lukekarrys)
  • 3445da0 timings are now written alongside debug log files (@lukekarrys)

Documentation

  • f0e7584 #5601 update docs/logging for new --access default (@wraithgar)

Dependencies

9.0.0-pre.2 (2022-09-23)

⚠️ BREAKING CHANGES

  • the default auth-type config value is now web
  • login, adduser, and auth-type changes
    • This removes all auth-type configs except web and legacy.
    • login and adduser are now separate commands that send different data to the registry.
    • auth-type config values web and legacy only try their respective methods, npm no longer tries them all and waits to see which one doesn't fail.

Features

  • 66ed584 #5551 default auth-type to web (#5551) (@wraithgar)
  • 6ee5b32 query: display queryContext in results (@nlf)
  • 314311c #5550 separate login/adduser, remove auth types (#5550) (@wraithgar)

Bug Fixes

  • 0d90a01 #5480 audit: add a condition to allow third-party registries returning E400 (#5480) (@juanheyns, Juan Heyns)

Documentation

  • 2d756cb #5527 add instruction to query objects with npm view (#5527) (@moonith)
  • 8743366 #5519 add hash to "tag" config link (#5519) (@mrienstra, @lukekarrys)
  • 5645c51 #5521 link mentions of config parameters (#5521) (@mrienstra)
  • 19762b4 #5529 modify Misleading doc about bins (@Hafizur046)
  • 19762b4 #5529 modify misleading doc about package.json:bin (#5529) (@Hafizur046)
  • 8402fd8 #5547 add :outdated pseudo selector to docs (@nlf)

Dependencies

9.0.0-pre.1 (2022-09-14)

⚠️ BREAKING CHANGES

  • renames most of the npm access subcommands
  • the api for libnpmaccess is different now

Features

  • 9c32c6c rewrite: rewrite npm access (@wraithgar)
  • 854521b rewrite: Rewrite libnpmaccess (@wraithgar)

Bug Fixes

  • c3d7549 add tag to publish log message (@wraithgar)

Documentation

  • fd0eebe update registry docs header (@hughlilly)

Dependencies

9.0.0-pre.0 (2022-09-08)

⚠ BREAKING CHANGES

  • workspaces: all workspace packages are now compatible with the following semver range for node: ^14.17.0 || ^16.13.0 || >=18.0.0
  • this removes the npm birthday command
  • this removes npm set-script
  • this changes the default value of install-links to true
  • this removes the npm bin command
  • npm is now compatible with the following semver range for node: ^14.17.0 || ^16.13.0 || >=18.0.0

Features

  • e95017a #5485 feat(workspaces): update supported node engines in package.json (@lukekarrys)
  • 49bbb2f #5455 feat: remove npm birthday (@wraithgar)
  • 926f0ad #5456 feat: remove npm set-script (@wraithgar)
  • 2a8c2fc #5458 feat: default install-links to true (@wraithgar)
  • 2e92800 #5459 feat: remove npm bin (@wraithgar)
  • 457d388 #5475 feat: update supported node engines in package.json (@wraithgar)

Bug Fixes

  • 41481f8 #5475 fix: attempt more graceful failure in older node versions (@wraithgar)

Documentation

  • 7fc2b6f #5468 docs: remove duplicate description for prepare script (@kidonng)
  • 285b39f #5324 docs: add documentation for expanded :semver selector (@nlf)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @npmcli/arborist bumped from ^5.6.1 to ^6.0.0-pre.0
      • libnpmaccess bumped from ^6.0.4 to ^7.0.0-pre.0
      • libnpmdiff bumped from ^4.0.5 to ^5.0.0-pre.0
      • libnpmexec bumped from ^4.0.12 to ^5.0.0-pre.0
      • libnpmfund bumped from ^3.0.3 to ^4.0.0-pre.0
      • libnpmhook bumped from ^8.0.4 to ^9.0.0-pre.0
      • libnpmorg bumped from ^4.0.4 to ^5.0.0-pre.0
      • libnpmpack bumped from ^4.1.3 to ^5.0.0-pre.0
      • libnpmpublish bumped from ^6.0.5 to ^7.0.0-pre.0
      • libnpmsearch bumped from ^5.0.4 to ^6.0.0-pre.0
      • libnpmteam bumped from ^4.0.4 to ^5.0.0-pre.0
      • libnpmversion bumped from ^3.0.7 to ^4.0.0-pre.0

8.19.1 (2022-09-01)

Bug Fixes

  • d60b43f #5438 fix: Turn off progress bar when using web based authorization (@sandeepmeduru)

8.19.0 (2022-08-31)

Features

  • d94a9f5 #5347 feat: add deprecation warnings to access commands (@wraithgar)

Bug Fixes

Documentation

  • 3569094 #5321 docs: fix link to dependency selectors page (@hghmn)
  • 414667a #5328 docs(dependency-selectors): fix Arborist example in docs (@kyle-west)

Dependencies

v8.18.0 (2022-08-17)

Features

Bug Fixes

Documentation

Dependencies

v8.17.0 (2022-08-10)

Features

  • 96b6781 #5263 feat(arborist): add option to forcibly skip loading a virtual tree (@nlf)

Bug Fixes

Documentation

Dependencies

v8.16.0 (2022-08-03)

Features

Bug Fixes

Documentation

Dependencies

v8.15.1 (2022-07-27)

Bug Fixes

Documentation

Dependencies

v8.15.0 (2022-07-20)

Features

Bug Fixes

Documentation

Dependencies

v8.14.0 (2022-07-13)

Features

Bug Fixes

Documentation

Dependencies

v8.13.2 (2022-06-29)

Documentation

Dependencies

v8.13.1 (2022-06-23)

Dependencies

v8.13.0 (2022-06-22)

Features

  • 06fd788 #4960 feat: prompt before opening web-login URL when performing login/adduser (@jumoel)

Bug Fixes

Documentation

Dependencies

v8.12.2 (2022-06-15)

Dependencies

v8.12.1 (2022-06-02)

Bug Fixes

v8.12.0 (2022-06-01)

Features

Bug Fixes

Dependencies

v8.11.0 (2022-05-25)

Features

Bug Fixes

Documentation

Dependencies

v8.10.0 (2022-05-11)

Features

Bug Fixes

Dependencies

v8.9.0 (2022-05-04)

Features

Bug Fixes

Documentation

Dependencies

v8.8.0 (2022-04-27)

Features

Bug Fixes

Documentation

Dependencies

v8.7.0 (2022-04-13)

Features

Bug Fixes

Documentation

Dependencies

v8.6.0 (2022-03-31)

Features

Bug Fixes

Documentation

Dependencies

v8.5.5 (2022-03-17)

Bug Fixes

Documentation

Dependencies

v8.5.4 (2022-03-10)

Bug Fixes

Documentation

Dependencies

v8.5.3 (2022-03-03)

Bug Fixes

Dependencies

v8.5.2 (2022-02-24)

Bug Fixes

Documentation

Dependencies

v8.5.1 (2022-02-17)

Dependencies

Documentation

v8.5.0 (2022-02-10)

Features

  • 0cc9d4c51 #4372 feat(deps): @npmcli/config@3.0.0 - introduce automatic workspace roots (@nlf)

Bug Fixes

Documentation

Dependencies

v8.4.1 (2022-02-03)

Bug Fixes

Documentation

Dependencies

v8.4.0 (2022-01-27)

Features

Bug Fixes

Dependencies

v8.3.2 (2022-01-20)

Bug Fixes

Dependencies

v8.3.1 (2022-01-13)

Bug Fixes

  • 2ac540b0c fix(unpublish): Show warning on unpublish command when last version (#4191) (@ebsaral)

Dependencies

Chores

  • d72650457 chore: Bring in all libnpm modules + arborist as workspaces (#4166) (@fritzy)

v8.3.0 (2021-12-09)

Features

Bug Fixes

Documentation

Dependencies

  • e1da1fa4b #4141 deps: @npmcli/arborist@4.1.1: parse-conflict-json@2.0.1
    • Fixes object property assignment bug in resolving package-locks with conflicts
  • 1d8bec566 #4144 #3884 deps: minipass@3.1.6
    • fixes some TAR_ENTRY_INVALID and Z_DATA_ERROR errors

v8.2.0 (2021-12-02)

Features

Bug Fixes

Documentation

Dependencies

v8.1.4 (2021-11-18)

BUG FIXES

DEPENDENCIES

  • 225645420 #3995 update to latest eslint and linting rules (@wraithgar)
  • 203fedf5b #4016 eslint@8.0.0: @npmcli/eslint-config@2.0.0
    • Update to eslint@8 and and @npmcli/eslint-config@2.0.0
    • Remove eslint-plugin-node. Also remove an unused script that was failing linting. We don't use the update-dist-tags script anymore as part of our release process. (@wraithgar)
  • 7b4aa59b6 signal-exit@3.0.6:, tap@15.1.2 (@isaacs)
  • 08015859c #4049 npmlog@6.0.0
  • 088c11694 #4045 node-gyp@8.4.0:
    • feat: support vs2022
    • feat: build with config.gypi from node headers

v8.1.3 (2021-11-04)

BUG FIXES

DEPENDENCIES

  • ac2fabb86 #3990 @npmcli/arborist@4.0.4
    • fix: don't compare spec for local dep vs existing
    • fix: stop pruning peerSets when entryEdge is from a workspace
  • a0d35ff20 #3996 @npmcli/config@2.3.1:
    • fix: dont load project configs in global mode

v8.1.2 (2021-10-28)

BUG FIXES

DEPENDENCIES

v8.1.1 (2021-10-21)

DEPENDENCIES

  • 51fb83ce9 #3921 @npmcli/arborist@4.0.2:
    • fix: skip peer conflict check if there is a current node
  • 1d07f2187 #3913 node-gyp@8.3.0:
    • feat(gyp): update gyp to v0.10.0

v8.1.0 (2021-10-14)

FEATURES

DEPENDENCIES

  • ae4bf013d #3883 pacote@12.0.2:
    • fix: preserve git+ssh url for non-hosted repos
    • deps: update npm-packlist@3.0.0
    • fix: no longer include ignored bundled link deps
  • fbc5a3d08 #3889 @npmcli/ci-detect@1.4.0
  • b6bc279e5 @npmcli/arborist@4.0.1
  • 0f69d295b #3893 @npmcli/map-workspaces@2.0.0

DOCUMENTATION

v8.0.0 (2021-10-07)

The purpose of this release is to drop support for old node versions and to remove support for require('npm'). There are no other breaking changes.

BREAKING CHANGES

  • Drop support for node 10 and 11
  • Raise support ceiling in node 12 and 14 to LTS (^12.13.0/^14.15.0)
  • Drop support to require('npm')
  • Update subdependencies that also dropped node10 support

DEPENDENCIES

  • The following dependencies were updated to drop node10 support and update to the latest node-gyp
    • libnpmversion@2.0.1
    • pacote@12.0.0
    • libnpmpack@3.0.0
    • @npmcli/arborist@3.0.0
    • libnpmfund@2.0.0
    • libnpmexec@3.0.0
    • node-gyp@8.2.0
  • 8bd85cdae #3813 cli-columns@4.0.0