Skip to content

Releases: SBoudrias/Inquirer.js

@inquirer/core@4.0.0

27 Aug 17:51
ea5baff
Compare
Choose a tag to compare

Major rewrite of the core to rely on node's async hooks for better isolation of each prompts. Relying on this means each prompt context is fully isolated (previously it would rely on the module level context.)

We expect this update to be transparent to most. Though some custom event handlers within useEffect could stop working. If you find any issues there, first please let us know - there might be thing to improve internally to make it transparent. The manual fix will likely be to explicitly define events callback as an AsyncResource.

Let us know how this works for you!

@inquirer/core@3.1.2

17 Aug 21:19
2b29f26
Compare
Choose a tag to compare
  • Fix bug where a setState call triggered from useEffect might re-render the screen with the previous state.

inquirer@8.2.6

02 Aug 18:06
30ec048
Compare
Choose a tag to compare
  • Bugfix: Fix a dependency who became ESM only

inquirer@9.2.9

28 Jul 22:11
ab9dd2f
Compare
Choose a tag to compare
  • Modified lodash imports to help with tree-shaking
  • Replace unmaintained through dependency (only affect users of the old bottom bar)

@inquirer/password@1.1.6

28 Jul 22:10
ab9dd2f
Compare
Choose a tag to compare

Bugfix: Cursor position now reflected properly when using arrow keys.

@inquirer/input@1.2.6

28 Jul 22:10
ab9dd2f
Compare
Choose a tag to compare

Bugfix: Cursor position now reflected properly when using arrow keys.

@inquirer/core@3.1.0

28 Jul 22:09
ab9dd2f
Compare
Choose a tag to compare
  • Bugfix (and insuing refactor) of how the cursor position is maintained and handled when changing outside of a render cycle. This caused bugs with all underlying prompts where the user input text. This fix should be transparent for all users; but it is a large change so warranted a minor bump.

@inquirer/select@1.2.5

14 Jul 19:49
1814462
Compare
Choose a tag to compare
  • Choice list max width should always match the terminal width

@inquirer/prompts@3.0.0

14 Jul 19:51
1814462
Compare
Choose a tag to compare
  • Breaking: Includes new major version of @inquirer/core.
  • Bug fix: on Select & Checkbox prompt where it could happen the choice list wasn't matching the terminal width.

@inquirer/core@3.0.0

14 Jul 19:51
1814462
Compare
Choose a tag to compare
  • Breaking: Paginator is deprecated in favour of the usePagination hook. This hook will always properly reflect the width of the output stream.