Releases: faker-js/faker
Releases · faker-js/faker
v7.6.0
What's Changed
- feat(locale): add months, days and few other minor strings to es by @rasputino in #1320
- chore(deps): update devdependencies by @renovate in #1332
- chore(deps): update doc-dependencies by @renovate in #1331
- chore: fix typedoc warning by @ST-DDT in #1339
- chore: remove obsolete test snapshots by @ST-DDT in #1338
- docs: update order of headings to be semantically correct by @mnigh in #1335
- docs: remove redundant TOCs by @ST-DDT in #1353
- docs: publish v8 roadmap by @ST-DDT in #1330
- docs: add
@since
tags to all methods by @matthewmayer in #1337 - feat(modules): export module interfaces by @Shinigami92 in #932
- fix: improve default seed initialization by @shraddhafalane in #1334
- docs: fix api generation by @Shinigami92 in #1355
- docs: fix api search by @Shinigami92 in #1361
- test: e2e tests by @Shinigami92 in #1362
- docs: fix @see links by @Shinigami92 in #1363
- docs: upgrading guide by @Shinigami92 in #1365
- docs: localization by @Shinigami92 in #1364
- chore(deps): update dependency typescript to ~4.8.3 by @renovate in #1368
- chore(deps): update dependency @types/react to ~18.0.19 by @renovate in #1367
- chore(deps): update pnpm to v7.11.0 by @renovate in #1369
- chore(deps): update devdependencies by @renovate in #1370
- chore(deps): update typescript-eslint to ~5.36.2 by @renovate in #1372
- chore(deps): update vitest to ~0.23.2 by @renovate in #1373
- chore(deps): update dependency @types/glob to v8 by @renovate in #1374
- ci: renovate unset pr hourly limit by @Shinigami92 in #1371
- chore: switch discord link by @Shinigami92 in #1377
- chore(deps): update pnpm to v7.12.0 by @renovate in #1382
- chore(deps): update vitest to ~0.23.4 by @renovate in #1380
- chore(deps): update typescript-eslint to ~5.37.0 by @renovate in #1383
- chore(deps): update doc-dependencies by @renovate in #1379
- test(finance): use validator.js for bitcoin addresses by @Minozzzi in #1375
- feat(finance): branch code option in bic() by @import-brain in #1378
- fix(finance): adjust min length of generated bitcoin address by @Minozzzi in #1384
- chore(deps): update all non-major dependencies by @renovate in #1387
- chore(deps): update dependency @types/prettier to ~2.7.1 by @renovate in #1388
- chore(deps): update typescript-eslint to ~5.38.0 by @renovate in #1390
- feat(science): add more units in en locale by @import-brain in #1386
- ci: workflows security hardening by @sashashura in #1385
- docs:
usage
page inguides
by @xDivisionByZerox in #1366 - chore(deps): update doc-dependencies by @renovate in #1389
- fix(finance): Update Belarusian Ruble to new version by @AdriVanHoudt in #1392
- fix(finance): fix typo in Belarusian Ruble's name by @AdriVanHoudt in #1395
- fix(finance): update Zambian Kwacha to new version by @AdriVanHoudt in #1393
- fix(finance): update Venezuelan bolívar name and code by @AdriVanHoudt in #1394
- chore(deps): update devdependencies by @renovate in #1381
- fix(locale): change id_ID name to
Indonesian
by @fzn0x in #1401 - feat(locale): add new Indonesia state by @fzn0x in #1400
- feat(locale): extends id_ID company prefix by @fzn0x in #1399
- fix(image): properly lock loremflickr.com images by @wesen in #1396
- docs: list required JSDoc tags by @ST-DDT in #1397
- docs: document how to write tests by @ST-DDT in #1398
- feat(locale): add first name for zh_CN by @kaysonwu in #1376
- chore(deps): update dependency vitepress to v1.0.0-alpha.17 by @renovate in #1404
- docs(website): remove API in guide section by @xDivisionByZerox in #1402
- chore(locale): regenerate locale indexes by @ST-DDT in #1403
- docs: improve usage guide for selective readers by @ST-DDT in #1406
- chore(deps): update dependency vitepress to v1.0.0-alpha.19 by @renovate in #1410
- chore(deps): update dependency esbuild to ~0.15.10 by @renovate in #1408
- chore(deps): update dependency typescript to ~4.8.4 by @renovate in #1409
- chore(deps): update pnpm to v7.13.0 by @renovate in #1412
- chore(deps): update typescript-eslint to ~5.38.1 by @renovate in #1411
- docs: fix note containers in usage guide by @iamyuu in #1417
- test(locale): check for duplicated entries by @xDivisionByZerox in #1137
- feat: lorem null response fix by @ST-DDT in #1407
- docs: improve linking between doc sections by @ST-DDT in #1418
- infra: add CI step to detect generate script diffs by @sunadoi in #1405
- infra: move the check-code-generation job to pr.yml by @sunadoi in #1419
- chore(deps): update pnpm to v7.13.3 by @renovate in #1420
- chore(deps): update typescript-eslint to ~5.39.0 by @renovate in #1422
- chore(deps): update vitest to ~0.24.0 by @renovate in #1423
- chore(deps): update devdependencies by @renovate in #1421
- docs: fix typo in BACKERS.md by @fzn0x in #1425
- feat(locale): add male first names starting with Z to id_ID by @fzn0x in #1424
- chore: mark mersenne as deprecated (internal) by @ST-DDT in #1429
- chore(deps): update devdependencies by @Shinigami92 in #1427
- test: extend vitest with (not) toContainDuplicates by @Shinigami92 in #1428
- test: fix lint warning and simplify locales test by @ST-DDT in #1430
- chore(release): 7.6.0 by @Shinigami92 in #1432
New Contributors
- @rasputino made their first contribution in #1320
- @mnigh made their first contribution in #1335
- @shraddhafalane made their first contribution in #1334
- @sashashura made their first contribution in #1385
- @AdriVanHoudt made their first contribution in #1392
- @wesen made their first contribution in #1396
- @kaysonwu made their first contribution in #1376
- @iamyuu made their first contribution in #1417
Full Changelog: v7.5.0...v7.6.0
v7.5.0
What's Changed
- docs: improve getting started by @matthewmayer in #1247
- docs: fix browser usage by @Shinigami92 in #1249
- chore(deps): update vitest to ~0.21.1 by @renovate in #1252
- chore(deps): update devdependencies by @renovate in #1251
- feat:
datatype.hexadecimal
signature change by @import-brain in #1238 - ci: allow breaking change commits by @Shinigami92 in #1255
- docs: add migration guide from v6 to v7 by @matthewmayer in #1246
- chore(deps): update typescript-eslint to ~5.33.0 by @renovate in #1260
- chore(deps): update devdependencies by @renovate in #1259
- docs: remove unused playground by @Shinigami92 in #1261
- chore(deps): update devdependencies by @renovate in #1267
- docs(commerce): add missing
@see
by @ST-DDT in #1269 - docs: fix typo in fake examples by @ST-DDT in #1268
- docs: rewrite api pages to have a right aside toc by @Shinigami92 in #1265
- refactor(git): reduce code duplication and follow code style by @ST-DDT in #1271
- feat(locale): extend Hebrew (he) by @orinaveh in #1257
- ci: verify semantic pull requests by @Shinigami92 in #1264
- chore(deps): update dependency typedoc-plugin-missing-exports to v1 by @renovate in #1272
- chore(deps): update typescript-eslint to ~5.33.1 by @renovate in #1273
- docs: update vitepress by @Shinigami92 in #1276
- chore(deps): update devdependencies by @renovate in #1274
- chore(deps): update vitest to ~0.22.0 by @renovate in #1277
- chore(deps): update dependency vitepress to v1.0.0-alpha.8 by @renovate in #1280
- chore(deps): update pnpm to v7.9.3 by @renovate in #1281
- test(internet): fix username expecting numbers with length 2 by @xDivisionByZerox in #1284
- chore(deps): update vitest to ~0.22.1 by @renovate in #1285
- feat(locale): add directions and directions abbr to pl by @hankucz in #1225
- feat(locale): add horses to pl by @hankucz in #1227
- feat(name): extract sex generator from gender to sex by @hankucz in #1168
- feat(locale): add city names (de) by @atheck in #1283
- chore(deps): update devdependencies by @renovate in #1286
- chore(deps): add glob types by @Shinigami92 in #1288
- chore(deps): update dependency vitepress to v1.0.0-alpha.9 by @renovate in #1290
- feat(name): add sexType method by @Shinigami92 in #1289
- docs: searchable api by @Shinigami92 in #1253
- feat(company): move name formats to locales by @Minozzzi in #1293
- chore(deps): update dependency vitepress to v1.0.0-alpha.10 by @renovate in #1295
- refactor(helpers): deprecate repeatString by @xDivisionByZerox in #1299
- docs: retire two maintainers by @Shinigami92 in #1301
- docs: properly handle multiple
@see
tags by @ST-DDT in #1270 - infra: set renovate schedule to weekly by @xDivisionByZerox in #1302
- fix(locale): remove SUS names by @bertlobbezoo in #1303
- fix(datatype): unintentional hex breaking change by @import-brain in #1306
- docs(datatype): fix hexadecimal jsdoc by @import-brain in #1308
- chore(deps): update devdependencies by @renovate in #1309
- chore(deps): update pnpm to v7.9.5 by @renovate in #1311
- chore(deps): update typescript-eslint to ~5.35.1 by @renovate in #1313
- refactor(address): update deprecation warning by @Shinigami92 in #1314
- chore(deps): update doc-dependencies by @renovate in #1310
- chore(deps): update dependency typescript to ~4.8.2 by @renovate in #1312
- chore(deps): update dependency eslint-define-config to ~1.6.1 by @renovate in #1315
- fix(random): retry on invalid word generation by @xDivisionByZerox in #1307
- refactor(unique): move to helpers by @xDivisionByZerox in #1298
- feat(system): add cron by @nhammond101 in #897
- fix(internal): Fix typo in deprecation message by @ST-DDT in #1316
- chore(release): 7.5.0 by @Shinigami92 in #1319
New Contributors
- @matthewmayer made their first contribution in #1247
- @orinaveh made their first contribution in #1257
- @atheck made their first contribution in #1283
- @bertlobbezoo made their first contribution in #1303
Full Changelog: v7.4.0...v7.5.0
v7.4.0
What's Changed
- chore(deps): update dependency esbuild to ~0.14.47 by @renovate in #1097
- chore(deps): update typescript-eslint to ~5.29.0 by @renovate in #1098
- chore(deps): update devdependencies by @renovate in #1100
- chore(deps): update vitest to ~0.15.2 by @renovate in #1103
- test: fix cypress doc tests by @Shinigami92 in #1088
- chore(deps): update dependency tsx to ~3.6.0 by @renovate in #1106
- chore(deps): update vitest to ~0.16.0 by @renovate in #1108
- chore(deps): update dependency lint-staged to ~13.0.3 by @renovate in #1107
- chore(deps): update devdependencies by @renovate in #1112
- chore(deps): update typescript-eslint to ~5.30.0 by @renovate in #1113
- chore(deps): update doc-dependencies by @renovate in #1110
- chore(deps): update dependency cypress to ~10.3.0 by @renovate in #1116
- chore(deps): update pnpm to v7.4.0 by @renovate in #1117
- docs(contributing): jsdocs section by @xDivisionByZerox in #1104
- chore: testing unpredictable emails and usernames by @kris71990 in #1115
- chore(deps): update pnpm to v7.4.1 by @renovate in #1121
- chore(deps): update devdependencies by @renovate in #1120
- feat(locales.en): extend vehicle by @duvall in #1102
- chore(deps): update typescript-eslint to ~5.30.4 by @renovate in #1124
- chore(deps): update devdependencies by @renovate in #1125
- chore(deps): update pnpm to v7.5.0 by @renovate in #1126
- chore(deps): update vitest to ~0.17.0 by @renovate in #1130
- chore(deps): update typescript-eslint to ~5.30.5 by @renovate in #1129
- chore(deps): update vitest to ~0.17.1 by @renovate in #1134
- chore(deps): update dependency vite to ~2.9.14 by @renovate in #1138
- chore(deps): update doc-dependencies by @renovate in #1123
- chore(deps): update vitest to ~0.18.0 by @renovate in #1140
- chore(deps): update dependency esbuild to ~0.14.49 by @renovate in #1141
- chore(deps): update pnpm to v7.5.1 by @renovate in #1144
- chore(deps): update typescript-eslint to ~5.30.6 by @renovate in #1145
- chore: cleanup gender list for en locale by @hankucz in #1146
- chore(deps): update pnpm to v7.5.2 by @renovate in #1156
- chore(deps): update vitest to ~0.18.1 by @renovate in #1157
- chore(deps): update devdependencies by @renovate in #1152
- chore(deps): update dependency vite to v3 by @renovate in #1153
- chore(linting): disable
unbound-method
warnings by @xDivisionByZerox in #1128 - refactor(name.findName): rename to fullName by @xDivisionByZerox in #1127
- feat(system.fileName): file extension count by @xDivisionByZerox in #1101
- chore(deps): update doc-dependencies by @renovate in #1160
- docs(name): use single quotes in examples and English as result by @hankucz in #1167
- chore(deps): update typescript-eslint to ~5.30.7 by @renovate in #1165
- chore(deps): update devdependencies by @renovate in #1164
- chore(linting): add naming convention rule by @xDivisionByZerox in #1170
- chore(linter): set 'jsdoc/sort-tags' rule to 'error' by @xDivisionByZerox in #1173
- refactor(company): rename companyName to name by @Minozzzi in #1166
- chore(deps): update dependency sanitize-html to ~2.7.1 by @renovate in #1177
- chore(deps): update dependency @algolia/client-search to ~4.14.1 by @renovate in #1176
- test: introduce seededTests factory by @ST-DDT in #838
- chore(deps): update pnpm to v7.6.0 by @renovate in #1182
- chore(deps): update vitest to ~0.19.0 by @renovate in #1188
- chore(deps): update dependency typedoc to ~0.23.9 by @renovate in #1187
- chore(deps): update vitest to ~0.19.1 by @renovate in #1192
- chore(deps): update devdependencies by @renovate in #1191
- feat(locales.pl): add pl translation for gender and binary gender by @hankucz in #1162
- docs(definitions): minor formatting to definitions' types by @hankucz in #1172
- chore(deps): update typescript-eslint to ~5.31.0 by @renovate in #1201
- chore(deps): update dependency @types/prettier to ~2.6.4 by @renovate in #1200
- test: remove JSON.stringify wrapper around faker.seed() in tests descriptions by @pkuczynski in #1196
- chore(locale.de): update word definition by @xDivisionByZerox in #1148
- chore(deps): update dependency esbuild to ~0.14.51 by @renovate in #1207
- chore(deps): update dependency @algolia/client-search to ~4.14.2 by @renovate in #1204
- chore(deps): update pnpm to v7.7.0 by @renovate in #1209
- chore(user-agent): fix linter warnings by @xDivisionByZerox in #1174
- refactor(fake): move to
helpers
by @xDivisionByZerox in #1161 - feat: add rodent breed on animal 'en' locale by @LordFitoi in #1136
- refactor(company.name): deprecate
format
parameter by @Minozzzi in #1212 - chore: deprecate address.streetPrefix and suffix by @ST-DDT in #1053
- test: ensure jsdoc deprecated tag to have a message by @ST-DDT in #1213
- chore(deps): update devdependencies by @renovate in #1214
- chore(deps): update pnpm to v7.8.0 by @renovate in #1215
- chore: rename Gender to Sex by @hankucz in #1163
- fix(finance.bic): remove hardcoded elements and simplify function by @hankucz in #1171
- chore(deps): update devdependencies by @renovate in #1220
- feat(dev): add male_first_name,female_first_name, jp locale by @satoc0629 in #1217
- chore(deps): update dependency typedoc to ~0.23.10 by @renovate in #1219
- chore(deps): update devdependencies by @renovate in #1222
- chore(deps): update typescript-eslint to ~5.32.0 by @renovate in #1223
- chore(deps): update vitest to ~0.20.3 by @renovate in #1229
- chore(bug-report-template): new design by @xDivisionByZerox in #1205
- feat(system.networkInterface): add networkInterface faker by @iandrewt in #1133
- docs: fixed inconsitency in @see usage in jsdoc by @hankucz in #1224
- chore(deps): update dependency @types/validator to ~13.7.5 by @renovate in #1232
- test: validate @see contents by @ST-DDT in #1231
- ci: allow all commit keywords in PR titles and add locale keyword by @ST-DDT in #1230
- locale(pl): add extra colors and sort lines by @hankucz in #1226
- chore(address): remove obsolete TODO by @ST-DDT in #1234
- locale(en): remove word examples that contain spaces by @griest024 in #281
- docs: use vitepress v1 by @Shinigami92 in #993
- chore(deps): update vitest to ~0.21.0 by @renovate in #1235
- chore(deps): update dependency @types/prettier to ~2.7.0 by @renovate in #1233
- chore(deps): update pnpm to v7.9.0 by @renovate in #1237
- chore(deps): update devdependencies by @renovate in #1240
- chore(deps): update dependency @type...
v7.3.0
New & Noteworthy
Webpack v4 should now be supported 🚀
What's Changed
- docs: add science module to readme by @import-brain in #1039
- feat: improve norwegian translations by @Johannes-Andersen in #1042
- chore: deprecate cityPrefix and citySuffix by @ST-DDT in #1041
- test: improve internet tests by @Shinigami92 in #1045
- chore: replace setToArray() with Array.from by @kris71990 in #1050
- chore(deps): update pnpm to v7.2.1 by @renovate in #1060
- chore(deps): update vitest to ~0.14.2 by @renovate in #1056
- chore(deps): update devdependencies by @renovate in #1057
- chore(deps): update typescript-eslint to ~5.28.0 by @renovate in #1070
- feat: throw error on unknown locale by @Shinigami92 in #1071
- chore(deps): update dependency esbuild to ~0.14.44 by @renovate in #1074
- chore(deps): update dependency prettier to v2.7.1 by @renovate in #1075
- chore(lorempicsum.avatar): deprecate by @xDivisionByZerox in #1065
- chore(unsplash.avatar): deprecate by @xDivisionByZerox in #1062
- chore(lorempixel.avatar): deprecate by @import-brain in #1069
- chore(deps): update vitest to ~0.15.1 by @renovate in #1078
- chore(deps): update doc-dependencies by @renovate in #1077
- chore(deps): update prettier-plugin-organize-imports to v3 by @renovate in #1079
- chore(deps): switch to tsx by @Shinigami92 in #1076
- refactor(phone): rename phoneNumber to number by @xDivisionByZerox in #1063
- chore(deps): update dependency @types/react to ~18.0.14 by @renovate in #1081
- chore(unsplash): deprecate unused const by @import-brain in #1046
- chore(deps): update dependency esbuild to ~0.14.45 by @renovate in #1082
- chore(deps): update dependency typescript to ~4.7.4 by @renovate in #1087
- docs: deprecation workflow by @xDivisionByZerox in #1067
- fix: lower target to support Webpack 4 by @JessicaSachs in #1085
- chore(random.alpha): remove todo comment by @xDivisionByZerox in #1089
- chore: renovate pl locales by @rybaczewa in #1055
- refactor(name.findName): allow prefix and suffix by @xDivisionByZerox in #1080
- docs: add hint that the generated data might be real ones by @ST-DDT in #959
- test: migrate datatype to test snapshots by @ST-DDT in #875
- feat: add abbreviations to
hacker.abbreviation()
in theen
locale by @import-brain in #1086 - chore(deps): update devdependencies by @renovate in #1091
- chore(deps): update pnpm to v7.3.0 by @renovate in #1092
- chore: use type export for science interfaces by @Shinigami92 in #1093
- chore(release): 7.3.0 by @Shinigami92 in #1095
New Contributors
- @Johannes-Andersen made their first contribution in #1042
- @kris71990 made their first contribution in #1050
- @rybaczewa made their first contribution in #1055
Full Changelog: v7.2.0...v7.3.0
v7.2.0
New & Noteworthy
We removed the last parameter for image.imageUrl
and always generate https URLs
What's Changed
- fix: 🇫🇷 fr and 🇨🇭 fr_CH 🎨 colors by @Yago in #1007
- chore(deps): update doc-dependencies to v18 (major) by @renovate in #929
- chore(deps): update pnpm to v7.1.6 by @renovate in #1012
- chore(deps): update devdependencies by @renovate in #1011
- chore(deps): update dependency esbuild to ~0.14.41 by @renovate in #1016
- chore: remove helpers.userCard() from README.md by @andrecastelo in #1013
- chore(deps): update dependency @types/prettier to ~2.6.3 by @renovate in #1015
- ci: update to pnpm/action-setup@v2.2.2 by @Shinigami92 in #1019
- chore(deps): update pnpm to v7.1.7 by @renovate in #1021
- chore(deps): update vitest to ~0.13.0 by @renovate in #1022
- chore(deps): update devdependencies by @renovate in #1020
- feat: add german adjectives by @rsstiglitz in #1023
- chore(deps): update dependency typedoc to ~0.22.16 by @renovate in #1025
- chore(deps): update devdependencies by @renovate in #1024
- chore(deps): update dependency typescript to ~4.7.2 by @renovate in #1003
- chore(deps): update dependency lint-staged to ~12.5.0 by @renovate in #1029
- chore(deps): update doc-dependencies by @renovate in #1028
- chore(deps): update typescript-eslint to ~5.27.0 by @renovate in #1032
- chore(deps): update vitest to ~0.13.1 by @renovate in #1031
- chore(deps): update devdependencies (major) by @renovate in #1033
- chore: remove superfluous newline from generate:locales script by @ST-DDT in #1027
- docs: fix faker.datatype.number document by @marcy in #1035
- feat: always use https for loremflickr by @bfanger in #1034
- chore(deps): update dependency typescript to ~4.7.3 by @renovate in #1037
- feat: science module by @import-brain in #1014
- chore(deps): update dependency @types/react to ~18.0.11 by @renovate in #1036
- docs: rework readme by @Shinigami92 in #1017
- chore(release): 7.2.0 by @Shinigami92 in #1040
New Contributors
- @andrecastelo made their first contribution in #1013
- @rsstiglitz made their first contribution in #1023
- @marcy made their first contribution in #1035
- @bfanger made their first contribution in #1034
Full Changelog: v7.1.0...v7.2.0
v7.1.0
Known Issue
⚠ WARNING: This version has compiler issues when using webpack!
What's Changed
- docs: small typo fix by @import-brain in #994
- feat: add en_CA city_name (close #983) by @wingleungchoi in #992
- docs: replace Luhn-based function jsdocs with valid numbers by @import-brain in #995
- chore(deps): update devdependencies by @renovate in #997
- chore(deps): update pnpm to v7.1.5 by @renovate in #998
- fix: Luhn generation algorithms and tests by @import-brain in #980
- feat: add music.songName by @wingleungchoi in #996
- fix(typescript): support module Node16/NodeNext by @julienfouilhe in #1005
- chore(release): 7.1.0 by @Shinigami92 in #1006
New Contributors
- @wingleungchoi made their first contribution in #992
- @julienfouilhe made their first contribution in #1005
Full Changelog: v7.0.1...v7.1.0
v7.0.1
What's Changed
- fix: revert type exports for module NodeNext, Node16 (#979) by @Shinigami92 in #989
- chore(release): 7.0.1 by @Shinigami92 in #990
Full Changelog: v7.0.0...v7.0.1
v7.0.0
⚠ BREAKING CHANGES
- remove faker default export (#799)
- target es2020 (#848)
- remove deprecations (#916)
- get rid of export = (#849)
- remove node v12 support (#850)
- reorganize src folder (#909)
What's Changed
- chore: add examples and improve jsdocs for datatype.datetime by @ST-DDT in #907
- chore: remove obsolete definition key constants by @ST-DDT in #910
- refactor!: reorganize src folder by @Shinigami92 in #909
- build!: remove node v12 support by @Shinigami92 in #850
- refactor!: get rid of export = by @Shinigami92 in #849
- chore(deps): update pnpm to v7 by @Shinigami92 in #900
- build: add node v18 support by @Shinigami92 in #847
- chore: remove obsolete DefinitionTypes type by @ST-DDT in #912
- chore(deps): add missing docs peer dependencies by @Shinigami92 in #913
- chore(deps): update dependency vitest to ~0.10.2 by @renovate in #918
- fix: empty array passed into helpers.arrayElements by @c0per in #921
- refactor!: remove deprecations by @Shinigami92 in #916
- refactor!: target es2020 by @Shinigami92 in #848
- refactor!: remove faker default export by @Shinigami92 in #799
- test: ensure working examples and no console spam by @ST-DDT in #908
- fix(generate:locale): make the definition types extendible by @ST-DDT in #915
- chore(deps): update dependency vite to ~2.9.8 by @renovate in #926
- fix: typo in error message by @azangru in #925
- ci: check scripts by @Shinigami92 in #922
- chore(deps): update vitest to ~0.10.4 by @renovate in #928
- chore(deps): update vitest to ~0.10.5 by @renovate in #931
- feat: support locale definitions directly from faker.fake by @ST-DDT in #884
- chore(locales): convert locales data to faker.fake format by @ST-DDT in #927
- chore(deps): update doc-dependencies by @renovate in #930
- chore(deps): update dependency eslint to ~8.15.0 by @renovate in #936
- docs: consistent capitalization of crypto methods by @import-brain in #937
- chore(deps): update typescript-eslint to ~5.23.0 by @renovate in #941
- chore(deps): update vitest to ~0.12.3 by @renovate in #939
- chore(deps): update dependency cypress to ~9.6.1 by @renovate in #940
- chore(deps): update vitest to ~0.12.4 by @renovate in #943
- chore(deps): update devdependencies by @renovate in #946
- chore: fix lint warning in address module by @ST-DDT in #938
- chore(deps): update vitest to ~0.12.6 by @renovate in #951
- chore(deps): update dependency @types/prettier to ~2.6.1 by @renovate in #950
- docs(docs/guide): Add typescript support in the guide by @ch1lam in #947
- chore: prettier ignore temp files by @Shinigami92 in #934
- chore(deps): update pnpm to v7.1.0 by @renovate in #935
- feat(address): use localized fake pattern in city by @ST-DDT in #948
- chore: fix emoji jsdocs formatting by @ST-DDT in #963
- chore(deps): update typescript-eslint to ~5.24.0 by @renovate in #964
- chore: ignore some lint warnings in tests by @ST-DDT in #961
- feat: add date.birthdate by @ST-DDT in #962
- chore: deprecate phone.phoneNumberFormat by @ST-DDT in #957
- chore(deps): update pnpm to v7.1.1 by @renovate in #967
- chore: deprecate phone.phoneFormats by @ST-DDT in #958
- chore(deps): update typescript-eslint to ~5.25.0 by @renovate in #968
- chore(deps): update devdependencies by @renovate in #956
- chore: generate consistent definition order for locales by @ST-DDT in #965
- chore(deps): update dependency @algolia/client-search to ~4.13.1 by @renovate in #969
- chore(deps): update pnpm to v7.1.2 by @renovate in #971
- chore(deps): update dependency eslint-plugin-jsdoc to ~39.3.0 by @renovate in #972
- chore(deps): update dependency eslint to ~8.16.0 by @renovate in #978
- chore(deps): update vitest to ~0.12.8 by @renovate in #977
- feat(internet): HTTP random status code by @johge201 in #945
- feat: use localized fake pattern in street by @ST-DDT in #966
- feat: add casing option by @Shinigami92 in #955
- chore(deps): update vitest to ~0.12.9 by @renovate in #982
- feat: allow banned as string by @Shinigami92 in #819
- chore(ru-locale): renovate states/streets and domain suffix names by @serembon in #634
- test: improve luhn checks (error messages only) by @ST-DDT in #981
- feat: color module by @harsohailB in #801
- feat: improve and extend 🇫🇷 fr and 🇨🇭fr_CH locales by @Yago in #973
- chore(deps): update pnpm to v7.1.3 by @renovate in #984
- fix: type exports for module NodeNext, Node16 by @andrew-w-ross in #979
- feat: reimplement datatype.bigInt by @Shinigami92 in #791
- feat: added sponsor and community members to the readme by @prisis in #986
- docs: fix mersenne rand min max confusion by @gregoriomario in #839
- chore: link to older docs site by @Shinigami92 in #987
- chore(release): 7.0.0 by @Shinigami92 in #988
New Contributors
- @c0per made their first contribution in #921
- @azangru made their first contribution in #925
- @ch1lam made their first contribution in #947
- @johge201 made their first contribution in #945
- @Yago made their first contribution in #973
- @andrew-w-ross made their first contribution in #979
- @gregoriomario made their first contribution in #839
Full Changelog: v6.3.1...v7.0.0
v6.3.1
What's Changed
- fix: replace deprecated arrayElement calls by @Shinigami92 in #903
- chore(release): 6.3.1 by @Shinigami92 in #905
Full Changelog: v6.3.0...v6.3.1
v6.3.0
New & Noteworthy
- New function: faker.helpers.maybe
- Move
arrayElement(s)
tohelpers
- Sorry that we currently move some functions around, we are trying to prepare a new module structure. If you want to discuss with us, see #805
- Separate methods for
objectKey
andobjectValue
, deprecateobjectElement
- We now return the seed with the
seed()
function, please use this return value instead offaker.seedValue
- Configure eol character for
git.commitEntry
- There is now a self-manageable store for the unique function
This will be the last
v6
version and we will now start withv7
. Therefore this is the last version that supports Nodev12
. The next iteration will require at least Nodev14.6
.
v7
will contain many breaking changes like removal of all current deprecated functions.
What's Changed
- chore(deps): update vitest to ~0.9.4 by @renovate in #863
- chore(deps): update dependency esbuild to ~0.14.38 by @renovate in #862
- feat: add Hungarian locale by @szabolcstarnai in #53
- docs: make clear that latitude is first on nearbyGPSCoordinate by @efstathiosntonas in #864
- test: strengthen price regex tests by @ST-DDT in #865
- feat: resettable unique store by @Shinigami92 in #800
- test: use consistent assertion functions by @Shinigami92 in #852
- chore(deps): update dependency eslint to ~8.14.0 by @renovate in #867
- chore(deps): update codecov/codecov-action action to v3.1.0 by @renovate in #866
- feat: configure eol character for git.commitEntry by @xDivisionByZerox in #681
- feat: random numeric by @Shinigami92 in #797
- test: add seeded tests for random module by @ST-DDT in #868
- chore(deps): update devdependencies by @renovate in #872
- chore(deps): update pnpm to v6.32.10 by @renovate in #873
- refactor(word): extract wordlist filter in separate method by @xDivisionByZerox in #877
- feat: faker.helpers.maybe by @Shinigami92 in #874
- fix: address.nearbyGPSCoordinate by @Shinigami92 in #876
- chore(deps): update devdependencies by @renovate in #879
- chore(deps): update pnpm to v6.32.11 by @renovate in #880
- chore: remove deprecated methods from fake tests by @ST-DDT in #885
- chore: fix any warnings in image module by @ST-DDT in #886
- test: simplify seeded address tests by @ST-DDT in #889
- feat: separate methods for object key value by @xDivisionByZerox in #503
- feat: add creditCardIssuer by @beninsydney in #888
- chore(deps): update dependency typescript to ~4.6.4 by @renovate in #891
- chore(deps): update dependency @types/node to ~16.11.32 by @renovate in #890
- chore(deps): update vitest to ~0.10.0 by @renovate in #896
- chore(deps): update typescript-eslint to ~5.21.0 by @renovate in #895
- feat: return seed value from seed() by @Shinigami92 in #853
- refactor: move some random methods to helpers by @Shinigami92 in #892
- test: add tests by @Shinigami92 in #894
- chore(deps): update dependency @types/node to ~16.11.33 by @renovate in #898
- chore(release): 6.3.0 by @Shinigami92 in #901
New Contributors
- @szabolcstarnai made their first contribution in #53
- @efstathiosntonas made their first contribution in #864
- @beninsydney made their first contribution in #888
Full Changelog: v6.2.0...v6.3.0