# Inquirer.js 8.6.0 - Product: Inquirer.js (https://whatsnew.fyi/product/inquirer) - Vendor: Inquirer - Date: 2026-08-19 - Version: 8.6.0 - Original notes: https://github.com/SBoudrias/Inquirer.js/releases/tag/%40inquirer/prompts%408.6.0 - Permalink: https://whatsnew.fyi/product/inquirer/releases/8.6.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Add initialValue option to @inquirer/search to pre-fill the search input - **changed** — Update @inquirer/core to 12.0.0, which makes the useState setter accept a reducer/updater function - **fixed** — Fix floating-point step errors in @inquirer/number - **fixed** — Allow @inquirer/number to accept explicit undefined as default - **fixed** — Allow @inquirer/confirm to accept explicit undefined as default - **fixed** — Allow @inquirer/editor to accept explicit undefined as default ##### @inquirer/prompts@8.6.0 The all-in-one prompts package, re-exporting every individual prompt at its latest version. ###### Highlights This release rides on **`@inquirer/core@12.0.0`**, which makes the `useState` setter accept a reducer/updater function. It also brings a new `initialValue` option to search, plus fixes for `number`, `confirm`, and `editor`. ###### What's new - **`@inquirer/search`** — new `initialValue?: string` option to pre-fill the search input ([#2205](https://github.com/SBoudrias/Inquirer.js/pull/2205)) ###### What's fixed - **`@inquirer/number`** — avoid floating-point step errors; accept explicit `undefined` as default ([#2166](https://github.com/SBoudrias/Inquirer.js/pull/2166), [#2182](https://github.com/SBoudrias/Inquirer.js/pull/2182)) - **`@inquirer/confirm`** — accept explicit `undefined` as default ([#2182](https://github.com/SBoudrias/Inquirer.js/pull/2182)) - **`@inquirer/editor`** — accept explicit `undefined` as default ([#2182](https://github.com/SBoudrias/Inquirer.js/pull/2182)) ###### Included prompts - `@inquirer/checkbox@5.2.2` - `@inquirer/confirm@6.2.0` - `@inquirer/editor@5.3.0` - `@inquirer/expand@5.1.2` - `@inquirer/input@5.1.3` - `@inquirer/number@4.2.0` - `@inquirer/password@5.1.2` - `@inquirer/rawlist@5.3.2` - `@inquirer/search@4.3.0` - `@inquirer/select@5.2.2` > **Note:** This release depends on `@inquirer/core@^12.0.0`, which contains a breaking change to the `useState` setter type (it now accepts a reducer function). See the `@inquirer/core@12.0.0` release notes for details.