What changed in ni from 29 to 30
7 releases numbered after v29.0.0 up to and including v30.6.0, stable releases only. v29.0.0 and v30.6.0 are the newest stable releases of 29 and 30 we track; this page follows them as new ones ship.
- 1 mentions breaking changes
20 changes across 7 releases
Added 10
- Add support for nub
- Add `existing` mode to the catalog feature to only reuse existing catalog entries
- Support bun catalogs
- Add support for aube
- Add --local flag to nlx to prefer local binaries
- Support yarn catalogs
- Add ? dry-run flag to --help output
- Add --agent flag to print detected package manager name
- Add noLastCommand config option to nr
- Sort package.json dependencies alphabetically
Changed 3
Fixed 7
- Read a JSONC package.json
- Split `name@version` before using it as a catalog key
- Warn about unreadable and unrecognised `.nirc` options
- Prefer system package manager binaries
- Make --agent detection non-interactive
- Preserve forwarded -p args in nr
- Fix workspace flag parsing in nr command
Original release notes, newest first
The list above is our reading of these notes; the originals from Anthony Fu are here, one fold per release.
v30.6.0
🚀 Features
- Add support for nub - by @akshat-OwO in https://github.com/antfu-collective/ni/issues/356 (d9de0)
- catalog: Add
existingmode to only reuse existing catalog entries - by @unrevised6419, Claude Opus 5 (1M context) and @antfu in https://github.com/antfu-collective/ni/issues/361 (a3f76)
🐞 Bug Fixes
- Read a JSONC package.json - by @antfubot and NgoQuocViet2001 in https://github.com/antfu-collective/ni/issues/365 (40124)
- catalog: Split
name@versionbefore using it as a catalog key - by @unrevised6419 and Claude Opus 5 (1M context) in https://github.com/antfu-collective/ni/issues/359 (094bb) - config: Warn about unreadable and unrecognised
.nircoptions - by @unrevised6419 and Claude Opus 5 (1M context) in https://github.com/antfu-collective/ni/issues/364 (daad8)
View changes on GitHub
v30.5.0
🚀 Features
- catalog: Support bun catalogs - by @antfubot in https://github.com/antfu-collective/ni/issues/352 (8b025)
View changes on GitHub
v30.4.0
🚀 Features
- Add support for aube - by @3w36zj6 in https://github.com/antfu-collective/ni/issues/348 (d14c0)
- catalog: Reuse previous catalog choice when installing multiple packages - by @antfubot in https://github.com/antfu-collective/ni/issues/351 (9bc59)
- nlx: Add --local flag to prefer local binaries - by @antfubot in https://github.com/antfu-collective/ni/issues/350 (f280b)
View changes on GitHub
v30.3.0
🐞 Bug Fixes
- Prefer system package manager binaries - by @rajanpanth in https://github.com/antfu-collective/ni/issues/346 (a8da0)
- Make --agent detection non-interactive - by @BittuBarnwal7479 in https://github.com/antfu-collective/ni/issues/344 (5db32)
- Preserve forwarded -p args in nr - by @lawrence3699 in https://github.com/antfu-collective/ni/issues/334 (f63d4)
View changes on GitHub
v30.2.0
🚀 Features
- Support yarn catalogs - by @SerenModz21 in https://github.com/antfu-collective/ni/issues/342 (95e36)
View changes on GitHub
v30.1.0
🚀 Features
- Add
?dry-run flag to--helpoutput - by @rznn7 in https://github.com/antfu-collective/ni/issues/330 and https://github.com/antfu-collective/ni/issues/331 (a3714) - Add --agent flag to print detected package manager name - by @Luc0-0 in https://github.com/antfu-collective/ni/issues/329 (b11f1)
- nr: Add noLastCommand config option - by @tomeelog, tomeelog and @antfu in https://github.com/antfu-collective/ni/issues/333 (bb835)
🐞 Bug Fixes
- Workspace flag parsing in nr command - by @buyuan-dev and @antfu in https://github.com/antfu-collective/ni/issues/325 (6ec10)
View changes on GitHub
v30.0.0
🚨 Breaking Changes
- Require node >=20.19.0 - by @sxzz (0d1e7)
🚀 Features
- Replace
ansiswithnode:utilstyleText - by @sxzz in https://github.com/antfu-collective/ni/issues/324 (41b51) - Sort package.json dependencies alphabetically - by @antfu and Claude Haiku 4.5 in https://github.com/antfu-collective/ni/issues/327 (23560)