Skip to content

v8.0.0

Compare
Choose a tag to compare
@Shinigami92 Shinigami92 released this 11 May 17:38
· 915 commits to next since this release
46b6585

New & Noteworthy

We are happy to announce that the stable release of v8. The v8 version will be the last version that supports NodeJS v14 which reached EOL on (2023-04-30).
Future we won't also support TS 4.x in further major versions anymore (>= v9).

For a complete migration guide from v7 to v8 please checkout fakerjs.dev/guide/upgrading.

Biggest changes between v7 to v8:

  • We removed support for locale switching at runtime. However, it is now possible to craft custom Faker instances with imported locales and chain them as fallbacks.
  • You can not import all pre-build Faker instances from @faker-js/faker, but there is a known bug #1791 so it is currently still recommended to import them from @faker-js/faker/locale/<locale>.
  • Behind the scenes, we are now throwing errors for non existing locale data. If you need to access the raw data for any reasons, you can still access them via faker.rawDefinitions, but this is not officially supported and can be changed at anytime.
  • Image providers are deprecated, please use the image module directly.

https://fakerjs.dev is now also fully updated. Please feel free to explore it.

What's Changed

New Contributors

Full Changelog: v7.6.0...v8.0.0