Skip to content

Releases: sindresorhus/np

v5.0.0

18 Apr 14:19
Compare
Choose a tag to compare

Breaking

  • Require npm 6.8.0 or newer
    Some older versions were buggy and we also need it for some new features.
  • Require Yarn 1.7.0 or newer (#360) 537aa8e
    Only if you use Yarn
  • Require Git 2.11 or newer (#349) 6df47b9

Enhancements

  • Enable 2FA automatically for the package when publishing a new package (#346) d10ffcf
    Yay security!
  • Support specifying config in package.json or an external config file (#354) 9dac7aa
  • Rollback Git operations when publish fails and on termination (#334) c7d4cd0
  • Add --no-release-draft flag to skip opening a GitHub release draft page (#379) ce7e550
  • Add external registry support to authentication check (#365) 72ebf7d
  • Drop question Will bump from X to Y. Continue? (#377) a02e169
    It was just an extra step with little value

Fixes

  • Fix doing a prerelease as the first release (#342) 97922b1
  • Fix multiple version bumps when publishing using Yarn (#389) 3601af5
  • Fix name check for private registries (#356) e8a3a7d
  • Correctly detect all Git tag types (#343) 508dec2

v4.0.2...v5.0.0


Shoutout to @itaisteinherz for doing most of the commits in this release. He's now also a maintainer 🎉

v4.0.2

24 Jan 08:44
Compare
Choose a tag to compare
  • Fix problem with a dependency requiring Node.js 10 4b43c2f

v4.0.1...v4.0.2

v4.0.1

22 Jan 09:41
Compare
Choose a tag to compare
  • Ensure package exists when checking tags (#331) 94e31f3
  • Fix display of the commits in the UI 0d335dd

v4.0.0...v4.0.1

v4.0.0

22 Jan 07:15
Compare
Choose a tag to compare

Breaking:

Features:

  • Open a GitHub Releases draft after publish (#308) 1db6269
    This release not was created by np!
  • Use $ npm ci if there is a lockfile (#310) e60f8f4
  • Default to not publishing scoped packages publicly (#313) 4ffe2a7
  • Gracefully handle branch not having an upstream (#321) 535e190

Fixes:

  • Fix throws on yarn test with no test script (#336) 3c4cca0
  • Fix publishing and prevent weird Observable issues 304030e
  • Remove npm version check (#315) 08a8066
  • Skip npm name check when --no-publish is passed (#324) 305ae9c
  • Handle no previous Git tags (#322) 966d08d
  • Only check for scoped repo when publish is enabled (#323) f041588

v3.1.0...v4.0.0