Generate massive amounts of fake data in the browser and node.js
objectEntry
by @suyashgulati in https://github.com/faker-js/faker/pull/2123
Full Changelog: https://github.com/faker-js/faker/compare/v8.0.0-beta.0...v8.0.0-beta.1
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:
@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>
.faker.rawDefinitions
, but this is not officially supported and can be changed at anytime.Please explore https://next.fakerjs.dev for more information.
Full Changelog: https://github.com/faker-js/faker/compare/v8.0.0-alpha.2...v8.0.0-beta.0
Full Changelog: https://github.com/faker-js/faker/compare/v8.0.0-alpha.1...v8.0.0-alpha.2
arrayElements
by @import-brain in https://github.com/faker-js/faker/pull/1772
special
to symbol
by @xDivisionByZerox in https://github.com/faker-js/faker/pull/1789
pull_request_template
by @xDivisionByZerox in https://github.com/faker-js/faker/pull/1849
json
by @xDivisionByZerox in https://github.com/faker-js/faker/pull/1852
array
by @xDivisionByZerox in https://github.com/faker-js/faker/pull/1853
state
and state_abbr
to cz
by @xDivisionByZerox in https://github.com/faker-js/faker/pull/1847
Full Changelog: https://github.com/faker-js/faker/compare/v8.0.0-alpha.0...v8.0.0-alpha.1
nearbyGPSCoordinate
returns number tuple by @xDivisionByZerox in https://github.com/faker-js/faker/pull/1061
latitude
/longitude
returns number by @xDivisionByZerox in https://github.com/faker-js/faker/pull/1064
zodiacSign()
by @luciferreeves in https://github.com/faker-js/faker/pull/182
git log
output by @ST-DDT in https://github.com/faker-js/faker/pull/1539
@see
tags for deprecated methods by @matthewmayer in https://github.com/faker-js/faker/pull/1608
allowLeadingZeros
default to true
by @import-brain in https://github.com/faker-js/faker/pull/1602
allowLeadingZeros
tests by @import-brain in https://github.com/faker-js/faker/pull/1638
multiple
method by @ST-DDT in https://github.com/faker-js/faker/pull/1545
domainWord()
by @schw4rzlicht in https://github.com/faker-js/faker/pull/1520
Full Changelog: https://github.com/faker-js/faker/compare/v7.6.0...v8.0.0-alpha.0
@since
tags to all methods by @matthewmayer in https://github.com/faker-js/faker/pull/1337
usage
page in guides
by @xDivisionByZerox in https://github.com/faker-js/faker/pull/1366
Indonesian
by @fzn0x in https://github.com/faker-js/faker/pull/1401
Full Changelog: https://github.com/faker-js/faker/compare/v7.5.0...v7.6.0
datatype.hexadecimal
signature change by @import-brain in https://github.com/faker-js/faker/pull/1238
@see
by @ST-DDT in https://github.com/faker-js/faker/pull/1269
@see
tags by @ST-DDT in https://github.com/faker-js/faker/pull/1270
Full Changelog: https://github.com/faker-js/faker/compare/v7.4.0...v7.5.0
unbound-method
warnings by @xDivisionByZerox in https://github.com/faker-js/faker/pull/1128
helpers
by @xDivisionByZerox in https://github.com/faker-js/faker/pull/1161
format
parameter by @Minozzzi in https://github.com/faker-js/faker/pull/1212
Full Changelog: https://github.com/faker-js/faker/compare/v7.3.0...v7.4.0
Webpack v4 should now be supported 🚀
hacker.abbreviation()
in the en
locale by @import-brain in https://github.com/faker-js/faker/pull/1086
Full Changelog: https://github.com/faker-js/faker/compare/v7.2.0...v7.3.0
We removed the last parameter for image.imageUrl
and always generate https URLs
Full Changelog: https://github.com/faker-js/faker/compare/v7.1.0...v7.2.0