Skip to content

Latest commit

 

History

History
473 lines (198 loc) · 17.1 KB

CHANGELOG.md

File metadata and controls

473 lines (198 loc) · 17.1 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

3.2.1 (2018-08-28)

Bug Fixes

  • publish: Use package version as fallback for independent canary bump (989a3b5), closes #1614

3.2.0 (2018-08-28)

Bug Fixes

  • publish: Call synthetic prepublishOnly lifecycle before packing (dda9812), closes #1169

Features

  • publish: Support prepack/postpack lifecycle in root manifest (9df88a4)

3.1.3 (2018-08-21)

Note: Version bump only for package @lerna/publish

3.1.2 (2018-08-20)

Bug Fixes

  • publish: Allow composed version command to decide when to verify working tree (e61aa67)
  • Use packageGraph.rawPackageList instead of misleading instance.filteredPackages (2e2abdc)

3.1.0 (2018-08-17)

Bug Fixes

  • command: Detect composed commands more accurately (1e51b39)
  • command: Log lerna CLI version with less ambiguity (67494e7)
  • publish: Throw errors if --canary attempted on unclean tree or tagged release (5da0e42)

3.0.6 (2018-08-16)

Note: Version bump only for package @lerna/publish

3.0.5 (2018-08-15)

Bug Fixes

  • help: Insert line break before describing boolean negations (da2f886)
  • options: Provide -y alias for --yes (3ea460c)
  • publish: Add confirmation prompt before execution (47766e5), closes #1566
  • publish: Get tagged packages from merge commit (#1567) (fc771d9)
  • version: Log skipped publish when composed (89645b7)

3.0.4 (2018-08-14)

Bug Fixes

  • publish: Do not ping third-party registries (42f4fdd), closes #1560
  • publish: Only pass --json to npm pack when npm >= 5.10.0 (71babce), closes #1558
  • publish: Run publish from leaf nodes again (3d348ec), closes #1560

3.0.3 (2018-08-11)

Bug Fixes

  • publish: Restore deprecated --skip-npm functionality (cb47cb6), closes #1553

3.0.2 (2018-08-11)

Bug Fixes

  • publish: Add default for --tag-version-prefix (f159442)
  • publish: Allow disabling of registry and package verification (0bfdff5), closes #1552

3.0.1 (2018-08-10)

Bug Fixes

  • publish: Allow unpublished packages to pass access verification (3a7348c)

3.0.0 (2018-08-10)

Bug Fixes

  • publish: Improve npm pack experience (627cfc2)

Features

BREAKING CHANGES

    • --preid now defaults to "alpha" during prereleases:

    The previous default for this option was undefined, which led to an awkward "1.0.1-0" result when passed to semver.inc().

    The new default "alpha" yields a much more useful "1.0.1-alpha.0" result. Any previous prerelease ID will be preserved, just as it was before.

  • --no-verify is no longer passed to git commit by default, but controlled by the new --commit-hooks option:

    The previous behavior was too overzealous, and the new option operates exactly like the corresponding npm version option of the same name.

    As long as your pre-commit hooks are properly scoped to ignore changes in package.json files, this change should not affect you. If that is not the case, you may pass --no-commit-hooks to restore the previous behavior.

3.0.0-rc.0 (2018-07-27)

Bug Fixes

  • core/package: Serialize hosted git URLs with original protocol/shorthand (60ff432), closes #1499
  • publish: Add default description 'npm' for --npm-client (649048c)
  • publish: Avoid fs-extra warning on 32-bit machines (e908d23)
  • publish: Do not leave unstaged changes with --skip-git (2d497ed)
  • publish: Exit early when publishing w/o commits (#1453) (6cbae35), closes #773
  • publish: Pass --repo-version argument through semver.valid() (272e9f1), closes #1483
  • publish: Update lerna.json version after root preversion lifecycle (7b3817c), closes #1495

Code Refactoring

  • collect-updates: Make argument signature explicit (e6ba19f)

Features

  • Add description from --help summary [skip ci] (9b65d8e)
  • cli: Upgrade to Yargs 12 (7899ab8)
  • command: Remove .defaultOptions() from option resolution stack (2b27a54)
  • Count packages affected in command summary logging (5f5e585)
  • publish: Add --require-scripts option to opt-in to raw JS lifecycle scripts (054392b)
  • publish: Add --amend flag (#1422) (ef5f0db)
  • publish: Ensure published packages contain a LICENSE file (#1465) (5863564), closes #1213

BREAKING CHANGES

  • publish: External $PKGDIR/scripts/{pre,post}publish.js lifecycles are now opt-in instead of automatic. Pass --require-scripts explicitly to restore previous functionality.
  • collect-updates: Instead of an opaque command instance, distinct positional arguments are required.

3.0.0-beta.21 (2018-05-12)

Note: Version bump only for package @lerna/publish

3.0.0-beta.20 (2018-05-07)

Note: Version bump only for package @lerna/publish

3.0.0-beta.19 (2018-05-03)

Bug Fixes

  • publish: Include all packages during global major bump (#1391) (9cebed1), closes #1383

3.0.0-beta.18 (2018-04-24)

Bug Fixes

  • git-utils: Pass --follow-tags to git push (6907e90)

Features

  • command: Move GitUtilities.isInitialized into class method (abecfcc)
  • git-utils: Devolve getCurrentSHA() to consumers (ecbc1d3)
  • git-utils: Devolve getShortSHA() to consumers (95d179d)
  • publish: Move publish-only git utilities (5594749)

BREAKING CHANGES

  • git-utils: Don't use GitUtilities!
  • git-utils: Don't use GitUtilities.
  • command: GitUtilities.isInitialized no longer exists. You shouldn't be using GitUtilities.
  • publish: Many named exports of GitUtilities are no longer provided. Don't use GitUtilities, it's a bad pattern.

3.0.0-beta.17 (2018-04-13)

Note: Version bump only for package @lerna/publish

3.0.0-beta.15 (2018-04-09)

Features

  • conventional-commits: Support local file presets (a1bff40)

3.0.0-beta.14 (2018-04-03)

Bug Fixes

  • publish: Ensure optionalDependencies are updated during publish to registry (559b731)

3.0.0-beta.13 (2018-03-31)

Features

  • Enable progress bars only when necessary (b766c83)

3.0.0-beta.12 (2018-03-30)

Features

  • package: Add serialize() method (fdec3ac)
  • package: Add Map-like get/set methods, remove raw json getter (707d1f0)
  • project: Merge package and packageJson into manifest (9a47ff7)

BREAKING CHANGES

  • package: The Package class no longer provides direct access to the JSON object used to construct the instance. Map-like get()/set(val) methods are available to modify the internal representation.

3.0.0-beta.11 (2018-03-29)

Bug Fixes

  • publish: Write temporary annotations once, not repeatedly (6abae76)

Features

  • Execute atomic publish lifecycle during lerna publish (#1348) (45efa24)
  • Support optionalDependencies (b73e19d), closes #121

3.0.0-beta.10 (2018-03-27)

Features

  • commands: Delay require of command instantiation (a1284f3)

BREAKING CHANGES

  • commands: The default export of command packages is now a factory, not the subclass (which is now a named export).

3.0.0-beta.9 (2018-03-24)

Bug Fixes

  • publish: Split --skip-* properly, leave working tree clean (5b4b2c9)

Features

  • command: Rename this.repository -> this.project (43e98a0)
  • project: Use cosmiconfig to locate and read lerna.json (b8c2789)

BREAKING CHANGES

  • publish: Previously, gitHead annotations were leftover if --skip-npm was passed, despite no actual requirement for that property when no publishing is going on.

Now, all publish-related operations are truly skipped with --skip-npm, and all git commit/push-related operations are skipped with --skip-git. Passing --skip-npm will now also always push to remote, which represents a breaking change from 2.x behavior.

Thanks @KingScooty for raising the issue!

3.0.0-beta.8 (2018-03-22)

Features

  • utils: Add "vendored" npm-conf (9c24a25)

3.0.0-beta.7 (2018-03-20)

Note: Version bump only for package @lerna/publish

3.0.0-beta.4 (2018-03-19)

Note: Version bump only for package @lerna/publish

3.0.0-beta.3 (2018-03-15)

Features

  • Check for upstream changes before attempting to publish (#1317) (cef0a69)
  • Upstream changes warn in CI, throw locally (4de055d), closes #1177 #1317
  • publish: Add logging when --skip-git or --skip-npm are passed (#1319) (8eef9ff)

3.0.0-beta.2 (2018-03-10)

Note: Version bump only for package @lerna/publish

3.0.0-beta.1 (2018-03-09)

Bug Fixes