Releases: SBoudrias/Inquirer.js
Releases · SBoudrias/Inquirer.js
[email protected]
- Fix: Re-added missing
short
on select and checkbox prompt. - Fix: Remove type requiring a
close
method on prompt class instances (it wasn't required.)
@inquirer/[email protected]
- Added optional
short
property to the choices. When defined, we'll useshort
instead ofname
when rendering the selection after submitting the prompt.
@inquirer/[email protected]
- Added optional
short
property to the choices. When defined, we'll useshort
instead ofname
when rendering the selection after submitting the prompt. This is added to maintain compatibility with theinquirer
API.
[email protected]
- Fix issue with plugins relying on internal
inquirer
packages file structure.
[email protected]
- Re-implemented with Typescript.
- Adding CJS support (now
inquirer
is publishes a dual-build CJS/ESM.) - All core prompts are now coming from
@inquirer/prompt
. - Custom prompts now should be implemented with
@inquirer/core
. Custom prompts built on[email protected]
will keep working, but should plan a migration. inquirer.ui.BottomBar
is deleted.
My expectation is that this release should be a drop-in replacement for people using inquirer.prompt()
and built-ins 🤞🏻. Please open an issue on Github if you run into issues migrating; it's a large rewrite and there might be a few sharp edges to cut! Hope you'll like this new release.
@inquirer/[email protected]
- Added
required
option.
@inquirer/[email protected]
- Now includes a new
number
prompt.
@inquirer/[email protected]
First release of our brand new number prompt.
@inquirer/[email protected]
- Small breaking change:
type InquirerReadline
is now part of the@inquirer/type
library and should be imported from there if needed.
[email protected]
- Fix risk of prototype injection.