npm / fishery
fishery
What changed in fishery 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
2 new APIs and options1 behavior and defaults1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initfishery 24 changes
New APIs and options 2
Use afterCreate when a factory needs multiple creation callbacks.
create can now be specified with a different return type.
Behavior and default changes 1
A factory can have only one onCreate.
Fixes and other changes 1
Fixed merging of Buffer objects.