@clack/core
1.6.0 · 9 Nov 2026MIT48.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @clack/core From 0.1.2 to 0.5.0
19 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 20
- new
- 13
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.2.0
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 an edge case for placeholder values. Previously, when pressing
enteron an empty prompt, placeholder values would be ignored. Now, placeholder values are treated as the prompt value. - Fixed
Fix "TTY initialization failed: uv_tty_init returned EBADF (bad file descriptor)" error happening on Windows for non-tty terminals.
- New
- New
Adds
Errorsupport to thevalidatefunction - Fixed
Fixes a cursor display bug in terminals that do not support the "hidden" escape sequence. See Issue #127.
- Fixed
Fixes a rendering bug with cursor positions for
TextPrompt
- 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
Improves types for events and interaction states.
- New
0.3.5nothing new or fixed in the note
- New
@clack/core: Allow tab completion for placeholders
- Fixed
@clack/core: Keyboard input not working after await in spinner
- 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
- New
Enable hard line-wrapping behavior for long words without spaces
- New
7 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.