Skip to content

Releases: sindresorhus/np

v11.0.2

29 Jan 03:52

Choose a tag to compare

  • Fix: Allow raising Node.js engine requirement in pre-1.0.0 packages f0859d9

v11.0.1...v11.0.2

v11.0.1

23 Jan 03:57

Choose a tag to compare


v11.0.0...v11.0.1

v11.0.0

22 Jan 02:24

Choose a tag to compare

Breaking

Improvements

  • Support passkey authentication via automatic browser opening 1ef9af7
  • Support publishing via OIDC authentication (#772) 3ded31e
  • Add --no-release-notes flag 4f910a2
  • Add --remote flag to specify Git remote 4d5fb6a
  • Add prerequisite check for package entry points 7dcd833
  • Require major version bump when dropping Node.js support 3ed286a
  • Add interactive prerelease identifier selection 6b51dda
  • Support GPG password prompts during version bumping 5a96f80
  • Show unpublished files as warning instead of blocking prompt efcc05e
  • Add npm provenance support d8f3322
  • Add git user configuration check to prevent npm version failures ebb9acf

Fixes

  • Fix --contents flag not being respected when publishing 53904d0
  • Fix compatibility with some external registries c6ef15d
  • Fix repository URL parsing for shorthand and GitHub Enterprise URLs 02b4ed9
  • Fix Yarn Berry detection when packageManager field is missing 7009b77
  • Fix ENOWORKSPACES error when publishing from monorepo workspace 0a8af7b
  • Fix rejection of explicit version numbers ebdcbaa
  • Fix publish hanging indefinitely a651fc4
  • Fix first publish failure for prerelease versions with npm 10+ 3811182
  • Fix subfolder publishing broken since npm 8.5 e996c6f
  • Fix CLI default flags overriding local config values 3804d0b
  • Fix publishConfig handling for access and registry fields 753abb4
  • Fix npm pack JSON parsing when lifecycle scripts output to stdout a13bba2
  • Fix git commands failing with password-protected SSH keys 67b6aff
  • Fix failure with repositories that have multiple initial commits 869f80b
  • Fix package.json config being ignored with global installation 08a3f64
  • Fix long release notes exceeding GitHub URL limit a160aff
  • Fix some network calls never timing out 6a11153
  • Fix contents config option being ignored 88226d7
  • Fix contents option being interpreted as package name 521ecfc
  • Fix incorrect commit range when tags are created out of order fea3eb7
  • Fix getNpmPackageAccess to respect publishConfig.registry 15040c8
  • Fix authentication when publishConfig.registry is official npm registry 380fd24

v10.3.0...v11.0.0

v10.3.0

18 Jan 14:05

Choose a tag to compare

  • Auto-run npm login on authentication failure 38abeee
  • Include stderr in error message for failed commands 0ad9a8c
  • Fix rollback not executing when publish fails 005ebdb

v10.2.0...v10.3.0

v10.2.0

26 Jan 12:00

Choose a tag to compare


v10.1.0...v10.2.0

v10.1.0

23 Nov 15:38

Choose a tag to compare

v10.0.7...v10.1.0

v10.0.7

16 Jul 22:58

Choose a tag to compare

  • Allow publishConfig.registry to be npm default registry when using Yarn berry (#750) 6c5eee3

v10.0.6...v10.0.7

v10.0.6

19 Jun 00:37

Choose a tag to compare

  • Fix usage with pnpm and --any-branch or --branch (#745) d0c1493

v10.0.5...v10.0.6

v10.0.5

19 Apr 03:35

Choose a tag to compare

v10.0.4...v10.0.5

v10.0.4

17 Apr 15:10

Choose a tag to compare

v10.0.3...v10.0.4