@clack/prompts
1.9.0 · 9 Nov 2026MIT48.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @clack/prompts From 0.11.0 to 1.8.1
12 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 48
- new
- 46
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.5.1
- Breaking1.0.0
Release by release
- Fixed
Return type for prompts now correctly specifies
CANCEL_SYMBOLinstead ofsymbol
- Fixed
- New
Export
CANCEL_SYMBOLconstant from@clack/coreand@clack/prompts - New
Add tab-completion to the
pathprompt: pressing Tab fills the input with the focused suggestion, so you can quickly descend into deep directories (type/and Tab again). Powered by a new opt-incompleteOnTaboption onautocomplete, which also shows aTab: completehint in the instructions footer. Defaultautocompletebehavior is unchanged. - New
Add async validation support to prompts, and validation state rendering to text prompts.
- Fixed
Style the guide bar rendered by
box({ withGuide: true })in grey so it matches the gutter drawn bylog,noteand the spinner - Fixed
Fixes a withGuide rendering issue leaving extra spaces in text prompts.
- New
- New
Add
showInstructionsoption toselect,multiselect, andgroupMultiselect. Keyboard hints remain shown by default; passshowInstructions: falseto hide them. - Fixed
Handle empty arrays in various prompts and utilities.
- New
- New
Updates default formatter of
note()to note dim lines anymore - New
Add keyboard instruction footers to
select,multiselect, andgroupMultiselectin the active state, matching autocomplete. No option — always shown.
- New
- Breaking
Remove sourcemaps and enable pretty-ish build output.
- Breaking
- New
Adds support for Standard Schema validation
- Fixed
Fixed spaces and uppercase characters in multiline prompt
- New
- New
Support scrolling and
maxItemsoption forgroupMultiselect, and removes indent whenwithGuideis set tofalse - Fixed
Fix line wrapping and overflow computation in group multi-select and other list-like prompts.
- New
- New
Add new multiline prompt for multi-line text input.
- Fixed
Add engines field expressing node >=20.12 requirement
- Fixed
Fix mixed type-only and runtime exports from @clack/core.
- New
18 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.