Releases: yeoman/generator
Releases · yeoman/generator
v0.21.2
Maintenance release of the 0.21 version.
Force downgrade yeoman-environment to keep tests utilities compatible on that version.
v0.23.3
- Downgrade deps for Node < v4 compatibility.
v0.23.2
- Downgrade deps for Node < v4 compatibility.
v0.23.1
Fix a regression we introduced in the [email protected]
series where some errors would simply get ignored. This shouldn't have impacted any generator used through yo
, but it might have swallowed errors happening during tests. These errors are now correctly surfaced.
v0.23.0
Base#prompt()
functions now returns a promise instead of taking a callback parameter. That'll make it easier to use inside asynchronous tasks.
prompting: function () {
return this.prompt(questions).then(function (answers) {
this.answers = answers;
}.bind(this));
}
This feature might requires a recent version of yo
to work (npm -g update yo
).
v0.22.6
Fix issue where error would be swallowed when no error listeners are set.
v0.22.5
- Fix export bug we introduced in 0.22.4
v0.22.4
- Fix generator destinationPath not being updated correctly if a
.yo-rc.json
file was found in a parent directory.
v0.22.3
- When a process was listening for errors happening during a generator run, the process would ignore the error and run every tasks to completion (#888). Generators now correctly stop once an error is thrown.
v0.22.2
- Fix option alias parsing
- Normalize
default
option between this.prompt()
and this.option()
- it's now always written default
(defaults
is aliased for now to maintain backward compatibility)