---
title: "@faker-js/faker 10.6.0 Breaking Changes on npm | Since.dev"
description: "What each @faker-js/faker release removed, renamed or changed: 705 breaking changes in 13 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@faker-js/faker
last_updated: 2026-12-04
---

# @faker-js/faker breaking changes

@faker-js/faker 10.6.0 (August 14, 2026) is its newest release with breaking changes, 116 of them. The first: Behavior changed internet.ipv4. Every breaking API change we have recorded in @faker-js/faker on npm: 705 breaking changes in 13 versions. Below, its 13 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `10.6.0`, released August 14, 2026. [Source repository](https://github.com/faker-js/faker)

Its 9.0.0 release drops Node.js 14 and [16](https://since.dev/calendar/nodejs/16.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [9.0.0](#v-9-0-0) to [10.6.0](#v-10-6-0): 236 breaking changes in 6 versions.
- From [8.0.0](#v-8-0-0) to [10.6.0](#v-10-6-0): 521 breaking changes in 9 versions.

## @faker-js/faker 10.6.0 breaking changes

@faker-js/faker 10.6.0, released August 14, 2026: 116 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](https://github.com/faker-js/faker/releases/tag/v10.6.0)
- **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](https://github.com/faker-js/faker/releases/tag/v10.6.0)
- **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](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **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](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **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](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `faker`  

Was const faker$62: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerAF_ZA`  

Was const faker$75: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerAR`  

Was const faker$74: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerAZ`  

Was const faker$73: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerBASE`  

Was const faker$72: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerBN_BD`  

Was const faker$71: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerCS_CZ`  

Was const faker$70: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerCY`  

Was const faker$69: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerDA`  

Was const faker$68: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerDE`  

Was const faker$67: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerDE_AT`  

Was const faker$66: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerDE_CH`  

Was const faker$65: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerDV`  

Was const faker$64: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEL`  

Was const faker$63: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEN`  

Was const faker$62: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEN_AU`  

Was const faker$61: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEN_AU_ocker`  

Was const faker$60: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEN_BORK`  

Was const faker$59: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEN_CA`  

Was const faker$58: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEN_GB`  

Was const faker$57: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEN_GH`  

Was const faker$56: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEN_HK`  

Was const faker$55: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEN_IE`  

Was const faker$54: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEN_IN`  

Was const faker$53: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEN_NG`  

Was const faker$52: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEN_US`  

Was const faker$51: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEN_ZA`  

Was const faker$50: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerEO`  

Was const faker$49: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerES`  

Was const faker$48: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerES_MX`  

Was const faker$47: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerFA`  

Was const faker$46: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerFI`  

Was const faker$45: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerFR`  

Was const faker$44: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerFR_BE`  

Was const faker$43: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerFR_CA`  

Was const faker$42: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerFR_CH`  

Was const faker$41: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerFR_LU`  

Was const faker$40: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerFR_SN`  

Was const faker$39: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerHE`  

Was const faker$38: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerHR`  

Was const faker$37: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerHU`  

Was const faker$36: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerHY`  

Was const faker$35: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerID_ID`  

Was const faker$34: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerIT`  

Was const faker$33: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)
- **Signature changed** `fakerJA`  

Was const faker$32: Faker; now const faker: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.6.0)

And 66 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @faker-js/faker 10.5.0 breaking changes

@faker-js/faker 10.5.0, released June 17, 2026: 96 breaking changes.

- **Removed** `SimpleFaker._defaultRefDate`  

SimpleFaker.\_defaultRefDate was removed in @faker-js/faker 10.5.0 [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.5.0)
- **Behavior changed**  

Calls with unsupported MIME types are now validated, so code that passed them silently may now get an error. [github.com](https://github.com/faker-js/faker/releases/tag/v10.5.0)
- **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](https://www.npmjs.com/package/@faker-js/faker/v/10.5.0)
- **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](https://www.npmjs.com/package/@faker-js/faker/v/10.5.0)
- **Signature changed** `Casing`  

Was type Casing$1 = 'lower' | 'upper' | 'mixed'; now type Casing = 'upper' | 'lower' | 'mixed'. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.5.0)
- **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](https://www.npmjs.com/package/@faker-js/faker/v/10.5.0)
- **Signature changed** `faker`  

Was const faker: Faker; now const faker$62: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.5.0)
- **Signature changed** `Faker.constructor`  

Was constructor(options: {locale: LocaleDefinition | LocaleDefinition\[\]; randomizer?: Randomizer; seed?: number;}); now constructor(options: FakerOptions). [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.5.0)
- **Signature changed** `fakerAF_ZA`  

Was const faker: Faker; now const faker$75: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.5.0)
- **Signature changed** `fakerAR`  

Was const faker: Faker; now const faker$74: Faker. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.5.0)

And 86 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @faker-js/faker 10.3.0 breaking changes

@faker-js/faker 10.3.0, released February 6, 2026: 3 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](https://github.com/faker-js/faker/releases/tag/v10.3.0)
- **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](https://www.npmjs.com/package/@faker-js/faker/v/10.3.0)
- **Signature changed** `PersonModule.sexType`  

Was sexType(): SexType; now sexType(options?: {includeGeneric?: boolean;}): SexType. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.3.0)

## @faker-js/faker 10.2.0 breaking changes

@faker-js/faker 10.2.0, released January 4, 2026: 2 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](https://www.npmjs.com/package/@faker-js/faker/v/10.2.0)
- **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](https://www.npmjs.com/package/@faker-js/faker/v/10.2.0)

## @faker-js/faker 10.1.0 breaking changes

@faker-js/faker 10.1.0, released October 14, 2025: 2 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](https://www.npmjs.com/package/@faker-js/faker/v/10.1.0)
- **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](https://www.npmjs.com/package/@faker-js/faker/v/10.1.0)

## @faker-js/faker 10.0.0 breaking changes

@faker-js/faker 10.0.0, released August 24, 2025: 17 breaking changes.

- **Removed** `Faker.address`  

The deprecated faker.address.\* methods were removed; use faker.location.\* instead. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.0.0)
- **Removed** `Faker.name`  

The deprecated faker.name.\* methods were removed; use faker.person.\* instead. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.0.0)
- **Removed** `FinanceModule.maskedNumber`  

No direct replacement; see issue #3201 for guidance. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.0.0)
- **Removed** `ImageModule.avatarLegacy`  

Use faker.image.avatar instead. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.0.0)
- **Removed** `ImageModule.urlPlaceholder`  

Use faker.image.dataUri instead. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.0.0)
- **Removed** `InternetModule.color`  

Use faker.color.rgb instead. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.0.0)
- **Removed** `InternetModule.userName`  

Use faker.internet.username instead. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/10.0.0)
- **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](https://v10.fakerjs.dev/guide/upgrading.html)
- **Behavior changed** `faker.word.adverb`  

Pass strategy: 'any-length' to keep the v9 behavior. [v10.fakerjs.dev](https://v10.fakerjs.dev/guide/upgrading.html)
- **Behavior changed** `faker.word.conjunction`  

Pass strategy: 'any-length' to keep the v9 behavior. [v10.fakerjs.dev](https://v10.fakerjs.dev/guide/upgrading.html)

And 7 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

7 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @faker-js/faker 9.0.0 breaking changes

@faker-js/faker 9.0.0, released September 4, 2024: 258 breaking changes.

- **Removed**  

Locale default_country definitions are removed. [github.com](https://github.com/faker-js/faker/releases/tag/v9.0.0)
- **Removed**  

The v8 deprecated Faker class members are removed. [github.com](https://github.com/faker-js/faker/releases/tag/v9.0.0)

And 256 more in this version.

### @faker-js/faker 9.0.0-alpha.1 breaking changes

@faker-js/faker 9.0.0-alpha.1, released September 4, 2024: 4 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](https://github.com/faker-js/faker/releases/tag/v9.0.0-alpha.1)
- **Renamed**  

All locale data keys now use snake case. Code that reads locale data by the old key names must be updated. [github.com](https://github.com/faker-js/faker/releases/tag/v9.0.0-alpha.1)

And 2 more in this version.

### @faker-js/faker 9.0.0-alpha.0 breaking changes

@faker-js/faker 9.0.0-alpha.0, released September 4, 2024: 23 breaking changes.

- **Removed**  

The unused global locale faker instance is removed. [github.com](https://github.com/faker-js/faker/releases/tag/v9.0.0-alpha.0)
- **Removed**  

Type aliases deprecated in v8 are removed. [github.com](https://github.com/faker-js/faker/releases/tag/v9.0.0-alpha.0)

And 21 more in this version.

### @faker-js/faker 8.0.0 breaking changes

@faker-js/faker 8.0.0, released May 11, 2023: 156 breaking changes.

- **Removed**  

Dynamic locale switching at runtime is removed. [github.com](https://github.com/faker-js/faker/commit/9a35dc92260585683132172f10bcdec701ed661a)
- **Removed** `AddressDefinitions.city`  

AddressDefinitions.city was removed in @faker-js/faker 8.0.0 [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/8.0.0)

And 154 more in this version.

### @faker-js/faker 8.0.0-beta.0 breaking changes

@faker-js/faker 8.0.0-beta.0, released May 11, 2023: 4 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](https://github.com/faker-js/faker/releases/tag/v8.0.0-beta.0)
- **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](https://github.com/faker-js/faker/releases/tag/v8.0.0-beta.0)

And 2 more in this version.

### @faker-js/faker 8.0.0-alpha.1 breaking changes

@faker-js/faker 8.0.0-alpha.1, released May 11, 2023: 6 breaking changes.

- **Removed**  

Switching locales at runtime is no longer supported. Set the locale once instead. [github.com](https://github.com/faker-js/faker/releases/tag/v8.0.0-alpha.1)
- **Removed**  

The unused separator entry was removed from locale data. Code that reads it must stop doing so. [github.com](https://github.com/faker-js/faker/releases/tag/v8.0.0-alpha.1)

And 4 more in this version.

### @faker-js/faker 8.0.0-alpha.0 breaking changes

@faker-js/faker 8.0.0-alpha.0, released May 11, 2023: 18 breaking changes.

- **Removed**  

Previously deprecated methods and options were removed in this alpha. Stop using them and switch to their current replacements. [github.com](https://github.com/faker-js/faker/releases/tag/v8.0.0-alpha.0)
- **Removed** `Faker.mersenne`  

The mersenne module is no longer public and code importing it must stop doing so. [npmjs.com](https://www.npmjs.com/package/@faker-js/faker/v/8.0.0)

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](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
