Automate your Workspace Versioning, Publishing & Changelogs with Lerna-Lite 📦🚀
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.0.0 (2023-04-14)
Refer to the v2.0.0 release for more info about the migration.
- build: prepare official Lerna-Lite 2.0 release (#567)
- build: prepare official Lerna-Lite 2.0 release (#567) (2865a60), closes #537 - by @ghiscoding
- version add
--skip-bump-only-release
to avoid empty gh releases (#555) (e93e6fd) - by @ghiscoding - run add back optional
--use-nx
option torun
command (#557) (7baf389) - by @ghiscoding
- config: catch initialization errors, update cosmiconfig (#519) (66299a2) - by @d-fischer
- core: ignore globby pattern type should be an array not a string (#529) (c45dcb1) - by @ghiscoding
- deps: update all non-major dependencies (#535) (bdb1e9c) - by @renovate[bot]
- deps: update all non-major dependencies (#547) (deb467c) - by @renovate[bot]
- deps: update dependency cosmiconfig to ^8.1.3 (#523) (6870489) - by @renovate[bot]
- run: only use run-one w/Nx when not passing multiple scripts (#531) (731f783) - by @ghiscoding
2.0.0-alpha.2 (2023-04-07)
- run: remove
--use-nx
(powered by Nx) option fromrun
command (#554) - publish: make version & publish commands optionnal, closes #450 (#552)
- build: migrate to ESM build & switch to Vitest for ESM support (#537)
- build: migrate to ESM build & switch to Vitest for ESM support (#537) (308fc2e) - by @ghiscoding
- cli: remove listable dependency from CLI (#553) (1baa0d1) - by @ghiscoding
- publish: make version & publish commands optionnal, closes #450 (#552) (11e4dab) - by @ghiscoding
- publish: remove
--require-scripts
, keep npm scripts lifecycle (#542) (6559aec) - by @ghiscoding - remove all deprecated options tagged to be removed in next major (#545) (a6f44b3) - by @ghiscoding
- run: remove
--use-nx
(powered by Nx) option fromrun
command (#554) (b5ff9c9) - by @ghiscoding - version: remove deprecated
--changelog-version-message
option (#543) (d125eef) - by @ghiscoding - version: use await import instead of require() for GHE release (#546) (f6a2488) - by @ghiscoding
- config: catch initialization errors, update cosmiconfig (#519) (66299a2) - by @d-fischer
- core: ignore globby pattern type should be an array not a string (#529) (c45dcb1) - by @ghiscoding
- deps: update all non-major dependencies (#535) (bdb1e9c) - by @renovate[bot]
- deps: update dependency cosmiconfig to ^8.1.3 (#523) (6870489) - by @renovate[bot]
- deps: update dependency minimatch to v8 and couple other deps patch (#550) (e7d29f1) - by @ghiscoding
- run: only use run-one w/Nx when not passing multiple scripts (#531) (731f783) - by @ghiscoding
1.17.0 (2023-03-16)
- version: support git "describeTag" configuration in version/publish commands (#515) (6a041e4) - by @xueran
1.16.2 (2023-03-13)
1.16.1 (2023-03-11)
1.16.0 (2023-03-03)
- deps: update all non-major dependencies (#488) (126bdb7) - by @renovate[bot]
- deps: update all non-major dependencies (#502) (b26827d) - by @ghiscoding
- deps: update dependency minimatch to v7 (#489) (4fd3ac0) - by @renovate[bot]
- exec: add note to wrap lerna exec commands in quotes (#497) (29c6389) - by @ghiscoding
- init: the
--use-workspaces
option should updatelerna.json
(#501) (dfbe1eb) - by @ghiscoding - publish: ensure zero exit code when EWORKINGTREE warning occurs (#500) (b14150b) - by @ghiscoding
- version: highlight version prop required in
lerna.json
(#486) (8720397), closes #485 - by @ghiscoding - version: validate yarn Berry gte 2.0 before running yarn sync lock (#494) (26d630e) - by @ghiscoding
- version: add
--independent-subpackages
option, closes #491 (#495) (dfd0a78) - by @ghiscoding - version: add user-defined build metadata to bumped packages (#504) (b8fbf2c) - by @ghiscoding
1.15.2 (2023-02-14)
1.15.1 (2023-02-08)
- deps: update dependency minimatch to v6 (#481) (b97ecee) - by @renovate[bot]
- watch: remove watch stdin causing problem exiting the watch (#478) (6f1232f) - by @ghiscoding
1.15.0 (2023-02-04)
- deps: update dependency @npmcli/arborist to ^6.2.1 (#471) (5387b4e) - by @renovate[bot]
- publish: deprecate publish --require-scripts (#463) (e8ef54e) - by @ghiscoding
- publish: downgrade
glob
deps to cleanup temp file (#475) (de09614) - by @ghiscoding - schema:
--contents
type should be string, fixes #466 (#467) (c12aafe) - by @ghiscoding - watch: use a better debounce option name for the watch (#476) (eb0bbc1) - by @ghiscoding
- publish: add
--cleanup-temp-files
option to cleanup packed tmp (#474) (6781c79) - by @ghiscoding - publish: recover from network failure (#469) (acd586d) - by @ghiscoding
- version: move all version related methods under version package (#456) (2c0921a) - by @ghiscoding
- watch: add optional stdin key to exit watch mode cleanly (#472) (d0cf2d9) - by @ghiscoding
1.14.2 (2023-01-21)
- watch: add missing --stream option (#448) (b249c7c) - by @ghiscoding
- watch: add missing Chokidar option awaitWriteFinish as a boolean (#449) (6ed56dc) - by @ghiscoding
- watch: lerna watch should ignore git, dist & node_modules folders (#452) (fa34c58) - by @ghiscoding
- watch: queue watch callbacks to avoid breaking previous run (#453) (bd892ac) - by @ghiscoding
1.14.1 (2023-01-19)
1.14.0 (2023-01-18)
- core: more detailed error message when version cannot be found (#431) (7f3dffb) - by @ghiscoding
- deps: update all non-major dependencies (#423) (b965cc7) - by @renovate-bot
- deps: update all non-major dependencies (#425) (3793929) - by @renovate-bot
- deps: update dependency @npmcli/arborist to ^6.1.6 (#440) (51eec47) - by @renovate[bot]
- schema: add the other format changelogPreset can assume (#422) (060a7e9) - by @ghiscoding
- publish: add --summary-file option (#428) (3de55ef) - by @ghiscoding
- version: allow passing multiple npmClientArgs as CSV (#429) (0f32a95) - by @ghiscoding
- version: support custom command for git tag (#430) (246ac57) - by @ghiscoding
- watch: Add
lerna watch
command (#441) (a244128) - by @ghiscoding
1.13.0 (2022-11-22)
- deps: libnpmaccess was rewritten, lsPackages is now getPackages (#401) (abb78b0) - by @ghiscoding
- deps: npm-package-arg now normalize x, x@, x@* (#400) (41b6eaa) - by @ghiscoding
- deps: update all non-major dependencies (#402) (3feeea9) - by @renovate-bot
- deps: update all non-major dependencies (#405) (084da4f) - by @renovate-bot
- deps: update all non-major dependencies (#414) (267fced) - by @renovate-bot
- deps: update dependency @npmcli/arborist to v6 (#396) (39b0feb) - by @renovate-bot
- deps: update dependency @npmcli/run-script to v6 (#406) (02c998e) - by @renovate-bot
- deps: update dependency cosmiconfig to v8 (#419) (b31dfe7) - by @renovate-bot
- deps: update dependency libnpmpublish to v7 (#399) (4eaea64) - by @renovate-bot
- run: detect Nx target configuration in package.json files (#416) (be2af28) - by @ghiscoding
- publish: apply publishConfig overrides, closes #404 (#415) (03e8157) - by @ghiscoding, @artechventure
- version: bump prerelease versions from conventional commits (#409) (dad936e) - by @ghiscoding
- version: use npmClientArgs in npm install after lerna version (#417) (43e5dcd) - by @ghiscoding
1.12.0 (2022-10-14)
- bump min Node version to >=14.17.0 to align with external deps (#387) (2f804e9) - by @ghiscoding
- deps: update dependency @npmcli/run-script to v5 (#388) (f8a8995) - by @renovate-bot
- deps: update dependency @octokit/rest to ^19.0.5 (#380) (18155d8) - by @renovate-bot
- deps: update dependency dotenv to ^16.0.3 (66467f5) - by @renovate-bot
- deps: update dependency npm-packlist to v6 (4241c2f) - by @renovate-bot
- deps: update dependency npmlog to v7 (#389) (d2110f1) - by @renovate-bot
- deps: update dependency read-package-json to v6 (#390) (c585090) - by @renovate-bot
- deps: update dependency ssri to v10 (#385) (04457c9) - by @renovate-bot
- deps: update dependency write-file-atomic to v5 (#386) (ffdea0d) - by @renovate-bot
- deps: upgrading pacote & npm-packlist to v7 requires arborist tree (#367) (8c34a3b) - by @ghiscoding
- npm-publish: Allows disabling of strict SSL checks (#374) (a26d849) - by @ghiscoding
- run: allow for loading of env files to be skipped (#391) (440611e) - by @ghiscoding
- run: fully defer to Nx for dep detection when nx.json exists (0657aa4) - by @ghiscoding
- run: only defer to Nx when targetDefaults are defined in nx.json (127f90c) - by @ghiscoding
- run: warn on incompatible arguments with useNx (bc5e823) - by @ghiscoding
- commands: rename
git-dry-run
andcmd-dry-run
to simplydry-run
(#377) (3a55f5e) - by @ghiscoding - publish: add new option
--remove-package-fields
before publish (#359) (45a2107) - by @ghiscoding - run: add
--use-nx
as CLI option and add Nx profiler (9da003e) - by @ghiscoding - version: add
--allow-peer-dependencies-update
, closes #333 (#363) (efaf011) - by @ghiscoding - version: use manual GitHub web interface when
GH_TOKEN
undefined (83e9cce) - by @ghiscoding
1.11.3 (2022-09-20)
- cli: add missing Type to fix TSC build error (836d7f0) - by @ghiscoding
- deps: update dependency git-url-parse to ^13.1.0 (bcce5ae) - by @renovate-bot
- deps: update dependency git-url-parse to v13 (3bf8155) - by @renovate-bot
- deps: update dependency uuid to v9 (e97efb6) - by @renovate-bot
- run: exclude dependencies with
--scope
whennx.json
is not present (3c222ed) - by @ghiscoding
1.11.2 (2022-08-30)
- version: --changelog-include-commits-[x] in cli should be truthy (1ddde05) - by @ghiscoding
- version:
--changelog-header-message
should be added to all logs (c27a97d) - by @ghiscoding
1.11.1 (2022-08-24)
- core: fix parsing commit date with different time zone (2dc37ec) - by @ahrbil
1.11.0 (2022-08-19)
- core: use match pattern to get last tag date with independent mode (cebcecf) - by @ghiscoding
- deps: update all non-major dependencies (e3b379c) - by @renovate-bot
- deps: update all non-major dependencies (e8dcfec) - by @renovate-bot
- version: changelog client login not need linkRefs in template (57047ab) - by @ghiscoding
- version: commit user login, oldest commit might be undefined (4132f43) - by @ghiscoding
- version: properly update dependencies npm lockfile v2 (0abfa85) - by @ghiscoding
- version: use
%aI
to pull oldest commit author date (e033e05) - by @ghiscoding
- cli: add JSON schema for
lerna.json
(fd93826) - by @ghiscoding
1.10.0 (2022-08-06)
- core: ensure to touch all nodes in package-graph, fix issue found by Jest team (f4f7bbc) - by @ghiscoding
- deps: update all non-major dependencies (abe1eff) - by @renovate-bot
- run: do not toposort when running in parallel with useNx to match legacy (af1192c) - by @ghiscoding
- version: get oldest commit data for changelog include commit login (5d7464b) - by @ghiscoding
- version: use conventional commit changelog writer for perf (e9d7c52) - by @ghiscoding
1.9.1 (2022-08-01)
- publish: should only warn when using
--no-workspace-strict-match
(37dd3e7) - by @ghiscoding
1.9.0 (2022-07-28)
- core: ensure to touch all nodes in package-graph, fix issue found by Jest team (#301) (f4f7bbc) - by @ghiscoding
- version: inherit stdio for lerna version lifecycle scripts (#276) (9c3625d) - by @ghiscoding
- version: make sure we always have regex match array (#271) (ba34849) - by @ghiscoding
- version: rename option to
--changelog-include-commits-git-author
(b095637) - by @ghiscoding
- publish: disable legacy
verifyAccess
behavior by default (#274) (fb1852d) - by @ghiscoding - publish: include all deps in package graph by default, allow no-sort (#277) (3229e77) - by @ghiscoding
- version: option to add commit login username on each changelog entry, closes #248 (#272) (2ca0dca) - by @ghiscoding
1.8.0 (2022-07-21)
- deps: update all non-major dependencies (ed1db35) (by Renovate Bot)
- deps: update all non-major dependencies (#254) (2d9a0d5) (by WhiteSource Renovate)
- deps: update dependency @octokit/rest to v19 (#251) (d0018d7) (by WhiteSource Renovate)
- deps: update dependency git-url-parse to v12 (978bf36) (by Renovate Bot)
- diff: add
diff
command missing dependency (#265) (29168f7) (by Ghislain B) - run: add double quotes around script target containing colon (18da175) (by ghiscoding)
- version: Node14, import from "fs" instead of "node:fs", fixes #260 (#261) (5e420fd) (by Ghislain B)
- version: rollback previous patch on pnpm lockfile update (d9f933c) (by ghiscoding)
- filter for lerna tags in independent mode (#267) (8c3cdb3) (by Ghislain B)
- version: add flag to include changelog commit author, close #248 (#253) (7fd8db1) (by Ghislain B)
- version: provide custom format to include commit author fullname (#269) (1f5a94e) (by Ghislain B)
1.6.0 (2022-06-30)
- deps: update all non-major dependencies (27921f4)
- run: lerna run parallel should maximize concurrency with useNx (14a113b), closes #3205
- run: Nx correctly detect if target dependencies default are set (4720351)
- version: remove
workspace:
prefix on peerDeps & few refactor (6e4e5b7) - version: use
--no-frozen-lockfile
instead of--fix-lockfile
(a6120b9)
- changed: add Lerna
changed
as optional command (b08417c) - diff: add Lerna
diff
as optional command (44dabb2)
1.5.1 (2022-06-12)
- version: add better msg for missing
npmClient
with sync lock (01e26b1) - version: remove
workspace:
prefix on external deps, fixes #200 (8d89256)
1.5.0 (2022-06-08)
- correctly add npm package lock to git add list (281586f)
- deps: update all non-major dependencies (c87e937)
- deps: update dependency @npmcli/run-script to v4 (29a09a9)
- version: improve default git publish message, closes #185 (735fbe6)
- version: keep semver range operator in
workspace:
protocol, fixes #198 (1794ccd)
- lock: feat(lock): add version
--sync-workspace-lock
flag to update lock file (200e385)
- version: chore(build): add Prettier to the project (ee1a964)
1.4.0 (2022-05-30)
- core: replace
npm-lifecycle
with@npmcli/run-script
(6ab0e8d), closes #60 #3134 - init: add missing packages/workspaces (f78860d)
- list: add Lerna
list
as optional command (65f810c) - run: add experimental support to
run
tasks via Nx (743d434), closes #3139
1.3.0 (2022-05-13)
- init: add Lerna
init
command to get started (dfc3311) - publish:
workspace:*
(or ~) protocol should strictly match range (acede60)
1.2.0 (2022-05-11)
- run: display pkg name only when not streaming, fixes #149 (bf60bf0)
- url: deprecation notice of git.io (816b7cb), closes #3116
- version: include the updated root package-lock.json file in commits (d6dbc9a)
- core: add version/publish
workspace:
protocol (ee57dfb) - core: Support the
workspace:
protocol (67d8ba1) - run: add
LERNA_PACKAGE_NAME
env var torun
command (ae88a0a), closes #3107
1.1.1 (2022-05-01)
- cli: new
info
must be a CLI dependency (de0c00c)
1.1.0 (2022-05-01)
- incorrect import npmlog was throwing log fn not found (23860f9)
-
cmd: breaking, rename dry-run option to
cmd-dry-run
(01e4777) -
exec: add Lerna
exec
command (8e87ea1) -
info: add
info
command to CLI (6fa1154)
1.0.5 (2022-03-29)
1.0.4 (2022-03-24)
- version: load & write project root lockfile v2 only once (7ad805a)
1.0.3 (2022-03-19)
- version: project root lockfile v2 should be updated correctly (2689746)
1.0.2 (2022-03-17)
- version: show repo info when Create Release is enabled in dry-run (5b0cf6d)
1.0.1 (2022-03-15)
- cli: add mising import-local dependency (d1942e6)
1.0.0 (2022-03-15)
- BREAKING CHANGE: use lerna CLI for all commands, fixes #28
0.3.7 (2022-03-09)
-
core: better handling of possible missing pkg name (ef9633d)
-
publish: use Lerna code for
detectFromGit
anddetectFromPackage
(811111f)
0.3.6 (2022-03-05)
0.3.5 (2022-03-05)
- deps: update few npm dependencies (9175d48)
0.3.4 (2022-03-05)
- version: add missing lifecycle code from lerna (a0d9e95)
0.3.3 (2022-02-27)
- publish: should publish
from-package
without needing--bump
(48cffdd)
0.3.2 (2022-02-22)
-
core: catch of error should work with
exitCode
and/orcode
(461ec29) -
core: OTP please method had non-strict code (411f308)
-
version: add missing code conventional-preset legacy loading (f0e105d)
0.3.1 (2022-02-12)
-
publish: skip publish when using gitDryRun (ea97c92)
-
publish: skip publish when using gitDryRun (9408167)
0.3.0 (2022-02-12)
Rename the lib to Lerna-Lite
0.2.3 (2022-02-11)
- run: use optional chaining because of possible null result object (cca5309)
0.2.2 (2022-02-11)
- cli: load dotenv in CLI to fix env vars not found on Windows (5f2ab87)
0.2.1 (2022-02-11)
-
cli: yarn throw error w/line ending CRLF, must use LF in bin file (e1a059a)
-
publish: add missing
--bump
option in publish roller (57d3db7)
0.2.0 (2022-02-11)
-
logs: disabling the advanced terminal behavior when TERM is dumb (9994130), closes #2932
-
publish: add version bump in a lockfile v2 format (7907e81), closes #2914
-
publish: yargs was throwing error bcoz of invalid commented code (07bb70f)
-
version: better non-atomic push fallback condition (7afacb1), closes #2696
-
version: fix overall exit code of 128 if git push --atomic fails (175edc5), closes #3005
-
cli: add
ws-roller
CLI for publish & version commands (6201c1d) -
core: drastically reduce time taken to check for cycles (ddbc9d5), closes #2874
-
run: add
run
command to help run workspace script in parallel (a71191b)
0.1.8 (2022-02-03)
-
build: fix Promise return type (31d2469)
-
version: add npm lock file to git changed files for update (1c50e5a)
0.1.7 (2022-02-03)
- version: should update npm root lock file when lockfileVersion>=2 (8bd41fc)
0.1.4 (2022-02-01)
-
build: remove outdated crypto and use default NodeJS pkg instead (54a812a)
-
core: add
dotenv
to fix create-release on windows (0af87c7)
0.1.3 (2022-01-30)
- changelog: add missing options for changelog header msg (506505e)
0.1.2 (2022-01-30)
-
commands: rename run to roll version/publish commands (43e18e0)
-
commands: rename run to roll version/publish commands (dbfe136)
-
publish: add missing
publishConfig
to each package (9924956) -
publish: get a working publish command (35f44ff)
-
publish: remove bump from config to fix version rolling (73285c9)
0.1.1 (2022-01-30)
Note: Version bump only for package ws-conventional-version-roller
- version: should not throw when changelog.md is missing (eca9816)
- build: initial commit with publish & version roller (37e32c0)