unstale

npm / @clack/core

@clack/core

What changed in @clack/core 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.

5 breaking21 new APIs and options4 behavior and defaults11 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.1 on npm

@clack/core 141 changes

Breaking changes 5

  • The unused debug option key was removed.

    1.3.0release notes

  • The engines field now expresses a Node.js requirement of >=20.12.

    1.3.0release notes

  • The package is now distributed as ESM-only; existing CommonJS projects may need to use Node’s ESM loading support.

    1.0.0release notes

  • Placeholders are visual hints rather than tabbable values; pressing enter on an empty prompt now treats a placeholder value as the prompt value.

    1.0.0release notes

  • The suggestion prompt is removed.

    1.0.0release notes

New APIs and options 21

  • Prompts can opt into accessible mode individually through PromptOptions; the resolved Prompt getter and isAccessible() setting resolve in order from per-prompt option to updateSettings({ accessible }) to ACCESSIBLE.

    1.5.0release notes

  • Prompts support asynchronous validation.

    1.5.0release notes

  • The opt-in completeOnTab option lets Tab fill the input with the focused suggestion and adds a “Tab: complete” footer hint; the path prompt supports tab-completion, while default autocomplete behavior is unchanged.

    1.5.0release notes

  • Exports the CANCEL_SYMBOL constant from @clack/core and @clack/prompts.

    1.5.0release notes

  • A new multiline prompt supports multi-line text input.

    1.3.0release notes

  • Adds a placeholder option; when the input is empty, pressing tab sets the value to the placeholder.

    1.2.0release notes

  • Adds a date prompt with format support for YMD, MDY, and DMY.

    1.2.0release notes

  • Adds an autocomplete prompt component.

    1.0.0release notes

  • Adds an autocomplete multi-select prompt component.

    1.0.0release notes

  • Adds an autocomplete prompt to core.

    1.0.0release notes

  • Adds a caseSensitive option to select-key.

    1.0.0release notes

  • The password prompt can clear input automatically when validation fails.

    1.0.0release notes

  • The multi-select prompt supports inverting the selection.

    1.0.0release notes

  • Prompts support custom writable output streams.

    1.0.0release notes

  • Select and multi-select prompts allow disabled options.

    1.0.0release notes

  • The group multi-select prompt can disable selecting top-level groups while leaving child options selectable.

    1.0.0release notes

  • Spinner instances can customize their cancel message.

    1.0.0release notes

  • Spinner instances can customize their error message.

    1.0.0release notes

  • Global spinner cancel and error messages can be customized through updateSettings.

    1.0.0release notes

  • Prompts now store user input separately from their value.

    1.0.0release notes

  • All prompts gain an option to disable the default Clack border.

    1.0.0release notes

Behavior and default changes 4

  • Text prompts render validation state.

    1.5.0release notes

  • Prompts’ optional validate() function now accepts libraries following the Standard Schema specification, enabling shorthand, type-strict schema-based validation.

    1.4.0release notes

  • Autocomplete and select prompts support wrapping.

    1.0.0release notes

  • The path prompt changes to be an autocomplete prompt.

    1.0.0release notes

Fixes and other changes 11

  • Prompt return types now specify CANCEL_SYMBOL instead of the broader symbol type.

    1.5.1release notes

  • Prompts and utilities now handle empty arrays.

    1.4.3release notes

  • The prompt submits only when double-return happens at the end of input.

    1.4.2release notes

  • The initial value is used as the initial user input.

    1.4.2release notes

  • When there is initial input, the cursor is placed at the end.

    1.4.2release notes

  • An empty submission now resolves to "" instead of undefined, matching the text prompt behavior and documented return type.

    1.4.2release notes

  • Fixed spaces and uppercase characters in multiline prompt.

    1.4.0release notes

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

    1.3.1release notes

  • The default filter is applied only when explicitly set or when options is not a getter.

    1.2.0release notes

  • Disabled options can no longer be selected in autocomplete.

    1.0.1release notes

  • Text prompts validate initial values immediately when both initialValue and validate props are provided.

    1.0.0release notes