npm @faker-js/faker 8.0.0-beta.0
v8.0.0-beta.0

latest releases: 9.2.0, 9.1.0, 9.0.3...
18 months ago

New & Noteworthy

We are happy to announce that we are moving into the beta phase of v8. The v8 version is the last to support NodeJS v14 which reaches EOF tomorrow (2023-04-30) as well as TS 4.x. Future major versions (>= v9) won't support NodeJS v14 anymore and also official support for TS 4.x will be discontinued.

From now on, only small changes will be made; all the big things we wanted in v8 have already been implemented. This means we are now actively asking for your feedback, especially for the migration guide https://next.fakerjs.dev/guide/upgrading.html.

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.

Please explore https://next.fakerjs.dev for more information.

What's Changed

New Contributors

Full Changelog: v8.0.0-alpha.2...v8.0.0-beta.0

Don't miss a new faker release

NewReleases is sending notifications on new releases.