Skip to content

Releases: faisalman/ua-parser-js

v2.0.0-rc.2

08 Nov 02:54

Choose a tag to compare

v2.0.0-rc.2 Pre-release
Pre-release

Version 2.0.0-rc.2

  • Fix incorrect import path in ESM files
  • Add new browser: 115, SlimBoat, Slimjet, LibreWolf
  • Improve browser detection: 2345, 360, Dragon, Iron, Maxthon
  • ua-parser-js/enums submodule:
    • Add Chromecast OS variants: Android/Fuchsia/Linux/SmartSpeaker
  • ua-parser-js/helpers submodule:
    • Add new method: isBot() to check if the browser is identified as a bot

v2.0.0-rc.1

29 Oct 15:38

Choose a tag to compare

v2.0.0-rc.1 Pre-release
Pre-release

Version 2.0.0-rc.1

  • Fix Python Request mistakenly identified as Meta Quest
  • Add new browser: Helio
  • Add new device: itel, Nothing, Pico, TCL
  • Add new engine: ArkWeb
  • Add new OS: OpenHarmony, Pico
  • Improve browser detection: Quark
  • Improve device detection: Xiaomi, Amazon Echo Show, Google Chromecast, Samsung Galaxy Watch
  • ua-parser-js/helpers submodule:
    • Add new method:
      • getDeviceVendor() to guess for a device vendor based on its model name
      • isElectron() to check if current window is running inside Electron
      • isFromEU() to check if current window is from an EU (European Union) country
      • isStandalonePWA() to check if current window is a standalone PWA
    • Rename isChromiumBased() to isChromeFamily()
    • Update isAppleSilicon() to also checks for WebGL renderer info
  • ua-parser-js/extensions submodule:
    • Restore bots as a compilation of all these browser types: clis, crawlers, fetchers, and modules

v2.0.0-beta.3

07 Jun 18:22

Choose a tag to compare

v2.0.0-beta.3 Pre-release
Pre-release

Version 2.0.0-beta.3

  • Breaking:
    • AR/VR devices moved to new device type: xr
    • New property in browser: type
    • In ua-parser-js/extensions submodule, bots divided into crawler / fetcher
  • New features:
    • Parse directly from command line using npx ua-parser-js
    • Extensions can be passed as a list to UAParser()
  • Add new browser: Pico Browser, Twitter, Wolvic
  • Improve browser detection: DuckDuckGo, ICEBrowser, Klar, QQ, Sleipnir
  • Improve device detection: Oculus Quest & Oppo Pad
  • Update latest client hints spec: formFactor -> formFactors

v1.0.38

28 May 14:19

Choose a tag to compare

Version 1.0.38

  • Fix error on getOS() when userAgentData.platform is undefined
  • Add new browser: Opera GX, Twitter
  • Improve browser detection: DuckDuckGo
  • Improve device detection: OPPO Pad, Oculus Quest

v0.7.38

28 May 14:15

Choose a tag to compare

Version 0.7.38

  • Fix error on getOS() when userAgentData.platform is undefined
  • Add new browser: Opera GX, Twitter
  • Improve browser detection: DuckDuckGo
  • Improve device detection: OPPO Pad, Oculus Quest

v2.0.0-beta.2

01 Feb 04:27

Choose a tag to compare

v2.0.0-beta.2 Pre-release
Pre-release

Version 2.0.0-beta.2

  • Increase UA_MAX_LENGTH to 500
  • Add TypeScript declaration file in ua-parser-js/extensions submodule
  • Improve TypeScript module resolution
  • Add new methods in ua-parser-js/helpers submodule: isAppleSilicon() & isChromiumBased()
  • Fix misidentified WebView token as device model
  • Add new browser: Alipay, Klarna, Opera GX, Smart Lenovo Browser, Vivo Browser
  • Rename browser: Avant, Baidu, Samsung Internet, Sogou Explorer, Sogou Mobile, WeChat
  • Improve client-hints detection: Edge, Xbox

v0.7.37

27 Oct 12:46

Choose a tag to compare

Version 0.7.37

  • Fix misidentified WebView token as device model
  • Increase UA_MAX_LENGTH to 500
  • Add new browser: Alipay, Klarna, Smart Lenovo Browser, Vivo Browser
  • Add new device: Ulefone
  • Improve device detection: Realme, Xiaomi Redmi
  • Rename browser: Avant, Baidu, Samsung Internet, Sogou Explorer, Sogou Mobile, WeChat

v2.0.0-beta.1

05 Oct 12:43

Choose a tag to compare

v2.0.0-beta.1 Pre-release
Pre-release

v2.0.0-beta.1

  • Update Client Hints Form-Factor
  • Add in-package type definitions

v2.0.0-alpha.3

17 Aug 04:44

Choose a tag to compare

v2.0.0-alpha.3 Pre-release
Pre-release

Version 2.0.0-alpha.3

  • Add withFeatureCheck() method
  • Add isFrozenUA() method in ua-parser-js/helpers submodule
  • Add MediaPlayers & Modules in ua-parser-js/extensions submodule
  • Fix issue with ESM import

v2.0.0-alpha.2

14 Apr 21:32

Choose a tag to compare

v2.0.0-alpha.2 Pre-release
Pre-release

Version 2.0.0-alpha.2

  • Fix browser result always returning Chromium when using withClientHints()
  • Fix infinite-loop when await-ing withClientHints() in non-client-hints browser

Version 2.0.0-alpha.1

  • Initial work on new major version

Version 2.0

  • What's breaking:
    • Browser detection on mobile device: "Chrome" => "Mobile Chrome", "Firefox" => "Mobile Firefox"
    • OS detection: "Mac OS" => "macOS", "Chromium OS" => "Chrome OS"
  • What's new:
    • Add some new methods in result object:
      • Add support for client hints: withClientHints()
      • Add support for feature detection: withFeatureCheck()
      • Utility for easy comparison: is()
      • Utility to print full-name: toString()
    • Add support for ES module import { UAParser } from 'ua-parser-js'
    • Provide Enums 'ua-parser-js/enums'
    • Provide Extensions 'ua-parser-js/extensions'