Change Log
All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.
4.0.0 (2021-02-10)
Bug Fixes
- version: Ensure --create-release environment variables are present during initialization (2d0a97a)
Features
BREAKING CHANGES
- The default export has been removed, please use a named export instead.
- Node v6.x & v8.x are no longer supported. Please upgrade to the latest LTS release.
Here's the gnarly one-liner I used to make these changes:
npx lerna exec --concurrency 1 --stream -- 'json -I -f package.json -e '"'"'this.engines=this.engines||{};this.engines.node=">= 10.18.0"'"'"
(requires npm i -g json
beforehand)
3.22.1 (2020-06-09)
Bug Fixes
3.22.0 (2020-05-24)
Bug Fixes
- conventional-commits: Support modern config builder functions (#2546) (7ffb297), closes #2138
- publish: Avoid errors when files are ignored by git (#2445) (448f2ae), closes #2151
- version:
--atomic
fallback when GIT_REDIRECT_STDERR
is enabled (#2467) (c255d12)
Features
3.21.0 (2020-05-13)
Features
- version: Ignore private packages completely with
--no-private
(a9b9f97)
3.20.2 (2020-01-02)
Bug Fixes
- version: Loosen
--atomic
fallback to catch incompatible CLI versions (6f0e2bb), closes #2400
3.20.1 (2019-12-29)
Bug Fixes
- version: Support git clients that do not support
git push --atomic
(2b9b210)
3.20.0 (2019-12-27)
Bug Fixes
3.18.5 (2019-11-20)
Bug Fixes
- Auto-fix prettier formatting (5344820)
3.18.4 (2019-11-08)
Bug Fixes
- version: Clarify
--include-merged-tags
description (b0bbfcf)
3.18.3 (2019-10-22)
Bug Fixes
- version: Correct warning message (384cd15)
- version: Workaround yargs bug with spurious
--
arguments (46be9dc), closes #2315
3.18.2 (2019-10-21)
Bug Fixes
3.18.0 (2019-10-15)
Bug Fixes
- options: Explicit
--conventional-graduate
(f73e6ed)
- options: Explicit
--conventional-prerelease
(f3581ae)
- options: Explicit
--force-publish
(343a751)
- options: Explicit
--ignore-scripts
(efcb3bd)
3.16.5 (2019-10-07)
Note: Version bump only for package @lerna/version
3.16.4 (2019-07-24)
Note: Version bump only for package @lerna/version
3.16.2 (2019-07-22)
Note: Version bump only for package @lerna/version
3.16.1 (2019-07-19)
Note: Version bump only for package @lerna/version
3.16.0 (2019-07-18)
Bug Fixes
- package-graph: Flatten cycles to avoid skipping packages (#2185) (b335763)
Features
3.15.0 (2019-06-09)
Features
- version: Add
--create-release=[gitlab|github]
option (#2073) (4974b78)
3.14.2 (2019-06-09)
Bug Fixes
- version: Remove unused dependency (285bd7e)
3.14.1 (2019-05-15)
Note: Version bump only for package @lerna/version
3.14.0 (2019-05-14)
Features
- conventional-commits: Add conventional prerelease/graduation (#1991) (5d84b61), closes #1433 #1675
- version: Add just-in-time queue management (290539b)
3.13.4 (2019-04-24)
Bug Fixes
- version: Resolve prerelease for version without bump (#2041) (aa11325)
- version: Search for complete tag prefix when composing GitHub releases (024a6ab), closes #2038
3.13.3 (2019-04-17)
Bug Fixes
3.13.2 (2019-04-08)
Bug Fixes
- lifecycles: Avoid duplicating 'rooted leaf' lifecycles (a7ad9b6)
3.13.1 (2019-02-26)
Note: Version bump only for package @lerna/version
3.13.0 (2019-02-15)
Features
- meta: Add
repository.directory
field to package.json (aec5023)
- meta: Normalize package.json
homepage
field (abeb4dc)
3.12.1 (2019-02-14)
Note: Version bump only for package @lerna/version
3.12.0 (2019-02-14)
Bug Fixes
- version: Log message when git repository validation is skipped (2c40ffd)
Features
- version: Skip repository validation when git is unused (#1908) (b9e887e), closes #1869
3.11.1 (2019-02-11)
Bug Fixes
- version: Exit with an error when
--github-release
is combined with --no-changelog
(030de9d)
- version: Passing
--no-changelog
should not disable root versioning (83c33a3)
3.11.0 (2019-02-08)
Bug Fixes
- deps: Explicit npmlog ^4.1.2 (571c2e2)
- deps: Remove unused libnpm (replaced by direct sub-packages) (1caeb28)
Features
- version: Create Github releases with
--github-release
(#1864) (f84a631), closes #1513
3.10.8 (2019-02-01)
Bug Fixes
- version: Fix negated option links in readme (0908212)
3.10.6 (2019-01-19)
Bug Fixes
- options: Document negated boolean options explicitly (8bc9669)
3.10.5 (2019-01-11)
Note: Version bump only for package @lerna/version
3.10.1 (2019-01-09)
Bug Fixes
- collect-updates: Avoid improper bumps from prompt selections (06a1cff), closes #1357
3.10.0 (2019-01-08)
Features
3.9.0 (2019-01-08)
Note: Version bump only for package @lerna/version
3.8.5 (2019-01-05)
Note: Version bump only for package @lerna/version
3.8.2 (2019-01-03)
Bug Fixes
- version: Avoid recursive root lifecycle execution (089392d), closes #1844
3.8.1 (2018-12-31)
Note: Version bump only for package @lerna/version
3.8.0 (2018-12-21)
Bug Fixes
- publish: Unhide options shared with version command (09fccd3)
3.7.2 (2018-12-21)
Bug Fixes
- version: Prevent clobbering composed --yes option (f3816be)
3.7.1 (2018-12-20)
Note: Version bump only for package @lerna/version
3.7.0 (2018-12-19)
Features
- version: Refresh package manifests after preversion lifecycle (7c7bf9a)
3.6.0 (2018-12-07)
Bug Fixes
- pkg: Exclude mocks from package tarball (4017f37)
Features
3.5.0 (2018-11-27)
Bug Fixes
- version: Add friendly error message when remote branch doesn't exist (#1741) (cd34b48)
- version: Don't version private packages lacking a version field (#1654) (578bb19)
Features
3.4.1 (2018-10-04)
Bug Fixes
- conventional-commits: Upgrade angular preset, ensure header is not duplicated (159a0b0), closes #1696
3.3.2 (2018-09-12)
Bug Fixes
- version: Allow
--force-publish
to work on tagged releases (7971bf3), closes #1667 #1671
3.3.1 (2018-09-11)
Note: Version bump only for package @lerna/version
3.3.0 (2018-09-06)
Note: Version bump only for package @lerna/version
3.2.0 (2018-08-28)
Bug Fixes
- version: Make changes to packages in batched topological order (d799fbf)
- version: Skip working tree validation when
--no-git-tag-version
passed (bd948cc), closes #1613
3.1.3 (2018-08-21)
Note: Version bump only for package @lerna/version
3.1.2 (2018-08-20)
Bug Fixes
- 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)
- version: Throw errors if tree is unclean or duplicating tagged release (d8ee1cf)
3.0.6 (2018-08-16)
Bug Fixes
- command: Silence goalpost logging when running a composed command (12b4280)
- version: Pass --preid to selection prompt (23a30a0), closes #1214
- version: Prioritize
--preid
over existing prerelease ID (#1568) (f2c470a)
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
- version: Log skipped publish when composed (89645b7)
3.0.2 (2018-08-11)
Bug Fixes
- conventional-commits: Pass --tag-version-prefix to changelog utilities (8ed7d83)
- version: Allow config files to override defaults (bb1cfb5)
- version: Positional bump supersedes
--conventional-commits
when choosing version (a74c866)
3.0.0 (2018-08-10)
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.