Releases: faisalman/ua-parser-js
Releases · faisalman/ua-parser-js
v2.0.0-rc.2
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/enumssubmodule:- Add Chromecast OS variants: Android/Fuchsia/Linux/SmartSpeaker
ua-parser-js/helperssubmodule:- Add new method:
isBot()to check if the browser is identified as a bot
- Add new method:
v2.0.0-rc.1
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/helperssubmodule:- Add new method:
getDeviceVendor()to guess for a device vendor based on its model nameisElectron()to check if current window is running inside ElectronisFromEU()to check if current window is from an EU (European Union) countryisStandalonePWA()to check if current window is a standalone PWA
- Rename
isChromiumBased()toisChromeFamily() - Update
isAppleSilicon()to also checks for WebGL renderer info
- Add new method:
ua-parser-js/extensionssubmodule:- Restore
botsas a compilation of all these browser types:clis,crawlers,fetchers, andmodules
- Restore
v2.0.0-beta.3
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/extensionssubmodule,botsdivided intocrawler/fetcher
- AR/VR devices moved to new device type:
- New features:
- Parse directly from command line using
npx ua-parser-js - Extensions can be passed as a list to
UAParser()
- Parse directly from command line using
- 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
v0.7.38
v2.0.0-beta.2
Version 2.0.0-beta.2
- Increase UA_MAX_LENGTH to 500
- Add TypeScript declaration file in
ua-parser-js/extensionssubmodule - Improve TypeScript module resolution
- Add new methods in
ua-parser-js/helperssubmodule: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
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
v2.0.0-beta.1
- Update Client Hints Form-Factor
- Add in-package type definitions
v2.0.0-alpha.3
Version 2.0.0-alpha.3
- Add
withFeatureCheck()method - Add
isFrozenUA()method inua-parser-js/helperssubmodule - Add
MediaPlayers&Modulesinua-parser-js/extensionssubmodule - Fix issue with ESM import
v2.0.0-alpha.2
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"
- Browser detection on mobile device:
- 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 client hints:
- Add support for ES module
import { UAParser } from 'ua-parser-js' - Provide Enums
'ua-parser-js/enums' - Provide Extensions
'ua-parser-js/extensions'
- Add some new methods in result object: