---
title: "ua-parser-js 2.0.10 Breaking Changes on npm | Since.dev"
description: "What each ua-parser-js release removed, renamed or changed: 68 breaking changes in 18 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/ua-parser-js
last_updated: 2026-12-04
---

# ua-parser-js breaking changes

ua-parser-js 2.0.10 (May 21, 2026) is its newest release with breaking changes, 12 of them. The first: Removes the desktop value from device type enums in ua-parser-js 2.0.10. Every breaking API change we have recorded in ua-parser-js on npm: 68 breaking changes in 18 versions. Below, its 18 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.0.10`, released May 21, 2026. [Source repository](https://github.com/faisalman/ua-parser-js)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.7.40](#v-0-7-40) to [2.0.10](#v-2-0-10): 63 breaking changes in 14 versions.
- From [0.7.34](#v-0-7-34) to [2.0.10](#v-2-0-10): 67 breaking changes in 17 versions.

## ua-parser-js 2.0.10 breaking changes

ua-parser-js 2.0.10, released May 21, 2026: 12 breaking changes.

- **Removed**  

The desktop value is removed from the enums, matching the documentation. Code that compares against the desktop enum value must be updated. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10)
- **Behavior changed**  

WebView user-agent strings are identified as an inapp browser instead of their previous result. Code that reads the browser name may see a different value. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10)
- **Signature changed** `bot-detection:isAIAssistant`  

Was function isAIAssistant(ua: string): boolean; now function isAIAssistant(resultOrUA: IResult | string): boolean. [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.10)
- **Signature changed** `bot-detection:isAICrawler`  

Was function isAICrawler(ua: string): boolean; now function isAICrawler(resultOrUA: IResult | string): boolean. [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.10)
- **Signature changed** `bot-detection:isBot`  

Was function isBot(ua: string): boolean; now function isBot(resultOrUA: IResult | string): boolean. [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.10)
- **Signature changed** `enums:DeviceType`  

Was const DeviceType: Readonly<{CONSOLE: 'console', DESKTOP: 'desktop', EMBEDDED: 'embedded', MOBILE: 'mobile', SMARTTV: 'smarttv', TABLET: 'tablet', WEARABLE: 'wearable', XR: 'xr'}>; now const DeviceType: Readonly<{CONSOLE: 'console'... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.10)
- **Signature changed** `enums:DeviceVendor`  

Was const DeviceVendor: Readonly<{ACER: 'Acer', ADVAN: 'Advan', ALCATEL: 'Alcatel', AMAZON: 'Amazon', ANBERNIC: 'Anbernic', APPLE: 'Apple', ARCHOS: 'Archos', ASUS: 'ASUS', ATT: 'AT&T', BENQ: 'BenQ', BLACKBERRY: 'BlackBerry', BLU: 'BLU'... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.10)
- **Signature changed** `enums:Extension`  

Was const Extension: Readonly<{BrowserName: {CLI: {CURL: 'curl', ELINKS: 'ELinks', HTTPIE: 'HTTPie', LYNX: 'Lynx', POWERSHELL: 'PowerShell', WGET: 'Wget'}, Crawler: {AHREFS_BOT: 'AhrefsBot', AI2_BOT: 'AI2Bot', AIHIT_BOT: 'aiHitBot'... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.10)
- **Signature changed** `IBrowser.type`  

Was type?: typeof BrowserType\[keyof typeof BrowserType\]; now type?: BrowserTypes. [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.10)
- **Signature changed** `ICPU.architecture`  

Was architecture?: typeof CPUArch\[keyof typeof CPUArch\]; now architecture?: CPUArchs. [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.10)
- **Signature changed** `IDevice.type`  

Was type?: typeof DeviceType\[keyof typeof DeviceType\]; now type?: DeviceTypes. [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.10)
- **Signature changed** `IEngine.name`  

Was name?: typeof EngineName\[keyof typeof EngineName\]; now name?: EngineNames. [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.10)

## ua-parser-js 2.0.9 breaking changes

ua-parser-js 2.0.9, released February 3, 2026: 3 breaking changes.

- **Signature changed** `enums:BrowserName`  

Was const BrowserName: Readonly<{'115': '115', '2345': '2345', '360': '360', ALIPAY: 'Alipay', AMAYA: 'Amaya', ANDROID: 'Android Browser', ARORA: 'Arora', ATLAS: 'Atlas', AVANT: 'Avant', AVAST: 'Avast Secure Browser', AVG: 'AVG Secure... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.9)
- **Signature changed** `enums:Extension`  

Was const Extension: Readonly<{BrowserName: {CLI: {CURL: 'curl', ELINKS: 'ELinks', HTTPIE: 'HTTPie', LYNX: 'Lynx', POWERSHELL: 'PowerShell', WGET: 'Wget'}, Crawler: {AHREFS_BOT: 'AhrefsBot', AI2_BOT: 'AI2Bot', AIHIT_BOT: 'aiHitBot'... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.9)
- **Signature changed** `enums:OSName`  

Was const OSName: Readonly<{AIX: 'AIX', AMIGA_OS: 'Amiga OS', ANDROID: 'Android', ANDROID_X86: 'Android-x86', ARCAOS: 'ArcaOS', ARCH: 'Arch', BADA: 'Bada', BEOS: 'BeOS', BLACKBERRY: 'BlackBerry', CENTOS: 'CentOS', CHROME_OS: 'Chrome OS'... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.9)

## ua-parser-js 2.0.8 breaking changes

ua-parser-js 2.0.8, released January 13, 2026: 3 breaking changes.

- **Signature changed** `enums:BrowserName`  

Was const BrowserName: Readonly<{'115': '115', '2345': '2345', '360': '360', ALIPAY: 'Alipay', AMAYA: 'Amaya', ANDROID: 'Android Browser', ARORA: 'Arora', ATLAS: 'Atlas', AVANT: 'Avant', AVAST: 'Avast Secure Browser', AVG: 'AVG Secure... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.8)
- **Signature changed** `enums:EngineName`  

Was const EngineName: Readonly<{AMAYA: 'Amaya', ARKWEB: 'ArkWeb', BLINK: 'Blink', EDGEHTML: 'EdgeHTML', FLOW: 'Flow', GECKO: 'Gecko', GOANNA: 'Goanna', ICAB: 'iCab', KHTML: 'KHTML', LIBWEB: 'LibWeb', LINKS: 'Links', LYNX: 'Lynx', NETFRONT... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.8)
- **Signature changed** `enums:Extension`  

Was const Extension: Readonly<{BrowserName: {CLI: {CURL: 'curl', ELINKS: 'ELinks', HTTPIE: 'HTTPie', LYNX: 'Lynx', WGET: 'Wget'}, Crawler: {AHREFS_BOT: 'AhrefsBot', AI2_BOT: 'AI2Bot', AIHIT_BOT: 'aiHitBot', ALGOLIA_CRAWLER: 'Algolia... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.8)

## ua-parser-js 2.0.7 breaking changes

ua-parser-js 2.0.7, released December 9, 2025: 4 breaking changes.

- **Removed** `helpers`  

The helpers submodule was split into bot-detection, browser-detection and device-detection submodules. Code that imports from helpers must switch to the new submodules. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- **Signature changed** `enums:BrowserName`  

Was const BrowserName: Readonly<{'115': '115', '2345': '2345', '360': '360', ALIPAY: 'Alipay', AMAYA: 'Amaya', ANDROID: 'Android Browser', ARORA: 'Arora', AVANT: 'Avant', AVAST: 'Avast Secure Browser', AVG: 'AVG Secure Browser', BAIDU... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.7)
- **Signature changed** `enums:DeviceVendor`  

Was const DeviceVendor: Readonly<{ACER: 'Acer', ADVAN: 'Advan', ALCATEL: 'Alcatel', APPLE: 'Apple', AMAZON: 'Amazon', ARCHOS: 'Archos', ASUS: 'ASUS', ATT: 'AT&T', BENQ: 'BenQ', BLACKBERRY: 'BlackBerry', BLU: 'BLU', CAT: 'Cat', DELL... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.7)
- **Signature changed** `enums:Extension`  

Was const Extension: Readonly<{BrowserName: {CLI: {CURL: 'curl', ELINKS: 'ELinks', HTTPIE: 'HTTPie', LYNX: 'Lynx', WGET: 'Wget'}, Crawler: {AHREFS_BOT: 'AhrefsBot', AI2_BOT: 'AI2Bot', AIHIT_BOT: 'aiHitBot', ALGOLIA_CRAWLER: 'Algolia... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.7)

## ua-parser-js 2.0.6 breaking changes

ua-parser-js 2.0.6, released October 10, 2025: 3 breaking changes.

- **Signature changed** `enums:BrowserName`  

Was const BrowserName: Readonly<{'115': '115', '2345': '2345', '360': '360', ALIPAY: 'Alipay', AMAYA: 'Amaya', ANDROID: 'Android Browser', ARORA: 'Arora', AVANT: 'Avant', AVAST: 'Avast Secure Browser', AVG: 'AVG Secure Browser', BAIDU... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.6)
- **Signature changed** `enums:DeviceVendor`  

Was const DeviceVendor: Readonly<{ACER: 'Acer', ADVAN: 'Advan', ALCATEL: 'Alcatel', APPLE: 'Apple', AMAZON: 'Amazon', ARCHOS: 'Archos', ASUS: 'ASUS', ATT: 'AT&T', BENQ: 'BenQ', BLACKBERRY: 'BlackBerry', BLU: 'BLU', CAT: 'Cat', DELL... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.6)
- **Signature changed** `enums:Extension`  

Was const Extension: Readonly<{BrowserName: {CLI: {CURL: 'curl', ELINKS: 'ELinks', HTTPIE: 'HTTPie', LYNX: 'Lynx', WGET: 'Wget'}, Crawler: {AHREFS_BOT: 'AhrefsBot', AI2_BOT: 'AI2Bot', AIHIT_BOT: 'aiHitBot', ALGOLIA_CRAWLER: 'Algolia... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.6)

## ua-parser-js 2.0.5 breaking changes

ua-parser-js 2.0.5, released September 9, 2025: 17 breaking changes.

- **Renamed** `Browser`  

The enums submodule renamed Browser to BrowserName. Update imports and references to use the new name. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.5)
- **Renamed** `CPU`  

The enums submodule renamed CPU to CPUArch. Update imports and references to use the new name. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.5)
- **Renamed** `Device`  

The enums submodule renamed Device to DeviceType. Update imports and references to use the new name. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.5)
- **Renamed** `Engine`  

The enums submodule renamed Engine to EngineName. Update imports and references to use the new name. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.5)
- **Renamed** `OS`  

The enums submodule renamed OS to OSName. Update imports and references to use the new name. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.5)
- **Renamed** `Vendor`  

The enums submodule renamed Vendor to DeviceVendor. Update imports and references to use the new name. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.5)
- **Signature changed** `enums:Browser`  

Was const Browser: Readonly<{'115': "115"; '2345': "2345"; '360': "360"; ALIPAY: "Alipay"; AMAYA: "Amaya"; ANDROID: "Android Browser"; ARORA: "Arora"; AVANT: "Avant"; AVAST: "Avast Secure Browser"; AVG: "AVG Secure Browser"; BAIDU: "Baidu... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.5)
- **Signature changed** `enums:CPU`  

Was const CPU: Readonly<{'68K': "68k"; ARM: "arm"; ARM_64: "arm64"; ARM_HF: "armhf"; AVR: "avr"; AVR_32: "avr32"; IA64: "ia64"; IRIX: "irix"; IRIX_64: "irix64"; MIPS: "mips"; MIPS_64: "mips64"; PA_RISC: "pa-risc"; PPC: "ppc"; SPARC... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.5)
- **Signature changed** `enums:Device`  

Was const Device: Readonly<{CONSOLE: "console"; DESKTOP: "desktop"; EMBEDDED: "embedded"; MOBILE: "mobile"; SMARTTV: "smarttv"; TABLET: "tablet"; WEARABLE: "wearable"; XR: "xr";}>; now const Device: typeof DeviceType. [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.5)
- **Signature changed** `enums:Engine`  

Was const Engine: Readonly<{AMAYA: "Amaya"; ARKWEB: "ArkWeb"; BLINK: "Blink"; EDGEHTML: "EdgeHTML"; FLOW: "Flow"; GECKO: "Gecko"; GOANNA: "Goanna"; ICAB: "iCab"; KHTML: "KHTML"; LIBWEB: "LibWeb"; LINKS: "Links"; LYNX: "Lynx"; NETFRONT... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.5)

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

## Older versions

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

### ua-parser-js 2.0.4 breaking changes

ua-parser-js 2.0.4, released June 24, 2025: 5 breaking changes.

- **Behavior changed** `BLU`  

BLU is now categorized as a device vendor rather than a browser name, so code that reads it as a browser name must change. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.4)
- **Behavior changed** `withClientHints`  

Browser naming from withClientHints() now reports Edge WebView2 instead of Microsoft Edge WebView2, so code matching the old name must be updated. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.4)

And 3 more in this version.

### ua-parser-js 2.0.3 breaking changes

ua-parser-js 2.0.3, released March 14, 2025: 2 breaking changes.

- **Behavior changed** `withClientHints`  

withClientHints() now returns adjusted browser names, such as HuaweiBrowser becoming Huawei Browser, Miui Browser becoming MIUI Browser, OperaMobile becoming Opera Mobi, and YaBrowser becoming Yandex. Code that matches the old browser... [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.3)
- **Signature changed** `enums:Browser`  

Was const Browser: Readonly<{'115': "115"; '2345': "2345"; '360': "360"; ALIPAY: "Alipay"; AMAYA: "Amaya"; ANDROID: "Android Browser"; ARORA: "Arora"; AVANT: "Avant"; AVAST: "Avast Secure Browser"; AVG: "AVG Secure Browser"; BAIDU: "Baidu... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.3)

### ua-parser-js 2.0.1 breaking changes

ua-parser-js 2.0.1, released February 4, 2025: 2 breaking changes.

- **Behavior changed** `withClientHints`  

withClientHints() now returns browser names such as Chrome, Edge and Chrome WebView instead of Google Chrome, Microsoft Edge and Android WebView. Code that matches on the old browser names must be updated. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.1)
- **Signature changed** `UAParser`  

Was function UAParser(extensions?: UAParserExt, headers?: Record\<string, string>): IResult function UAParser(headers?: Record\<string, string>): IResult function UAParser(uastring?: string, extensions?: UAParserExt, headers?: Record\<string... [npmjs.com](https://www.npmjs.com/package/ua-parser-js/v/2.0.1)

### ua-parser-js 2.0.0-rc.3 breaking changes

ua-parser-js 2.0.0-rc.3, released November 18, 2024: 1 breaking change.

- **Renamed** `module`  

In the ua-parser-js/extensions submodule, module is renamed to library. Update code that uses the old name. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.0-rc.3)

### ua-parser-js 2.0.0-rc.1 breaking changes

ua-parser-js 2.0.0-rc.1, released November 18, 2024: 2 breaking changes.

- **Renamed** `isChromiumBased`  

The ua-parser-js/helpers method isChromiumBased() is renamed to isChromeFamily(). Update calls to the new name. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.0-rc.1)
- **Behavior changed** `isAppleSilicon`  

The isAppleSilicon() helper now also checks WebGL renderer information, so its results can differ from before. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.0-rc.1)

### ua-parser-js 2.0.0-beta.3 breaking changes

ua-parser-js 2.0.0-beta.3, released November 18, 2024: 3 breaking changes.

- **Renamed** `bots`  

In the extensions submodule, bots is divided into crawler and fetcher. Code that imports bots must switch to the new lists. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.0-beta.3)
- **Renamed** `formFactor`  

The client hints form-factor property is renamed to formFactors. Code that reads formFactor must be updated. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.0-beta.3)

And 1 more in this version.

### ua-parser-js 2.0.0-beta.2 breaking changes

ua-parser-js 2.0.0-beta.2, released November 18, 2024: 1 breaking change.

- **Renamed**  

Avant, Baidu, Samsung Internet, Sogou Explorer, Sogou Mobile and WeChat are now reported under new names. Code that matches the old names must be updated. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.0-beta.2)

### ua-parser-js 2.0.0-alpha.2 breaking changes

ua-parser-js 2.0.0-alpha.2, released November 18, 2024: 5 breaking changes.

- **Behavior changed**  

The OS name Mac OS is now reported as macOS. Code that matches the old OS name must be updated. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.0-alpha.2)
- **Behavior changed**  

The OS name Chromium OS is now reported as Chrome OS. Code that matches the old OS name must be updated. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.0-alpha.2)

And 3 more in this version.

### ua-parser-js 0.7.40 breaking changes

ua-parser-js 0.7.40, released December 21, 2024: 1 breaking change.

- **Behavior changed**  

Device detection now returns Honor as a separate vendor from Huawei, so code that matched Honor devices as Huawei must be updated. [github.com](https://github.com/faisalman/ua-parser-js/blob/0.7.40/changelog.md)

### ua-parser-js 0.7.39 breaking changes

ua-parser-js 0.7.39, released September 11, 2024: 1 breaking change.

- **Removed**  

The release drops detection of the Viera browser, so parsed results will no longer identify it. [github.com](https://github.com/faisalman/ua-parser-js/blob/0.7.39/changelog.md)

### ua-parser-js 0.7.37 breaking changes

ua-parser-js 0.7.37, released October 27, 2023: 2 breaking changes.

- **Renamed** `browser.name`  

The browser name returned for Avant is renamed. The new name is not stated, so code comparing browser.name for Avant must be updated. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/0.7.37)
- **Default changed** `UA_MAX_LENGTH`  

The maximum user-agent string length parsed is now 500. Code that relied on the previous lower limit will now parse longer strings. [github.com](https://github.com/faisalman/ua-parser-js/releases/tag/0.7.37)

### ua-parser-js 0.7.34 breaking changes

ua-parser-js 0.7.34, released March 5, 2023: 1 breaking change.

- **Behavior changed**  

When available, navigator.userAgentData is now used as a fallback for device.type and os.name, so detected values can differ from earlier releases. [github.com](https://github.com/faisalman/ua-parser-js/blob/0.7.34/changelog.md)

## 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.
