@faker-js/faker breaking changes
Updated December 4, 2026
On this page
Latest version 10.6.0, released August 14, 2026. Source repository
Its 9.0.0 release drops Node.js 14 and 16. Node.js end of life dates.
- From 9.0.0 to 10.6.0: 236 breaking changes in 6 versions.
- From 8.0.0 to 10.6.0: 521 breaking changes in 9 versions.
@faker-js/faker 10.6.0 breaking changes
- Behavior changed
internet.ipv4
Invalid CIDR prefix lengths or octet ranges passed to internet.ipv4() are now rejected instead of accepted. Check calls that pass custom CIDR values. github.com - Behavior changed
internet.port
internet.port() now excludes the reserved port 0 from its results. Code that relied on it possibly returning 0 must change. github.com - Signature changed
AirlineModule.flightNumber
Was flightNumber(options?: {length?: number | {min: number; max: number;}; addLeadingZeros?: boolean;}): string; now flightNumber(options?: {length?: NumberOrRange; addLeadingZeros?: boolean;}): string. npmjs.com - Signature changed
allFakers
Was const allFakers: {readonly af_ZA: Faker; readonly ar: Faker; readonly az: Faker; readonly base: Faker; readonly bn_BD: Faker; readonly cs_CZ: Faker; readonly cy: Faker; readonly da: Faker; readonly de: Faker; readonly de_AT: Faker... npmjs.com - Signature changed
allLocales
Was const allLocales: {readonly af_ZA: LocaleDefinition; readonly ar: LocaleDefinition; readonly az: LocaleDefinition; readonly base: LocaleDefinition; readonly bn_BD: LocaleDefinition; readonly cs_CZ: LocaleDefinition; readonly cy... npmjs.com - Signature changed
faker
Was const faker$62: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerAF_ZA
Was const faker$75: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerAR
Was const faker$74: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerAZ
Was const faker$73: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerBASE
Was const faker$72: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerBN_BD
Was const faker$71: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerCS_CZ
Was const faker$70: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerCY
Was const faker$69: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerDA
Was const faker$68: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerDE
Was const faker$67: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerDE_AT
Was const faker$66: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerDE_CH
Was const faker$65: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerDV
Was const faker$64: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEL
Was const faker$63: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEN
Was const faker$62: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEN_AU
Was const faker$61: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEN_AU_ocker
Was const faker$60: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEN_BORK
Was const faker$59: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEN_CA
Was const faker$58: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEN_GB
Was const faker$57: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEN_GH
Was const faker$56: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEN_HK
Was const faker$55: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEN_IE
Was const faker$54: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEN_IN
Was const faker$53: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEN_NG
Was const faker$52: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEN_US
Was const faker$51: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEN_ZA
Was const faker$50: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerEO
Was const faker$49: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerES
Was const faker$48: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerES_MX
Was const faker$47: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerFA
Was const faker$46: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerFI
Was const faker$45: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerFR
Was const faker$44: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerFR_BE
Was const faker$43: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerFR_CA
Was const faker$42: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerFR_CH
Was const faker$41: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerFR_LU
Was const faker$40: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerFR_SN
Was const faker$39: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerHE
Was const faker$38: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerHR
Was const faker$37: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerHU
Was const faker$36: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerHY
Was const faker$35: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerID_ID
Was const faker$34: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerIT
Was const faker$33: Faker; now const faker: Faker. npmjs.com - Signature changed
fakerJA
Was const faker$32: Faker; now const faker: Faker. npmjs.com
And 66 more in this version. Sign up to see every change
@faker-js/faker 10.5.0 breaking changes
- Removed
SimpleFaker._defaultRefDate
SimpleFaker._defaultRefDate was removed in @faker-js/faker 10.5.0 npmjs.com - Behavior changed
Calls with unsupported MIME types are now validated, so code that passed them silently may now get an error. github.com - Signature changed
allFakers
Was const allFakers: {readonly af_ZA: Faker; readonly ar: Faker; readonly az: Faker; readonly base: Faker; readonly bn_BD: Faker; readonly cs_CZ: Faker; readonly cy: Faker; readonly da: Faker; readonly de: Faker; readonly de_AT: Faker... npmjs.com - Signature changed
allLocales
Was const allLocales: {readonly af_ZA: LocaleDefinition; readonly ar: LocaleDefinition; readonly az: LocaleDefinition; readonly base: LocaleDefinition; readonly bn_BD: LocaleDefinition; readonly cs_CZ: LocaleDefinition; readonly cy... npmjs.com - Signature changed
Casing
Was type Casing$1 = 'lower' | 'upper' | 'mixed'; now type Casing = 'upper' | 'lower' | 'mixed'. npmjs.com - Signature changed
ColorModule.rgb
Was rgb(options?: {prefix?: string; casing?: Casing$1; format?: 'hex' | ColorFormat; includeAlpha?: boolean;}): string | number[] rgb(options?: {prefix?: string; casing?: Casing$1; format?: 'hex' | StringColorFormat; includeAlpha?... npmjs.com - Signature changed
faker
Was const faker: Faker; now const faker$62: Faker. npmjs.com - Signature changed
Faker.constructor
Was constructor(options: {locale: LocaleDefinition | LocaleDefinition[]; randomizer?: Randomizer; seed?: number;}); now constructor(options: FakerOptions). npmjs.com - Signature changed
fakerAF_ZA
Was const faker: Faker; now const faker$75: Faker. npmjs.com - Signature changed
fakerAR
Was const faker: Faker; now const faker$74: Faker. npmjs.com
And 86 more in this version. Sign up to see every change
@faker-js/faker 10.3.0 breaking changes
- Behavior changed
person.sexType
person.sexType can now return 'generic' as well as its existing values. Code that assumes it only returns male or female should be updated to handle the new value. github.com - Signature changed
PersonEntryDefinition
Was type PersonEntryDefinition<T> = {generic?: T[]; male: T[]; female: T[];} | {generic: T[]; male?: never; female?: never;}; now type PersonEntryDefinition<T> = {female: T[]; generic?: T[]; male: T[];} | {female?: never; generic: T[]... npmjs.com - Signature changed
PersonModule.sexType
Was sexType(): SexType; now sexType(options?: {includeGeneric?: boolean;}): SexType. npmjs.com
@faker-js/faker 10.2.0 breaking changes
- Signature changed
allFakers
Was const allFakers: {readonly af_ZA: Faker; readonly ar: Faker; readonly az: Faker; readonly base: Faker; readonly bn_BD: Faker; readonly cs_CZ: Faker; readonly cy: Faker; readonly da: Faker; readonly de: Faker; readonly de_AT: Faker... npmjs.com - Signature changed
allLocales
Was const allLocales: {readonly af_ZA: LocaleDefinition; readonly ar: LocaleDefinition; readonly az: LocaleDefinition; readonly base: LocaleDefinition; readonly bn_BD: LocaleDefinition; readonly cs_CZ: LocaleDefinition; readonly cy... npmjs.com
@faker-js/faker 10.1.0 breaking changes
- Signature changed
allFakers
Was const allFakers: {readonly af_ZA: Faker; readonly ar: Faker; readonly az: Faker; readonly base: Faker; readonly bn_BD: Faker; readonly cs_CZ: Faker; readonly cy: Faker; readonly da: Faker; readonly de: Faker; readonly de_AT: Faker... npmjs.com - Signature changed
allLocales
Was const allLocales: {readonly af_ZA: LocaleDefinition; readonly ar: LocaleDefinition; readonly az: LocaleDefinition; readonly base: LocaleDefinition; readonly bn_BD: LocaleDefinition; readonly cs_CZ: LocaleDefinition; readonly cy... npmjs.com
@faker-js/faker 10.0.0 breaking changes
- Removed
Faker.address
The deprecated faker.address.* methods were removed; use faker.location.* instead. npmjs.com - Removed
Faker.name
The deprecated faker.name.* methods were removed; use faker.person.* instead. npmjs.com - Removed
FinanceModule.maskedNumber
No direct replacement; see issue #3201 for guidance. npmjs.com - Removed
ImageModule.avatarLegacy
Use faker.image.avatar instead. npmjs.com - Removed
ImageModule.urlPlaceholder
Use faker.image.dataUri instead. npmjs.com - Removed
InternetModule.color
Use faker.color.rgb instead. npmjs.com - Removed
InternetModule.userName
Use faker.internet.username instead. npmjs.com - Behavior changed
faker.word.adjective
The default word resolution strategy is now 'fail'; pass strategy: 'any-length' to keep the v9 behavior. v10.fakerjs.dev - Behavior changed
faker.word.adverb
Pass strategy: 'any-length' to keep the v9 behavior. v10.fakerjs.dev - Behavior changed
faker.word.conjunction
Pass strategy: 'any-length' to keep the v9 behavior. v10.fakerjs.dev
And 7 more in this version. Sign up to see every change
Older versions
7 older versions, each with its first changes. Sign up to see every change
Show 7 older versions
@faker-js/faker 9.0.0 breaking changes
- Removed
Locale default_country definitions are removed. github.com - Removed
The v8 deprecated Faker class members are removed. github.com
And 256 more in this version.
@faker-js/faker 9.0.0-alpha.1 breaking changes
- Removed
Locale location data no longer uses index-value binding. Code that relies on that binding must be updated; see the migration guide. github.com - Renamed
All locale data keys now use snake case. Code that reads locale data by the old key names must be updated. github.com
And 2 more in this version.
@faker-js/faker 9.0.0-alpha.0 breaking changes
- Removed
The unused global locale faker instance is removed. github.com - Removed
Type aliases deprecated in v8 are removed. github.com
And 21 more in this version.
@faker-js/faker 8.0.0 breaking changes
- Removed
Dynamic locale switching at runtime is removed. github.com - Removed
AddressDefinitions.city
AddressDefinitions.city was removed in @faker-js/faker 8.0.0 npmjs.com
And 154 more in this version.
@faker-js/faker 8.0.0-beta.0 breaking changes
- Removed
Locales can no longer be switched at runtime. Build custom Faker instances with imported locales and chain them as fallbacks instead. github.com - Removed
You can no longer import all pre-built Faker instances from @faker-js/faker. Import them from @faker-js/faker/locale/<locale> instead. github.com
And 2 more in this version.
@faker-js/faker 8.0.0-alpha.1 breaking changes
- Removed
Switching locales at runtime is no longer supported. Set the locale once instead. github.com - Removed
The unused separator entry was removed from locale data. Code that reads it must stop doing so. github.com
And 4 more in this version.
@faker-js/faker 8.0.0-alpha.0 breaking changes
- Removed
Previously deprecated methods and options were removed in this alpha. Stop using them and switch to their current replacements. github.com - Removed
Faker.mersenne
The mersenne module is no longer public and code importing it must stop doing so. npmjs.com
And 16 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.