@clack/prompts
1.9.0 · 9 Nov 2026MIT48.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @clack/prompts From 0.5.0 to 0.11.0
13 releases in betweenevery note read
Release by release
- New
Reverted a change where placeholders were being set as values on return.
- New
- New
Adds a new
selectableGroupsboolean to the group multi-select prompt. UsingselectableGroups: falsewill disable the ability to select a top-level group, but still allow every child to be selected individually. - Fixed
Fixes multiselect only shows hints on the first item in the options list. Now correctly shows hints for all selected options with hint property.
- New
- New
Adds a new
indicatoroption tospinner, which supports the original"dots"loading animation or a new"timer"loading animation. - New
Adds
streamAPI which provides the same methods aslog, but for iterable (even async) message streams. This is particularly useful for AI responses which are dynamically generated by LLMs.
- New
- New
Adds
Errorsupport to thevalidatefunction - Fixed
Exports the
Optiontype and improves JSDocannotations - Fixed
Replace custom utility for stripping ANSI control sequences with Node's built-in
stripVTControlCharactersutility.
- New
- New
Adds a new
updateSettings()function to support new global keybindings. - New
Adds a new
signaloption to support programmatic prompt cancellation with an abort controller. - New
Updates default keybindings to support Vim motion shortcuts and map the
escapekey to cancel (ctrl+c). - Fixed
Adapts
spinneroutput for static CI environments
- New
0.8.2nothing new or fixed in the note
- New
Adaptative max items
- New
- New
Add maxItems option to select prompt
- New
Added a new method called
spinner.message(msg: string) - Fixed
Fix
spinnerconflict with terminal on error betweenspinner.start()andspinner.stop() - Fixed
Fixes cases where the note title length was miscalculated due to ansi characters
- New
10 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.