Skip to content

Releases: SBoudrias/Inquirer.js

@inquirer/core@9.0.10

05 Aug 21:23
Compare
Choose a tag to compare
  • Fix a memory leak in the core. A warning would appear once the same prompt is repeated > 10 times.

The fix is released in all other packages through a patch version.

@inquirer/core@9.0.9

04 Aug 22:23
Compare
Choose a tag to compare
  • Improve rendering performance (should reduce appearance of screen flickering)

The improvement is released in all other packages through a patch version.

@inquirer/core@9.0.8

30 Jul 21:22
Compare
Choose a tag to compare
  • Fix issue where hooks cleanup would wait until all timeouts resolve before triggering. Now hooks cleanup functions are run immediately when the user press ctrl+c or send other exit signals.

@inquirer/number@1.0.7

29 Jul 21:56
Compare
Choose a tag to compare
  • Fix support for decimal numbers

@inquirer/core@9.0.7

29 Jul 21:56
Compare
Choose a tag to compare
  • Enforce useEffect cleanup functions should only run once.

@inquirer/rawlist@2.2.0

28 Jul 20:58
Compare
Choose a tag to compare
  • Add support for short property on rawlist choices.

@inquirer/core@9.0.6

28 Jul 20:15
Compare
Choose a tag to compare

All custom errors thrown from inquirer now includes a name attribute reflecting the error class. When checking if an error comes from inquirer AND using a bundler (like tsup, rollup, etc), instanceof might not work as you expect it to. So instead, it is recommend to follow this example:

- if (error instanceof ExitPromptError) {
+ if (error.name === 'ExitPromptError') {

inquirer@10.1.2

28 Jul 20:11
Compare
Choose a tag to compare
  • Fix broken backward compatibility issues with v9. Choice objects without value should default to use name as the value. Note: Please don't rely on this weird behaviour, but we fixed it since it was an unintended breaking change.

@inquirer/search@1.0.2

22 Jul 20:32
Compare
Choose a tag to compare

Fix issue where vim/emacs keybindings would conflict with the search term input when typing letters used to navigate through the list.

@inquirer/search@1.0.1

22 Jul 20:31
Compare
Choose a tag to compare

Fix issue where typing would disallow the following

search({
    ...,
    source: async (term: string = '') => {
        ...
    },
});