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: