# What changed in ua-parser-js

> 47 changes in ua-parser-js 2 from its official release notes, upgrade guides and advisories: 1 breaking, 1 security, 26 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/ua-parser-js/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## ua-parser-js 2

### Breaking changes

- Removes desktop from enums according to the documentation. (2.0.10) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10)

### Security

- Client Hints input length is limited to fix a ReDoS vulnerability. (2.0.10) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10), [security advisory](https://github.com/advisories/GHSA-9H5V-PFQQ-X599)

### New APIs and options

- Adds a UAParser method for extending custom detection rules. (2.0.10) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10)
- Adds browser detection for Aloha Browser. (2.0.9) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.9)
- Adds the atlassian-bot crawler to the extensions submodule. (2.0.9) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.9)
- Adds browser detection for Avira Secure Browser. (2.0.9) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.9)
- Adds the Cloudflare-AutoRAG crawler to the extensions submodule. (2.0.9) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.9)
- Adds FlipboardProxy as a fetcher in the extensions submodule. (2.0.9) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.9)
- Adds the Google-NotebookLM crawler to the extensions submodule. (2.0.9) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.9)
- Adds browser detection for Lighthouse. (2.0.9) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.9)
- Adds browser detection for Luakit. (2.0.9) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.9)
- Adds browser detection for Norton Private Browser. (2.0.9) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.9)
- Adds the SemrushBot-SWA crawler to the extensions submodule. (2.0.9) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.9)
- Add Dillo engine detection. (2.0.8) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.8)
- Add a helper method that maps Outlook versions to their marketing editions. (2.0.8) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.8)
- Add http.rb, Jetty, and ocaml-cohttp library detection to the extensions submodule. (2.0.8) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.8)
- Add PowerShell CLI detection to the extensions submodule. (2.0.8) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.8)
- The extensions submodule adds the Nova Act fetcher. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- Added to the device-detection submodule. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- Added to the bot-detection submodule. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- Added to the bot-detection submodule. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- Added to the device-detection submodule. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- Added to the bot-detection submodule. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- Added to the browser-detection submodule. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- Added to the browser-detection submodule. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- Added to the browser-detection submodule. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- Added to the browser-detection submodule. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- The extensions submodule adds support for Bun, Dart, Deno, hackney, Node.js, rest-client, and undici. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)

### Behavior and default changes

- Crawler detection adds atlassian-bot, Audisto Crawler, AwarioBot, AwarioRssBot, AwarioSmartBot, BrightEdge Crawler, Headline ev-crawler, HubSpot Crawler, Meta-ExternalAds, Meta-WebIndexer, proximic, and yacybot. (2.0.10) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10)
- Device detection recognizes Blackview, Coolpad, CUBOT, and T-Mobile as vendors. (2.0.10) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10)
- Fetcher detection adds Feedly, GoogleDocs, UptimeBot, and virustotal. (2.0.10) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10)
- WebView user-agents are identified as the inapp browser. (2.0.10) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10)
- Library detection adds phpcrawl. (2.0.10) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10)
- Adds detection for Vega OS. (2.0.9) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.9)
- Add detection for HiBrowser and Opera Neon, and improve detection for Brave and TikTok. (2.0.8) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.8)
- Expand email client detection in the extensions submodule with Alpine, Android, AquaMail, Balsa, Barca, Canary, Claws Mail, eM Client, Eudora, FairEmail, Geary, Gnus, Horde::IMP, Lotus-Notes, IncrediMail, K-9 Mail, Mailbird, MailMate, Mailspring, Mutt, Newton, Nine, NylasMail, Outlook-Express, Pegasus Mail, PocoMail, Postbox… (2.0.8) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.8)
- Browser detection adds support for Atlas and Steam. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- Device vendor detection adds support for Anbernic, Logitech, and Valve. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- withClientHints() and withFeatureCheck() can now be chained. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)

### Fixes and other changes

- Browser detection is improved for Huawei Browser and UCBrowser. (2.0.10) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10)
- Fixes the return behavior of the isElectron() helper function. (2.0.10) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10)
- Improves OS detection for watchOS. (2.0.9) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.9)
- Improve OnePlus device detection. (2.0.8) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.8)
- Resolve a syntax error related to import renaming in the ESM build. (2.0.8) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.8)
- Improve Firefox OS detection. (2.0.8) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.8)
- Device detection for Xiaomi is improved. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
- OS detection for iOS is improved. (2.0.7) — [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.10), [release notes](https://github.com/faisalman/ua-parser-js/releases/tag/2.0.7)
