Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update inquirer to version 1.0.0 🚀 #2

Closed
wants to merge 1 commit into from

Conversation

greenkeeperio-bot
Copy link
Contributor

Hello 👋

🚀🚀🚀

inquirer just published its new version 1.0.0, which is not covered by your current version range.

If this pull request passes your tests you can publish your software with the latest version of inquirer – otherwise use this branch to work on adaptions and fixes.

Happy fixing and merging 🌴


GitHub Release

Say hello to promises!

The whole inquirer API is now based on promises!

  • The base API interface is now inquirer.prompt(questions).then(). There's no more callback function.
  • Any async question functions is taking a promise as return value instead of requiring this.async().

Breaking changes

  • filter is now always run before validate #122
  • inquirer.prompt doesn't take a callback argument anymore

Bug fixes

  • Fixed list not displayed disabled options correctly #321

And various other minor fixes and cleanup to the code base.


The new version differs by 42 commits .

  • 20c3c5d Fix markdown formatting issue
  • c4e547e 1.0.0
  • 6af7429 Updates to readme
  • 9a260c5 Get rid of unused functions
  • f2487f4 Simplify handling of default parameters
  • 51aa29b Less magic in the base prompt handling of submit events
  • 0f3fdf3 Update expand prompt to new filter/validate order
  • 43efd8c Get rid of double filtering
  • 554e2d4 Decouple tests from the run callback parameter
  • 474415f Delete usage from callback in checkbox tests
  • 0f19ee1 Filter input before validation - Fix #122
  • 20459ff Update Observable interface documentation
  • cbf9f95 Get rid of the callback interface (reduce complexity of managing two different error system)
  • db09799 Update test to only use promise interface
  • 3e83456 Make sure readline isn't muted when updating the BottomBar - Fix #116

There are 42 commits in total. See the full diff.


This pull request was created by greenkeeper.io.
It keeps your software, up to date, all the time.

Tired of seeing this sponsor message? Upgrade to the supporter plan! You'll also get your pull requests faster ⚡

@helloyou2012 helloyou2012 deleted the greenkeeper-inquirer-1.0.0 branch April 9, 2016 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants