Releases: SBoudrias/Inquirer.js
Releases · SBoudrias/Inquirer.js
v0.6.0
Mainly an internal API update. We now use RxJS internally and provide a few public API surfacing this internal switch.
Reactive JS
- You can now pass an
Observable
in lieu of a question array. This allow you to programmatically (and progressively) fill up Inquirer question queue. - Using
inquirer.prompts(prompts).process.subscribe()
you can be notified each time a question is answered.
Features (not Rx specific)
filter
functions can now be async.
Bug Fix
filter
function on aninput
prompt is not re-runned on the previously filtered value.
0.5.1
v0.5.0: Leland
v0.4.1
0.4.0: Thatcher
list
prompt now accept a String representing the value of the selected choice.checkbox
prompt now accept an Array as default value reprensenting the checked choices values.- Internal refactoring to build everything out of UI/Layout Object
- New
BottomBar
UI allowing to log content into a stream while keeping a bottom bar updated with status information. - Refactor how
Separator
are handled because of Node.js "no smart" module caching. Now Separators are objects withtype=separator
property. (Theinquirer.Separator
constructor is still the recommend use, just prefer not checkinginstanceof
for detection)
0.3.6
0.3.5
0.3.4
- Fix bug with 0.8 and 0.10 Node.js Readline where the cursor position wasn't set correctly when the prompt contained ANSI control chars. That created a visual glitch when user was using arrows, end and home keys to move through the input (the modification occured in place, but the visual cursor stayed at the end of the line).