Skip to content

v0.22.0

Compare
Choose a tag to compare
@SBoudrias SBoudrias released this 15 Dec 07:00
· 655 commits to main since this release

New features

  • Async tasks can now return a Promise instead of calling this.async()
  • generator#registerTransformStream() can now take an array of transform streams
  • Extracted require('yeoman-generator').test to a new package (require('yeoman-test') in the hope on reducing the size of the dependencies on the end users)

Integration improvement

  • When the user select abort in a conflict prompt, we're now throwing an AbortedError rather than calling process.exit()

Deprecation

Remember, these only log deprecation warnings in the console and are not yet removed. Follow the instructions on these warnings to update your code.

  • generators.NamedBase is deprecated
  • require('yeoman-generator').test is deprecated (as explained higher)
  • require('yeoman-generator').assert is deprecated in favor of directly using require('yeoman-assert')
  • require('yeoman-generator').generators is deprecated (you can do the same with require('yeoman-generator'))