New
v10.0.0
New & Noteworthy
- esm only (for cjs support look into migration guide, we got you covered ๐)
- remove v9 deprecations
- change default error strategy to 'fail' in word module
- remove invalid credit card issuer patterns
- see our migration guide
What's Changed
- ci: use node 24 by @Shinigami92 in https://github.com/faker-js/faker/pull/3543
- infra: stop using node 18 by @Shinigami92 in https://github.com/faker-js/faker/pull/3536
- infra: use import.meta.dirname by @Shinigami92 in https://github.com/faker-js/faker/pull/3542
- chore(deps): update devdependencies (major) by @renovate[bot] in https://github.com/faker-js/faker/pull/3512
- chore(deps): update eslint by @renovate[bot] in https://github.com/faker-js/faker/pull/3555
- chore(deps): update dependency @vitest/eslint-plugin to v1.3.4 by @renovate[bot] in https://github.com/faker-js/faker/pull/3554
- chore(deps): update devdependencies by @renovate[bot] in https://github.com/faker-js/faker/pull/3556
- chore(deps): lock file maintenance by @renovate[bot] in https://github.com/faker-js/faker/pull/3557
- feat!: esm only by @Shinigami92 in https://github.com/faker-js/faker/pull/3540
- refactor!: remove deprecations by @Shinigami92 in https://github.com/faker-js/faker/pull/3553
- docs: migration guide for v10 by @matthewmayer in https://github.com/faker-js/faker/pull/3559
- infra: more precise engines field by @matthewmayer in https://github.com/faker-js/faker/pull/3561
- refactor(word)!: change default error strategy to 'fail' by @xDivisionByZerox in https://github.com/faker-js/faker/pull/3560
- chore(release): 10.0.0-beta.0 by @fakerjs-bot in https://github.com/faker-js/faker/pull/3565
- docs: Minor improvements to migration guide by @matthewmayer in https://github.com/faker-js/faker/pull/3569
- chore(deps): update pnpm to v10.13.1 by @renovate[bot] in https://github.com/faker-js/faker/pull/3570
- chore(deps): update devdependencies by @renovate[bot] in https://github.com/faker-js/faker/pull/3571
- chore(deps): update eslint by @renovate[bot] in https://github.com/faker-js/faker/pull/3572
- chore(deps): lock file maintenance by @renovate[bot] in https://github.com/faker-js/faker/pull/3562
- chore(deps): update dependency typescript to v5.9.2 by @renovate[bot] in https://github.com/faker-js/faker/pull/3576
- chore(deps): update pnpm to v10.14.0 by @renovate[bot] in https://github.com/faker-js/faker/pull/3579
- chore(deps): update mcr.microsoft.com/devcontainers/typescript-node:22 docker digest to 2baa40a by @renovate[bot] in https://github.com/faker-js/faker/pull/3575
- chore(deps): update devdependencies by @renovate[bot] in https://github.com/faker-js/faker/pull/3577
- chore(deps): update eslint (major) by @renovate[bot] in https://github.com/faker-js/faker/pull/3580
- chore(deps): update eslint by @renovate[bot] in https://github.com/faker-js/faker/pull/3578
- feat(locale): extended list of colors in Polish by @pkuczynski in https://github.com/faker-js/faker/pull/3586
- refactor(locale): remove invalid credit card issuer patterns by @xDivisionByZerox in https://github.com/faker-js/faker/pull/3568
- docs: update migration guide with findings from playground update by @xDivisionByZerox in https://github.com/faker-js/faker/pull/3587
- chore: fix typo in test by @noritaka1166 in https://github.com/faker-js/faker/pull/3591
- chore(deps): update all non-major dependencies by @renovate[bot] in https://github.com/faker-js/faker/pull/3596
- chore(deps): update amannn/action-semantic-pull-request action to v6 by @renovate[bot] in https://github.com/faker-js/faker/pull/3598
- chore(deps): update devdependencies by @renovate[bot] in https://github.com/faker-js/faker/pull/3599
- chore(deps): update actions/checkout action to v5 by @renovate[bot] in https://github.com/faker-js/faker/pull/3597
- chore(deps): update dependency cypress to v15 by @renovate[bot] in https://github.com/faker-js/faker/pull/3603
- chore(deps): update dependency vitepress to v1.6.4 by @renovate[bot] in https://github.com/faker-js/faker/pull/3601
- chore(deps): pin dependency node to 24.6.0 by @renovate[bot] in https://github.com/faker-js/faker/pull/3600
- chore(deps): update dependency typescript-eslint to v8.40.0 by @renovate[bot] in https://github.com/faker-js/faker/pull/3602
- chore(deps): update dependency eslint-plugin-jsdoc to v54 by @renovate[bot] in https://github.com/faker-js/faker/pull/3604
- chore(deps): lock file maintenance by @renovate[bot] in https://github.com/faker-js/faker/pull/3584
- chore(release): 10.0.0 by @fakerjs-bot in https://github.com/faker-js/faker/pull/3605
Full Changelog: https://github.com/faker-js/faker/compare/v9.9.0...v10.0.0