ua-parser-js breaking changes
Updated December 4, 2026
On this page
Latest version 2.0.10, released May 21, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 0.7.40 to 2.0.10: 63 breaking changes in 14 versions.
- From 0.7.34 to 2.0.10: 67 breaking changes in 17 versions.
ua-parser-js 2.0.10 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 - 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 - Signature changed
bot-detection:isAIAssistant
Was function isAIAssistant(ua: string): boolean; now function isAIAssistant(resultOrUA: IResult | string): boolean. npmjs.com - Signature changed
bot-detection:isAICrawler
Was function isAICrawler(ua: string): boolean; now function isAICrawler(resultOrUA: IResult | string): boolean. npmjs.com - Signature changed
bot-detection:isBot
Was function isBot(ua: string): boolean; now function isBot(resultOrUA: IResult | string): boolean. npmjs.com - 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 - 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 - 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 - Signature changed
IBrowser.type
Was type?: typeof BrowserType[keyof typeof BrowserType]; now type?: BrowserTypes. npmjs.com - Signature changed
ICPU.architecture
Was architecture?: typeof CPUArch[keyof typeof CPUArch]; now architecture?: CPUArchs. npmjs.com - Signature changed
IDevice.type
Was type?: typeof DeviceType[keyof typeof DeviceType]; now type?: DeviceTypes. npmjs.com - Signature changed
IEngine.name
Was name?: typeof EngineName[keyof typeof EngineName]; now name?: EngineNames. npmjs.com
ua-parser-js 2.0.9 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 - 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 - 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
ua-parser-js 2.0.8 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 - 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 - 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
ua-parser-js 2.0.7 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 - 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 - 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 - 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
ua-parser-js 2.0.6 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 - 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 - 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
ua-parser-js 2.0.5 breaking changes
- Renamed
Browser
The enums submodule renamed Browser to BrowserName. Update imports and references to use the new name. github.com - Renamed
CPU
The enums submodule renamed CPU to CPUArch. Update imports and references to use the new name. github.com - Renamed
Device
The enums submodule renamed Device to DeviceType. Update imports and references to use the new name. github.com - Renamed
Engine
The enums submodule renamed Engine to EngineName. Update imports and references to use the new name. github.com - Renamed
OS
The enums submodule renamed OS to OSName. Update imports and references to use the new name. github.com - Renamed
Vendor
The enums submodule renamed Vendor to DeviceVendor. Update imports and references to use the new name. github.com - 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 - 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 - 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 - 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
And 7 more in this version. Sign up to see every change
Older versions
12 older versions, each with its first changes. Sign up to see every change
Show 12 older versions
ua-parser-js 2.0.4 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 - 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
And 3 more in this version.
ua-parser-js 2.0.3 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 - 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
ua-parser-js 2.0.1 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 - 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
ua-parser-js 2.0.0-rc.3 breaking changes
- Renamed
module
In the ua-parser-js/extensions submodule, module is renamed to library. Update code that uses the old name. github.com
ua-parser-js 2.0.0-rc.1 breaking changes
- Renamed
isChromiumBased
The ua-parser-js/helpers method isChromiumBased() is renamed to isChromeFamily(). Update calls to the new name. github.com - Behavior changed
isAppleSilicon
The isAppleSilicon() helper now also checks WebGL renderer information, so its results can differ from before. github.com
ua-parser-js 2.0.0-beta.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 - Renamed
formFactor
The client hints form-factor property is renamed to formFactors. Code that reads formFactor must be updated. github.com
And 1 more in this version.
ua-parser-js 2.0.0-beta.2 breaking changes
- 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
ua-parser-js 2.0.0-alpha.2 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 - 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
And 3 more in this version.
ua-parser-js 0.7.40 breaking changes
- 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
ua-parser-js 0.7.39 breaking changes
- Removed
The release drops detection of the Viera browser, so parsed results will no longer identify it. github.com
ua-parser-js 0.7.37 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 - 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
ua-parser-js 0.7.34 breaking changes
- 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
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.