Releases: faker-js/faker
v8.0.0-beta.0
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
- chore(deps): update vitest to ~0.29.7 by @renovate in #1981
- chore(deps): update devdependencies by @renovate in #1979
- chore(deps): update pnpm to v7.30.3 by @renovate in #1980
- chore(deps): update doc-dependencies by @renovate in #1982
- feat(locale): add hyphenated names to English locales by @matthewmayer in #1872
- docs: extend Faker class jsdocs by @ST-DDT in #1960
- docs: mark method references in @Deprecation messages by @ST-DDT in #1963
- docs(color): improve rgb examples by @matthewmayer in #1970
- feat(helpers): add fromRegExp method by @wooneusean in #1569
- docs: unwrap nested named union and literal types by @ST-DDT in #1965
- chore(deps): update dependency prettier to v2.8.7 by @renovate in #1954
- feat: add base locale by @Shinigami92 in #1748
- chore(locale): change uk_country to state by @matthewmayer in #1989
- docs(location): improve documentation for state and county by @matthewmayer in #1987
- feat(locale): add fi states by @matthewmayer in #1986
- docs: add overview guides to specific modules by @matthewmayer in #1929
- test: separate jsdoc tag tests by @Shinigami92 in #1969
- fix(image): use seeded picsum by @Shinigami92 in #1968
- feat(locale): add af_ZA and zu_ZA states by @matthewmayer in #1983
- feat(locale): add hu states by @matthewmayer in #1990
- refactor(finance): simplify routingNumber implementation by @ST-DDT in #1993
- test: replace deprecated method call by @ST-DDT in #1999
- test(finance): remove debug code from test by @ST-DDT in #1998
- refactor(helpers): deprecate unique method by @Shinigami92 in #1790
- refactor(locale)!: move title to metadata by @ST-DDT in #1978
- docs: mark deprecated modules by @ST-DDT in #2000
- feat(locale): extend Hebrew locale data by @shai-shimon in #1721
- refactor: restore en_IND by @Shinigami92 in #1873
- chore(deps): update devdependencies by @renovate in #2006
- feat(locale): add locale TH by @munkeawtoast in #1922
- docs(person): fix formatting issues by @ST-DDT in #2005
- fix: typo in Faker jsdocs by @ST-DDT in #2008
- infra: extend preflight by @ST-DDT in #2003
- feat(locale): add en_US location.county data by @matthewmayer in #1996
- docs: Faker and utility pages by @ST-DDT in #1940
- refactor(finance)!: simplify account implementation by @ST-DDT in #1992
- docs: normalize blocks by @Shinigami92 in #2002
- fix(locale): fix broken street address reference in fr_CH by @ST-DDT in #2007
- refactor(locale): rename ge to ka_GE by @matthewmayer in #2010
- chore(deps): update vitest to ~0.29.8 by @renovate in #2015
- chore(deps): update pnpm to v7.30.5 by @renovate in #2017
- chore(deps): update doc-dependencies by @renovate in #2018
- chore(deps): update typescript-eslint to ~5.57.1 by @renovate in #2016
- chore: activate eslint no-else-return by @Shinigami92 in #2009
- docs(helpers): document unique deprecation by @Shinigami92 in #2001
- refactor(locale): rename cz to cs_CZ by @matthewmayer in #2013
- infra: add labels to feature issue template by @xDivisionByZerox in #2028
- refactor(location)!: zip code state by @Shinigami92 in #1874
- refactor(company): remove English locale definitions from company in non-English locales by @matthewmayer in #2027
- docs: document format of locale codes, allFakers and allLocales by @matthewmayer in #2030
- chore(deps): update vitest to ~0.30.1 by @renovate in #2034
- chore(deps): update all non-major dependencies by @renovate in #2035
- chore(deps): update typescript-eslint to ~5.58.0 by @renovate in #2038
- chore(deps): update devdependencies by @renovate in #2036
- chore(business): remove old business data by @matthewmayer in #2033
- chore(deps): update pnpm to v8 by @renovate in #2039
- fix(locales): remove wrong phone number in Portugal by @MarioRodrigues10 in #2029
- chore(deps): update doc-dependencies by @renovate in #2037
- docs: fix docs:dev api search completion navigation by @ST-DDT in #2043
- infra: remove typedoc-plugin-missing-exports dependency by @ST-DDT in #2042
- chore: reword to elements by @Shinigami92 in #2049
- test: rename type to singular by @Shinigami92 in #2052
- docs: document @throws parameter in API docs by @matthewmayer in #2050
- chore: unify todos by @Shinigami92 in #2063
- chore: consistent jsdocs tag formatting by @ST-DDT in #2056
- chore(location): standardize abbreviated parameter by @Shinigami92 in #2061
- docs(image): explain deprecation of category methods by @matthewmayer in #2040
- refactor: rename patterns to pattern by @Shinigami92 in #2059
- chore(deps): update devdependencies (major) by @renovate in #2066
- refactor(location): merge state and stateAbbr by @xDivisionByZerox in #2060
- chore(deps): update devdependencies by @renovate in #2064
- chore(deps): update doc-dependencies by @renovate in #2065
- refactor(date): rename abbr to abbreviated by @Shinigami92 in #2068
- refactor(finance): rename account to accountNumber by @Shinigami92 in #2054
- refactor(finance): rename mask to maskedNumber by @Shinigami92 in #2055
- docs: check api references by @ST-DDT in #2024
- docs: strikethrough deprecated methods on api index by @matthewmayer in #2067
- refactor(location): deprecate streetName by @Shinigami92 in #2071
- refactor(location): deprecate cityName by @xDivisionByZerox in #2070
- refactor(helpers)!: remove default value from arrayElement by @xDivisionByZerox in #2045
- infra: add funding and bugs link by @Shinigami92 in #2076
- refactor(location)!: rename definition str...
v8.0.0-alpha.2
What's Changed
- chore(deps): update typescript-eslint to ~5.56.0 by @renovate in #1952
- docs: keyboard only search navigation by @ST-DDT in #1932
- test(helpers): mustache special cases by @Shinigami92 in #1875
- feat(locale): add Serbian (Latin) language by @bdimitrovski in #1801
- fix(locale): split zh_TW first_names by gender by @matthewmayer in #1941
- chore(random): deprecate random module by @ST-DDT in #1939
- docs: fix function reference typo in readme by @okcoker in #1956
- test(number): replace RegExp with validation functions by @xDivisionByZerox in #1857
- docs(color): fix color rgb docs by @Shinigami92 in #1958
- docs(internet): password doesn't create crypto-secure PWs by @deltamualpha in #1961
- fix: revert types field by @Shinigami92 in #1966
- docs: mark deprecated parameter options by @ST-DDT in #1962
- chore(release): 8.0.0-alpha.2 by @Shinigami92 in #1971
New Contributors
- @bdimitrovski made their first contribution in #1801
- @okcoker made their first contribution in #1956
- @deltamualpha made their first contribution in #1961
Full Changelog: v8.0.0-alpha.1...v8.0.0-alpha.2
v8.0.0-alpha.1
What's Changed
- feat(helpers): allow empty string in fake by @ST-DDT in #1679
- infra: remove git commit hooks by @Shinigami92 in #1684
- test(helpers): fake should not trim whitespace by @ST-DDT in #1680
- chore(deps): update vitest to ~0.26.2 by @renovate in #1688
- chore(deps): update devdependencies by @renovate in #1689
- chore(deps): update pnpm to v7.20.0 by @renovate in #1690
- chore(deps): update dependency @types/prettier to ~2.7.2 by @renovate in #1687
- docs(datatype): allow markdown in @see links by @matthewmayer in #1667
- docs: update gitignore by @ST-DDT in #1697
- docs: fix param check by @ST-DDT in #1694
- chore: turn on padding-line-between-statements by @Shinigami92 in #1691
- chore(locale): split de_CH first names into male and female by @matthewmayer in #1692
- feat(person): add short bio by @matthewmayer in #1696
- chore: update license years to 2023 by @Shinigami92 in #1706
- feat(helpers): add new faker.helpers.weightedArrayElement by @matthewmayer in #1654
- refactor(location): nearbyGPSCoordinate options by @Shinigami92 in #1682
- feat(locale): extend english company by @Busyvar in #1701
- chore(locale): split es_MX names into female/male by @matthewmayer in #1704
- chore(locale): split ne first_names to female and male by @matthewmayer in #1705
- feat(number): add binary and octal random number generation by @pladreyt in #1708
- feat(string): add binary and octal random string generation by @pladreyt in #1710
- docs: show hint regarding displayed readme version by @ST-DDT in #1698
- chore(test): skip console messages containing 'deprecated' by @matthewmayer in #1709
- feat(locale): add Luxembourg (French) locale by @DavidMoraisFerreira in #1693
- docs: fix simple typo by @lpmi-13 in #1712
- infra: set lint warnings to error by @ST-DDT in #1714
- feat(person): split prefix into gendered versions by @matthewmayer in #1665
- feat(string): nanoid by @xDivisionByZerox in #1716
- refactor(company): deprecate suffix methods by @ST-DDT in #1719
- test: repair all functional test by @ST-DDT in #1718
- chore(deps): update vitest to ~0.27.0 by @renovate in #1722
- chore(deps): update pnpm to v7.24.2 by @renovate in #1723
- chore(deps): update devdependencies by @renovate in #1725
- chore: remove debug code by @ST-DDT in #1724
- chore(deps): update typescript-eslint to ~5.48.1 by @renovate in #1727
- chore(deps): update doc-dependencies by @renovate in #1728
- docs: use native mastodon icon by @Shinigami92 in #1729
- feat(string): generate string from characters by @ST-DDT in #1717
- feat(locales): add mergeLocales utility by @ST-DDT in #1707
- chore(deps): update pnpm to v7.25.0 by @renovate in #1743
- chore(deps): update vitest to ~0.27.1 by @renovate in #1741
- chore(deps): update dependency vitepress to v1.0.0-alpha.36 by @renovate in #1740
- chore(deps): update dependency prettier to v2.8.3 by @renovate in #1726
- chore(deps): update dependency rimraf to v4 by @renovate in #1744
- chore(deps): update devdependencies by @renovate in #1742
- infra: setup dev-container by @ST-DDT in #1652
- build: escape locale import names if they match the module name by @matthewpetro in #1737
- docs: jsdoc for options by @Shinigami92 in #1644
- fix(locale): filter inappropriate words in the en locale by @matthewmayer in #1745
- fix(internet): fix invalid emails in some locales by @matthewmayer in #1746
- feat(company): add realistic Hungarian company names by @BenceSzalai in #1758
- infra: apply shorter CI timeouts and retry e2e once by @ST-DDT in #1756
- infra: changelog generation by @xDivisionByZerox in #1304
- docs: unwrap complex array params by @ST-DDT in #1753
- chore: export mergeLocales utility by @ST-DDT in #1751
- chore(deps): update vitest to ~0.27.3 by @renovate in #1762
- refactor(git): commitDate explicitly set default for refDate by @xDivisionByZerox in #1750
- test: use basic reporter by @Shinigami92 in #1763
- chore(deps): update pnpm to v7.25.1 by @renovate in #1768
- chore(deps): update typescript-eslint to ~5.48.2 by @renovate in #1769
- chore(deps): update doc-dependencies by @renovate in #1767
- refactor: reorganize apidoc scripts and reuse them for tests by @ST-DDT in #1759
- chore(deps): update devdependencies by @renovate in #1766
- docs(internet): document emoji type values by @matthewmayer in #1732
- feat(date): introduce faker.defaultRefDate and setDefaultRefDate by @ST-DDT in #1757
- fix(helpers): uniform distribution in helpers.arrayElements by @ST-DDT in #1770
- chore: remove disturbing image from README by @ST-DDT in #1782
- feat(helpers): add length range support in
arrayElements
by @import-brain in #1772 - docs: fix unwrap literal union by @ST-DDT in #1752
- chore: fix missing defaultRefDate calls by @ST-DDT in #1781
- docs: big api button by @ST-DDT in #1773
- test(helpers): widen arrayElements distribution by @Shinigami92 in #1786
- refactor(locale)!: remove unused separator entry by @ST-DDT in #1731
- refactor(docs): split generate:api-docs execution from import by @ST-DDT in #1779
- refactor(internet): remove weigths in userAgent by @xDivisionByZerox in #1761
- refactor(string): rename
special
tosymbol
by @xDivisionByZerox in #1789 - test(system): add valid 0 for cron by @Shinigami92 in #1787
- refactor(system): replace mime db with common dataset by @xDivisionByZerox in #1788
- chore(deps): update pnpm to v7.26.2 by @renovate in #1797
- chore(deps): update typescript-eslint to ~5.49.0 by @renovate in #1798
- feat(number)!: default to high precision float by @matthewmayer in #1675
- test: use cypress container by @Shinigami92 in #1792
- docs: fix see also for non faker.x references by @ST-DDT in #1794
- feat(airline): add airline module by @matthewpetro in #1699
- chore(deps): update vitest to ~0.28.3 by @renovate in #1799
- chore(deps): update devdependencies by @renovate in #1796
- chore(deps): update dependency vitepress to v1.0.0-alpha.43 by @renovate in #1795
- infra: configure lint rule array-type by @Shinigami92 in #1793
- test: run tests shuffled by @Shinigami92 in #1645
- infra(docs): add docs diff script by @ST-DDT in #1755
- fix(person): change fullName to use name patterns by @matthewmayer in #1637
- test: configure chai truncated threshold by @Shinigami92 in #1807
- docs: show source link by @ST-DDT in #1780
- fix(locale): replace Ð with Đ in hr and vi by @matthewmayer in https://git...
v8.0.0-alpha.0
What's Changed
- infra: relink main to next by @Shinigami92 in #1435
- chore(deps): update pnpm/action-setup action to v2.2.3 by @renovate in #1433
- refactor!: cleanup deprecations by @Shinigami92 in #1440
- feat(internet)!: ip now returns ipv4 and ipv6 by @xDivisionByZerox in #1059
- feat(location)!:
nearbyGPSCoordinate
returns number tuple by @xDivisionByZerox in #1061 - docs: fix CONTRIBUTING.md JSDoc do/dont by @domingo2000 in #1450
- refactor(company)!: remove hardcoded name fallback pattern by @Minozzzi in #1451
- refactor(locale)!: change en_IND to en_IN by @wael-fadlallah in #1448
- refactor!: make mersenne internal by @Shinigami92 in #1444
- docs: remove obsolete check by @ST-DDT in #1452
- test: fix fake test expectation by @ST-DDT in #1458
- refactor(person)!: rename name module by @Shinigami92 in #1445
- feat(location)!:
latitude
/longitude
returns number by @xDivisionByZerox in #1064 - chore(deps): update action-semantic-pull-request action to v5 by @renovate in #1434
- chore(deps): update dependency vitepress to v1.0.0-alpha.21 by @renovate in #1461
- chore(deps): update devdependencies by @renovate in #1462
- chore(deps): update vitest to ~0.24.3 by @renovate in #1463
- chore(deps): update all non-major dependencies by @renovate in #1460
- feat(string): move methods to new module by @xDivisionByZerox in #1155
- docs(string): update function jsdocs by @import-brain in #1473
- refactor(location)!: rename address module by @Shinigami92 in #1469
- docs: link to next docs and vice versa by @ST-DDT in #1438
- docs: fix version test by @ST-DDT in #1478
- feat: fake with multiple parameters by @ST-DDT in #1459
- chore(deps): update pnpm to v7.14.0 by @renovate in #1484
- chore(deps): update typescript-eslint to ~5.40.1 by @renovate in #1483
- chore(deps): update devdependencies by @renovate in #1481
- chore(deps): update doc-dependencies by @renovate in #1482
- docs: fix typo in usage section by @tlouth19 in #1485
- feat(internet): add options to url() by @import-brain in #1480
- docs: add version banner by @brc-dd in #1487
- chore(deps): update devdependencies by @renovate in #1495
- chore(deps): update doc-dependencies by @renovate in #1493
- feat(locale): update Korean color, date, location, word, company by @thilllon in #1492
- docs: fix snippets of codes in usage guide by @tarikjabiri in #1496
- refactor(mersenne): rewrite internal mersenne by @Shinigami92 in #1447
- refactor!: upgrade node minimum target by @Shinigami92 in #1494
- chore(deps): update devdependencies by @renovate in #1501
- chore(deps): update pnpm to v7.14.1 by @renovate in #1502
- chore(deps): update typescript-eslint to ~5.41.0 by @renovate in #1503
- docs: fix findname in usage docs by @matthewmayer in #1504
- feat(datatype): introduce probability option to boolean by @ST-DDT in #1476
- infra: use pnpm native in netlify configuration by @brc-dd in #1509
- docs: remove duplicate description tags by @brc-dd in #1510
- feat(locale): add dv locale by @subbe in #1506
- docs: update since tags for person and location by @matthewmayer in #1516
- feat(git): add options.refDate to commitEntry by @KevinMind in #1512
- chore(deps): update pnpm to v7.14.2 by @renovate in #1529
- chore(deps): update vitest to ~0.24.5 by @renovate in #1530
- chore(deps): update typescript-eslint to ~5.42.0 by @renovate in #1531
- chore(deps): update doc-dependencies by @renovate in #1528
- chore(deps): update devdependencies by @renovate in #1527
- feat(person): add
zodiacSign()
by @luciferreeves in #182 - refactor(helpers)!: rewrite shuffle by @Shinigami92 in #1521
- chore(deps): update vitest to ~0.25.1 by @renovate in #1544
- fix(git): adjust commitEntry to match
git log
output by @ST-DDT in #1539 - chore: use boolean probability instead of magic numbers by @ST-DDT in #1540
- chore: remove broken source urls found in some locales by @subbe in #1511
- fix(date): don't allow parameters <= 0 by @Shinigami92 in #1536
- test: use test snapshots for scripts/apidoc/signature.spec.ts by @ST-DDT in #1488
- feat(word): add sample method by @pkuczynski in #714
- docs(helpers): extend module jsdocs by @ST-DDT in #1515
- infra: update website redirects (next) by @ST-DDT in #1523
- chore(deps): update doc-dependencies by @renovate in #1558
- chore(deps): update dependency cypress to v11 by @renovate in #1562
- chore(deps): update typescript-eslint to ~5.42.1 by @renovate in #1559
- chore(deps): update pnpm to v7.15.0 by @renovate in #1561
- chore(deps): update devdependencies by @renovate in #1560
- refactor(string): rename params by @import-brain in #1551
- fix(locale): mk (Macedonian) names should use cyrillic а by @matthewmayer in #1557
- fix: correct the logic of first_name in en_GH locale by @wael-fadlallah in #1566
- test: use runner on different timezone by @Shinigami92 in #1537
- feat(locale): add free email domains for zh_CN by @matthewmayer in #1555
- chore(deps): update dependency typescript to ~4.9.3 by @renovate in #1581
- chore(deps): update pnpm to v7.17.0 by @renovate in #1583
- chore(deps): update vitest to ~0.25.2 by @renovate in #1580
- chore(deps): update dependency vitepress to v1.0.0-alpha.29 by @renovate in #1579
- chore(deps): update devdependencies by @renovate in #1582
- chore(deps): update typescript-eslint to ~5.43.0 by @renovate in #1584
- docs: add upgrading guide for v8 by @matthewmayer in #1517
- feat(helpers): add rangeToNumber method and add range parameters by @ST-DDT in #1486
- chore: fix company definition jsdocs by @ST-DDT in #1575
- docs: use interface instead of class by @devloop01 in #1570
- chore: re-enable sanitizeHtml check by @ST-DDT in #1500
- feat(locate): add japanese company by @kz-d in #1573
- chore(date): adjust to our standard implementation by @ST-DDT in #1589
- docs(date): clarify the purpose of the context parameter by @matthewmayer in #1576
- feat(number): move methods to new module by @xDivisionByZerox in #1122
- docs: verify mastodon by @Shinigami92 in #1594
- docs: refactor migration guide by @matthewmayer in #1609
- chore(deps): update typescript-eslint to ~5.44.0 by @renovate in #1617
- chore(deps): update pnpm to v7.17.1 by @renovate in #1613
- chore(deps): update vitest to ~0.25.3 by @renovate in #1614
- chore(deps): update devdependencies by @renovate in #1616
- chore(deps): update dependency p...
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/[email protected] 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