Packages

@clack/core

1.6.0 · 9 Nov 2026MIT48.6M / weekRepositoryHomepagenpmAtom feed

Upgrading @clack/core From 1.1.0 to 1.6.0

10 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 1.1.0yours
  2. 4 releases
  3. 1.4.1breaking
  4. 4 releases
  5. 1.6.0target

Before you upgrade

Tick each one off as you go
  • Breaking1.4.1

Release by release

  1. 1.6.0

    9 Nov 20262 new · 5 fixes
    • New

      Add support for disabled selectKey options: they are rendered dimmed, cannot be selected by keypress, and are ignored when set as the initial value.

    • New

      Allow multiselect to accept readonly option arrays, e.g. options declared with as const. The Value type parameter is now inferred as a literal union ('a' | 'b') from such arrays, and initialValues also accepts readonly arrays.

    • Fixed

      Update sisteransi to 2.x (ESM only).

    • Fixed

      Account for escape sequences in prefixes during line wrapping. Very narrow outputs will now render correctly.

    • Fixed

      Treat an ideographic space (U+3000) committed by IMEs (e.g. Japanese or Chinese input) as space when toggling options in multi-select prompts.

    • Fixed

      Fix that isCancelled returned after calling cancel and start methods in progress does not refresh.

    • Fixed

      Use the configured output stream's width when wrapping and clearing prompt frames, including prompts written to stderr while stdout is redirected.

  2. 1.5.1

    13 Sep 20261 fix
    • Fixed

      Return type for prompts now correctly specifies CANCEL_SYMBOL instead of symbol

  3. 1.5.0

    7 Sep 20265 new
    • New

      Add an accessible option to the shared PromptOptions and a resolved accessible getter on the base Prompt, so any prompt can opt into accessible mode individually. Resolution order: per-prompt option > updateSettings({ accessible }) > the ACCESSIBLE environment variable.

    • New

      Export CANCEL_SYMBOL constant from @clack/core and @clack/prompts

    • New

      Add tab-completion to the path prompt: 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-in completeOnTab option on autocomplete, which also shows a Tab: complete hint in the instructions footer. Default autocomplete behavior is unchanged.

    • New

      Add async validation support to prompts, and validation state rendering to text prompts.

    • New

      Add isAccessible() and an accessible setting as the foundation for accessible mode. Resolution order: per-call option > updateSettings({ accessible }) > the ACCESSIBLE environment variable (any non-empty value enables it, except 0 and false).

  4. 1.4.3

    3 Jul 20261 fix
    • Fixed

      Handle empty arrays in various prompts and utilities.

  5. 1.4.2

    19 Jun 20262 fixes
    • Fixed

      Fix password prompt resolving to undefined on empty submit. It now normalizes an empty submission to "", matching the text prompt behavior and the documented Promise<string | symbol> return type.

    • Fixed

      Only submit multi-line prompt when double-return happens at end of input.

  6. 1.4.1

    Migration needed3 Jun 2026
    • Breaking

      Remove sourcemaps and enable pretty-ish build output.

  7. 1.4.0

    29 May 20261 new · 1 fix
    • New

      Adds support for Standard Schema validation

    • Fixed

      Fixed spaces and uppercase characters in multiline prompt

  8. 1.3.1

    12 May 20261 fix
    • Fixed

      Fix line wrapping and overflow computation in group multi-select and other list-like prompts.

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.