Skip to content
Logo

Changelog

for @ghostry/fabricator-extension-faker-v10

Every release of @ghostry/fabricator-extension-faker-v10, newest first.

v0.0.3

· Release on GitHub

Performance

  • The 18 lorem and word builders no longer copy a whole locale word list for every word they pick. They run 3–7x faster on Bun 1.4, and 20–100x faster on Bun 1.2.
  • Output is unchanged: the same salt gives the same words as before.

Behavior change

  • An error's .name now starts with the package name: "@ghostry/fabricator-extension-faker-v10:NoActiveScopeError" instead of "NoActiveScopeError". instanceof checks are unaffected.

Compatibility

  • Peer dependency raised to @ghostry/fabricator >=0.0.14 <0.1.0. Builders that state a format or pattern (internet.email, string.uuid, image.url, and others) now set it with .admits(...), which arrives in that version. TypeBox output is unchanged.

Docs: https://docs.ghostry.dev/fabricator/guides/faker

v0.0.2

· Release on GitHub

Catches up to @ghostry/fabricator@0.0.3+. No functional changes to the extension itself.

  • Peer dependency and package metadata refresh: README badges and logo, expanded keywords, engines.node >= 20, homepage pointing at the docs site.
  • Doc/comment terminology updates ("seed" → "salt"/stream) to match fabricator's current vocabulary.

v0.0.1

· Release on GitHub

Initial release.

@faker-js/faker generators drawing from the same seed as every other builder in a schema, so T.faker.person.fullName() replays exactly like T.string does — no second seed to track, no drift between runs. faker.seed(...) is inert here by design.

Every builder returns a real core kind rather than an opaque producer, so faker-backed fields stay visible to adapters and to combinatorial/coverage. The kind table is generated by probing a real Faker, and a compile-time assertion checks each entry against faker's own declared return type.

Targets @faker-js/faker 10.x specifically — hence -v10.

npm install @ghostry/fabricator-extension-faker-v10 @ghostry/fabricator @faker-js/faker

Guide: https://docs.ghostry.dev/fabricator/guides/faker