Skip to content

Releases: SBoudrias/Inquirer.js

inquirer@12.3.0

20 Dec 19:45
7613d74
Compare
Choose a tag to compare
  • Checkbox prompt: re-added support for an array of default to be provided listing pre-checked checkboxes. This is a legacy interface brought back given this feature removal was an involuntary breaking change during the v12 release. The preferred interface is to provide the checked property to choices { value: 'bar', checked: true }.

@inquirer/input@4.1.0

07 Dec 18:30
Compare
Choose a tag to compare
  • New theme option validationFailureMode: 'keep' | 'clear' to control the behaviour when validation fails.

@inquirer/editor@4.2.0

07 Dec 18:30
Compare
Choose a tag to compare
  • New theme option validationFailureMode: 'keep' | 'clear' to control the behaviour when validation fails.

@inquirer/confirm@5.1.0

07 Dec 18:31
Compare
Choose a tag to compare
  • Pressing tab will now toggle between yes/no answers.

@inquirer/editor@4.1.0

11 Nov 20:14
Compare
Choose a tag to compare

@inquirer/core@10.1.0

11 Nov 20:13
Compare
Choose a tag to compare
  • usePrefix will now work with custom statuses (before it only supported statuses used by core prompts.)

@inquirer/prompts@7.0.1

26 Oct 18:15
Compare
Choose a tag to compare
  • Hoist peer-dependencies to remove warning when using yarn

inquirer@12.0.0

06 Oct 20:52
Compare
Choose a tag to compare
  • @types/node is now only a peerDependencies. This reduces the install size of inquirer dramatically for folks not using Typescript. It's unlikely to break your builds if you used TS already, if it does run npm install --dev @types/node/yarn add --dev @types/node.

@inquirer/prompts@7.0.0

06 Oct 20:52
Compare
Choose a tag to compare
  • @types/node is now only a peerDependencies. This reduces the install size of inquirer dramatically for folks not using Typescript. It's unlikely to break your builds if you used TS already, if it does run npm install --dev @types/node/yarn add --dev @types/node.

inquirer@11.1.0

27 Sep 19:59
Compare
Choose a tag to compare
  • Now exports base utility Typescript types: import type { Question, DistinctQuestion, Answers } from 'inquirer';

You should use as follow to keep the inference working properly:

const questions = [
    { ... }
] as const satisfies Question[];
// If you're not using inquirer plugins, `Question` could alternatively be replaced by `DistinctQuestion` for stricter checks.