v8.0.0
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
- 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 prettier to v2.8.0 by @renovate in #1615
- refactor(date)!: unify signatures by @Shinigami92 in #1534
- docs(location): clarify city and cityName methods by @matthewmayer in #1621
- fix(internet): userName, email and slugify return only ascii by @matthewmayer in #1554
- refactor(image)!: rewrite module by @Shinigami92 in #1477
- chore(deps): update pnpm to v7.18.0 by @renovate in #1627
- docs(datatype): add missing
@see
tags for deprecated methods by @matthewmayer in #1608 - chore(deps): update doc-dependencies by @renovate in #1625
- chore(deps): update devdependencies by @renovate in #1626
- chore(deps): update typescript-eslint to ~5.45.0 by @renovate in #1628
- refactor(string)!: swap
allowLeadingZeros
default totrue
by @import-brain in #1602 - fix: broken
allowLeadingZeros
tests by @import-brain in #1638 - infra: check test snapshots to be up to date by @ST-DDT in #1632
- feat(string): add special() method by @notbrayton in #1634
- feat(helpers): introduce
multiple
method by @ST-DDT in #1545 - docs: include hints on specifying a locale can help startup time by @conner-c in #1629
- docs: how to use with testing frameworks by @brenno263 in #1623
- feat(number)!: change float default params by @Shinigami92 in #1642
- test: fix system fileExt assumption by @Shinigami92 in #1646
- fix(number): values out of bounds by @ST-DDT in #1648
- fix(image)!: remove lorempixel by @Shinigami92 in #1641
- feat(number): adjust hex default by @Shinigami92 in #1649
- docs(finance): ethereumAddress returns non checksummed addresses by @ST-DDT in #1650
- chore(deps): update typescript-eslint to ~5.46.0 by @renovate in #1663
- chore(deps): update dependency prettier to v2.8.1 by @renovate in #1657
- chore(deps): update vitest to ~0.25.7 by @renovate in #1662
- chore(deps): update pnpm to v7.18.1 by @renovate in #1661
- chore(deps): update dependency typescript to ~4.9.4 by @renovate in #1658
- chore(deps): update doc-dependencies by @renovate in #1660
- chore(deps): update devdependencies by @renovate in #1659
- chore(deps): update devdependencies (major) by @renovate in #1664
- infra: don't fail when updating snapshots by @ST-DDT in #1656
- fix: ASCII-fy
domainWord()
by @schw4rzlicht in #1520 - test: remove duplicate fixed-seeded-tests by @ST-DDT in #1653
- chore: use merge function for locale data by @ST-DDT in #1666
- feat(number)!: change int default params by @Shinigami92 in #1643
- test: fix duplicate test names by @Shinigami92 in #1647
- fix(locale): improve en_GB location addresses by @matthewmayer in #1620
- fix(locale): change country name from Holanda to official name by @marcosvidolin in #1669
- chore(deps): update pnpm to v7.18.2 by @renovate in #1672
- chore(deps): update typescript-eslint to ~5.47.0 by @renovate in #1673
- chore(deps): update vitest by @renovate in #1674
- chore(deps): update devdependencies by @renovate in #1670
- fix(person): Incorrect behavior of name.firstName() function by @matthewmayer in #1610
- feat(helpers): fake from array by @ST-DDT in #1453
- fix(location): use IANA standard for timezone by @matthewmayer in #1678
- feat(locale): update location/country list by @matthewmayer in #1676
- chore(deps): update doc-dependencies by @renovate in #1671
- fix(locale): filter inappropriate words in the en locale by @rcfox in #1633
- chore(release): 8.0.0-alpha.0 by @Shinigami92 in #1681
- 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 #1810
- test: use cy.request for e2e by @Shinigami92 in #1808
- refactor(location): normalize signatures by @xDivisionByZerox in #1784
- fix(git): commitEntry normalize user by @Shinigami92 in #1813
- refactor(datatype): standardize arguments by @xDivisionByZerox in #1804
- refactor(commerce): price use options object by @xDivisionByZerox in #1805
- docs: switch shinigami from twitter to mastodon by @Shinigami92 in #1815
- feat(person): add Portuguese BR Language to western zodiac sign by @Minozzzi in #1814
- docs: improving readability of UUID string by @Kcops11 in #1622
- docs: add matthewmayer to team by @Shinigami92 in #1816
- fix(person): Improvements to Dutch name generation, in particular regarding affixes by @amarillion in #1778
- chore(deps): update devdependencies by @renovate in #1828
- chore(deps): update dependency prettier to v2.8.4 by @renovate in #1824
- chore(deps): update pnpm to v7.27.0 by @renovate in #1829
- chore(deps): update dependency eslint-plugin-jsdoc to v40 by @renovate in #1831
- chore(deps): update vitest to ~0.28.5 by @renovate in #1827
- chore(deps): update dependency typescript to ~4.9.5 by @renovate in #1825
- chore(deps): update typescript-eslint to ~5.52.0 by @renovate in #1830
- chore(deps): update doc-dependencies by @renovate in #1826
- chore: remove comments in tsconfig.json by @bdb2381 in #1811
- docs: focus api search immediately by @ST-DDT in #1774
- test(date): add birthdate error test by @PeterYinusa in #1833
- refactor(finance): standardize arguments by @xDivisionByZerox in #1821
- chore: activate noImplicitAny by @Shinigami92 in #1839
- chore: improve error message for faker.date.birthday by @johnmal-dev in #1843
- infra: fix broken links in
pull_request_template
by @xDivisionByZerox in #1849 - infra: add preflight script by @xDivisionByZerox in #1846
- docs: Updated first example in README to utilize faker.helpers.multiple by @jhechtf in #1854
- refactor(datatype): deprecate
json
by @xDivisionByZerox in #1852 - refactor(datatype): deprecate
array
by @xDivisionByZerox in #1853 - chore(deps): update pnpm to v7.27.1 by @renovate in #1858
- chore(deps): update devdependencies by @renovate in #1859
- chore: turn on noImplicitThis by @ST-DDT in #1842
- refactor(location)!: countryCode use ISO-3166-1 by @xDivisionByZerox in #1720
- fix(person): avoid repeated last name via new last_name_patterns by @matthewmayer in #1819
- refactor(company)!: rename bs to buzz by @Shinigami92 in #1860
- fix(random): remove deprecated method usage by @ST-DDT in #1865
- refactor(git): length for commit sha by @Shinigami92 in #1863
- infra: error on deprecation by @ST-DDT in #1867
- feat(finance): currency object by @matthewmayer in #1809
- fix(currency): modernise currency list for 2023 by @matthewmayer in #1880
- fix: correct types field by @Shinigami92 in #1878
- docs: update top section of readme by @matthewmayer in #1887
- fix: discord link by @Shinigami92 in #1891
- docs: show deprecation message by @matthewmayer in #1889
- fix: more discord links by @matthewmayer in #1893
- chore: fix typo by @beaunus in #1896
- chore(deps): update devdependencies by @renovate in #1898
- refactor!: remove dynamic locale switching support by @ST-DDT in #1735
- chore(deps): update pnpm to v7.29.0 by @renovate in #1900
- chore(deps): update doc-dependencies by @renovate in #1899
- chore(deps): update typescript-eslint to ~5.54.1 by @renovate in #1901
- chore(deps): update vitest to ~0.29.2 by @renovate in #1902
- chore(deps): update dependency glob to v9 by @renovate in #1903
- fix: consistent locale names by @ST-DDT in #1884
- fix(locale): remove invalid city patterns from pt_BR by @matthewmayer in #1913
- fix(locale): correct capitalization of last_name in en_AU by @matthewmayer in #1912
- fix(internet): filter banned dots from email addresses by @matthewmayer in #1883
- docs: Add 'Sourcing data for definitions' to CONTRIBUTING by @matthewmayer in #1888
- fix(locale): az company name_patterns return undefined in name by @matthewmayer in #1914
- fix(locale): fix pt_PT street addresses by @matthewmayer in #1911
- chore(deps): update pnpm to v7.29.1 by @renovate in #1924
- chore(deps): update devdependencies by @renovate in #1925
- feat: provide enums for color values by @Shinigami92 in #1910
- refactor(date): remove duplicate context of date definitions by @matthewmayer in #1915
- refactor(internet): standardize signatures by @xDivisionByZerox in #1845
- docs: add reproducible results section by @matthewmayer in #1892
- chore(deps): update dependency vitepress to v1.0.0-alpha.58 by @renovate in #1923
- infra: run generate scripts first by @ST-DDT in #1933
- infra: enable prettier cache by @matthewmayer in #1930
- feat(helpers): new method enumValue by @ocodista in #1920
- fix(random): prevent infinite do-while by @Shinigami92 in #1938
- test(git): relax email validation in commitEntry results by @matthewmayer in #1876
- docs: fix nested parameter defaults by @ST-DDT in #1931
- chore: use enumValue by @Shinigami92 in #1937
- docs: enhance readme by @Shinigami92 in #1918
- feat(locale): add
state
andstate_abbr
tocz
by @xDivisionByZerox in #1847 - chore(locale): added dedicated swiss street names by @asharnadeem in #1946
- infra: try to fix e2e flakyness by @ST-DDT in #1947
- chore(locale): remove bs_ files in sk and cz by @matthewmayer in #1942
- chore(deps): update pnpm to v7.30.0 by @renovate in #1951
- chore(deps): update vitest to ~0.29.3 by @renovate in #1949
- chore(deps): update devdependencies by @renovate in #1950
- chore(deps): update doc-dependencies by @renovate in #1948
- chore(release): 8.0.0-alpha.1 by @Shinigami92 in #1955
- 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
- 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 street to street_pattern by @Shinigami92 in #2051
- fix: export AircraftType correctly as type by @Shinigami92 in #2077
- feat(locale): add city names for th by @matthewmayer in #2075
- feat(locale): add additional metadata properties by @matthewmayer in #2025
- refactor(datatype): deprecate datetime by @Shinigami92 in #2053
- infra: auto comment on feature requests by @xDivisionByZerox in #2041
- refactor(locale): use null as not applicable by @ST-DDT in #2078
- feat(locale): de color human by @xDivisionByZerox in #1997
- feat: introduce locale proxy by @ST-DDT in #2004
- fix: script error by @ST-DDT in #2085
- chore(deps): update devdependencies by @renovate in #2089
- chore(deps): update all non-major dependencies by @renovate in #2086
- chore(deps): update dependency prettier to v2.8.8 by @renovate in #2087
- chore(deps): update doc-dependencies by @renovate in #2088
- chore(deps): update typescript-eslint to ~5.59.0 by @renovate in #2090
- chore(deps): update dependency eslint-plugin-jsdoc to v43 by @renovate in #2091
- feat(locale): add en_HK locale by @matthewmayer in #2083
- fix: add support for equals on locale proxies by @ST-DDT in #2092
- feat(date): introduce anytime by @ST-DDT in #2096
- chore: eslint report-unused-disable-directives by @Shinigami92 in #2097
- docs: add npm script descriptions to CONTRIBUTING by @xDivisionByZerox in #2095
- refactor(location)!: rename definition city to city_pattern by @xDivisionByZerox in #2094
- chore(helpers): move unique store into faker instance by @Shinigami92 in #2072
- fix(types): locale proxy by @ST-DDT in #2099
- docs: fix full url to absolute conversion by @ST-DDT in #2101
- fix(locale): es cities should be in city_name not city_prefix, remove extraneous city_suffix by @matthewmayer in #2109
- fix(locale): fix en_HK city_pattern by @matthewmayer in #2105
- chore(release): 8.0.0-beta.0 by @Shinigami92 in #2110
- refactor(locale): add city_name to city_patterns by @xDivisionByZerox in #2104
- refactor(types): rename locale definition types to singular by @ST-DDT in #2058
- chore(deps): update devdependencies by @renovate in #2113
- chore(deps): update doc-dependencies by @renovate in #2115
- chore(deps): update typescript-eslint to ~5.59.1 by @renovate in #2114
- fix(location): no leading zero on building number or secondary address by @matthewmayer in #2032
- chore: improve regex usage by @Shinigami92 in #2108
- fix(locale): rename city_prefix to city_name for en_NG, en_ZA, en_AU_ocker by @matthewmayer in #2111
- feat(locale): add ro_MD locale by @matthewmayer in #2084
- fix(test): fix failing latitude test by @matthewmayer in #2116
- fix(locale): remove incorrect and unused city_prefix/suffix for sk by @matthewmayer in #2117
- fix(locale): el county should be city_name by @matthewmayer in #2106
- test: prepare test sources for strict mode by @Shinigami92 in #2107
- feat(helpers): new method
objectEntry
by @suyashgulati in #2123 - fix(locale): remove unrealistic fictional city patterns in ne, ro, tr by @matthewmayer in #2120
- infra: use managed pnpm by @Shinigami92 in #2124
- chore: rename generics by @Shinigami92 in #2046
- docs(location): mention real cities by @xDivisionByZerox in #2118
- chore(release): 8.0.0-beta.1 by @Shinigami92 in #2129
- fix(docs): fix faker v7 code example for locale migration by @matthewmayer in #2125
- docs: streamline upgrading guide before release by @matthewmayer in #2130
- chore(deps): update pnpm to v8.4.0 by @renovate in #2135
- chore(deps): update devdependencies by @renovate in #2132
- chore(deps): update typescript-eslint to ~5.59.2 by @renovate in #2134
- chore(deps): update dependency eslint-plugin-jsdoc to v44 by @renovate in #2137
- chore(deps): update doc-dependencies by @renovate in #2133
- docs: minor enhancements by @Shinigami92 in #2131
- chore(deps): update vitest to ~0.31.0 by @renovate in #2136
- test: lint vitest by @Shinigami92 in #2098
- fix(locales): add real cities for zu_ZA and af_ZA, update en_ZA city list by @matthewmayer in #2141
- infra: support NodeJS v20 by @Shinigami92 in #2122
- docs: add contributing link from html docs back to github by @matthewmayer in #2145
- chore(release): 8.0.0 by @Shinigami92 in #2150
New Contributors
- @domingo2000 made their first contribution in #1450
- @tlouth19 made their first contribution in #1485
- @brc-dd made their first contribution in #1487
- @thilllon made their first contribution in #1492
- @tarikjabiri made their first contribution in #1496
- @subbe made their first contribution in #1506
- @KevinMind made their first contribution in #1512
- @devloop01 made their first contribution in #1570
- @kz-d made their first contribution in #1573
- @notbrayton made their first contribution in #1634
- @conner-c made their first contribution in #1629
- @brenno263 made their first contribution in #1623
- @schw4rzlicht made their first contribution in #1520
- @marcosvidolin made their first contribution in #1669
- @rcfox made their first contribution in #1633
- @Busyvar made their first contribution in #1701
- @pladreyt made their first contribution in #1708
- @DavidMoraisFerreira made their first contribution in #1693
- @lpmi-13 made their first contribution in #1712
- @matthewpetro made their first contribution in #1737
- @BenceSzalai made their first contribution in #1758
- @Kcops11 made their first contribution in #1622
- @amarillion made their first contribution in #1778
- @bdb2381 made their first contribution in #1811
- @PeterYinusa made their first contribution in #1833
- @johnmal-dev made their first contribution in #1843
- @jhechtf made their first contribution in #1854
- @beaunus made their first contribution in #1896
- @ocodista made their first contribution in #1920
- @asharnadeem made their first contribution in #1946
- @bdimitrovski made their first contribution in #1801
- @okcoker made their first contribution in #1956
- @deltamualpha made their first contribution in #1961
- @wooneusean made their first contribution in #1569
- @shai-shimon made their first contribution in #1721
- @munkeawtoast made their first contribution in #1922
- @MarioRodrigues10 made their first contribution in #2029
- @suyashgulati made their first contribution in #2123
Full Changelog: v7.6.0...v8.0.0