npm / yeoman-generator
yeoman-generator
What changed in yeoman-generator 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.
6 new APIs and options1 performance4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inityeoman-generator 1011 changes
New APIs and options 6
Adds disableLodashProperty to disable the lodash property.
Adds the templateContext feature for use by generator developers.
Adds the defaultContent storage hook.
Uses the namespaceId option for the generator instance.
Adds the parseContent storage hook.
Adds the serializeContent storage hook.
Performance 1
Lodash is loaded only when the _ property is first used.
Fixes and other changes 4
Fixes cancelCancellableTasks() in beforeQueue cancelling the generator's own tasks queued next.
Skips a package.json without a name or version when looking up the root generator package.
Registers a custom priority after the priority it is added before.
Checks the cache against file contents instead of relying on a change listener per storage.