Skip to content

Commit 5d2acd8

Browse files
committed
Bump version 2.0.0-alpha.2
1 parent 359cbec commit 5d2acd8

File tree

12 files changed

+62
-37
lines changed

12 files changed

+62
-37
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ua-parser-js",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.2",
44
"authors": [
55
"Faisal Salman <[email protected]>"
66
],

changelog.md

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,39 @@
11
# UAParser.js Changelog
22

3-
# Version 2.0.0-alpha.1
4-
- Breaking changes:
5-
- Browser detection on mobile device: `Chrome => Mobile Chrome`, `Firefox => Mobile Firefox`
6-
- OS detection: `Mac OS => macOS`, `Chromium OS => Chrome OS`
7-
- Add some new methods in result object:
8-
- Add support for client hints: `withClientHints()`
9-
- Utility for easy comparison: `is()`
10-
- Utility to print full-name: `toString()`
11-
- Add support for ES module `import { UAParser } from 'ua-parser-js'`
12-
- Provide Enums `'ua-parser-js/enums'`
13-
- Provide Extensions `'ua-parser-js/extensions'`
3+
# Version 2.0
4+
- What's breaking:
5+
- Browser detection on mobile device: `"Chrome" => "Mobile Chrome"`, `"Firefox" => "Mobile Firefox"`
6+
- OS detection: `"Mac OS" => "macOS"`, `"Chromium OS" => "Chrome OS"`
7+
- What's new:
8+
- Add some new methods in result object:
9+
- Add support for client hints: `withClientHints()`
10+
- Utility for easy comparison: `is()`
11+
- Utility to print full-name: `toString()`
12+
- Add support for ES module `import { UAParser } from 'ua-parser-js'`
13+
- Provide Enums `'ua-parser-js/enums'`
14+
- Provide Extensions `'ua-parser-js/extensions'`
15+
16+
## Version 2.0.0-alpha.2
17+
- Fix browser result always returning Chromium when using `withClientHints()`
18+
- Fix infinite-loop when await-ing `withClientHints()` in non-client-hints browser
19+
20+
## Version 2.0.0-alpha.1
21+
- Initial work on new major version
22+
23+
24+
# Version 0.7 / 1.0
25+
26+
Version 1.0.x is basically the equivalent of version 0.7.x. See [#536](https://github.com/faisalman/ua-parser-js/issues/536) for the reason behind this confusion.
27+
28+
## Version 0.7.35 / 1.0.35
29+
- Fix result from user-supplied user-agent being altered
1430
- Add new browser: Heytap, TikTok
1531
- Add new engine: LibWeb
1632
- Add new OS: SerenityOS
1733
- Improve browser detection: Yandex
1834
- Improve device detection: iPhone, Amazon Echo
1935
- Improve OS detection: iOS
2036

21-
# Version 0.7 / 1.0
22-
23-
Version 1.0.x is basically the equivalent of version 0.7.x. See [#536](https://github.com/faisalman/ua-parser-js/issues/536) for the reason behind this confusion.
24-
2537
## Version 0.7.34 / 1.0.34
2638
- Fix Sharp Mobile detected as Huawei Tablet
2739
- Fix IE8 bug

dist/ua-parser.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ua-parser.pack.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
name: 'faisalman:ua-parser-js',
3-
version: '2.0.0-alpha.1',
3+
version: '2.0.0-alpha.2',
44
summary: 'Lightweight JavaScript-based user-agent string parser',
55
git: 'https://github.com/faisalman/ua-parser-js.git',
66
documentation: 'readme.md'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"title": "UAParser.js",
33
"name": "ua-parser-js",
4-
"version": "2.0.0-alpha.1",
4+
"version": "2.0.0-alpha.2",
55
"author": "Faisal Salman <[email protected]> (http://faisalman.com)",
66
"description": "Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data. Supports browser & node.js environment",
77
"keywords": [

src/enum/ua-parser-enum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
///////////////////////////////////////////////
2-
/* Enums for UAParser.js v2.0.0-alpha.1
2+
/* Enums for UAParser.js v2.0.0-alpha.2
33
https://github.com/faisalman/ua-parser-js
44
Author: Faisal Salman <[email protected]>
55
MIT License */

src/enum/ua-parser-enum.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Source: /src/enum/ua-parser-enum.js
44

55
///////////////////////////////////////////////
6-
/* Enums for UAParser.js v2.0.0-alpha.1
6+
/* Enums for UAParser.js v2.0.0-alpha.2
77
https://github.com/faisalman/ua-parser-js
88
Author: Faisal Salman <[email protected]>
99
MIT License */

src/extension/ua-parser-extension.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
///////////////////////////////////////////////
2-
/* Extensions for UAParser.js v2.0.0-alpha.1
2+
/* Extensions for UAParser.js v2.0.0-alpha.2
33
https://github.com/faisalman/ua-parser-js
44
Author: Faisal Salman <[email protected]>
55
MIT License */

src/extension/ua-parser-extension.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Source: /src/extension/ua-parser-extension.js
44

55
///////////////////////////////////////////////
6-
/* Extensions for UAParser.js v2.0.0-alpha.1
6+
/* Extensions for UAParser.js v2.0.0-alpha.2
77
https://github.com/faisalman/ua-parser-js
88
Author: Faisal Salman <[email protected]>
99
MIT License */

0 commit comments

Comments
 (0)