Skip to content

Commit c9d008e

Browse files
committed
Bump version 2.0.4
1 parent 86b3cd3 commit c9d008e

19 files changed

+251
-134
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,27 @@
6565

6666
---
6767

68+
## Version 2.0.4
69+
70+
- Add new browser: Edge WebView, Edge WebView2
71+
- Add new device vendor: Lava, Retroid, Vizio
72+
- Add new OS: ArcaOS, Knoppix, Xubuntu, Windows CE, Windows RT
73+
- Improve device detection: Google Pixel & Pixelbook Series, HMD, Infinix, LG WebOS TV, Motorola, Nothing, OnePlus, Sony, Tecno
74+
- Improve OS detection: AIX, Arch, Fuchsia, Haiku, HarmonyOS, Mint, MorphOS, Solaris, Windows
75+
- Improve `withClientHints()` browser naming adjustments: `Microsoft Edge WebView2` => `Edge WebView2`
76+
- Identify device that uses Firefox Reality / Wolvic as `xr`
77+
- Identify device with large screen as `smarttv`
78+
- Identify Windows CE & Windows RT as distinct OS variants
79+
- `extensions` submodule:
80+
- Remove lookbehind assertion to ensure regex compatibility
81+
- Add new crawlers: ChatGLM, Daum, iAskBot, Onespot, Qwantbot, Startpage
82+
- Add new emails: Apple's Mail, DaumMail, Polymail, ProtonMail, SparkDesktop, Zimbra, ZohoMail-Desktop
83+
- Add new fetchers: Iframely, MistralAI-User, Perplexity-User
84+
- Add new inApps: Discord, Evernote, Figma, Flipboard, Mattermost, Notion, Postman, Rambox, Rocket.Chat, Microsoft Teams, TikTok Lite, VS Code
85+
- Add new libraries: AdobeAIR, aiohttp, nutch, httpx, urllib3
86+
- `enum` submodule:
87+
- Fix mistakenly placed `BLU` categorized as browser name instead of device vendor
88+
6889
## Version 2.0.3
6990

7091
- Add new browser: Dooble, Ecosia, LG Browser, Otter, qutebrowser, Surf

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.min.mjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

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.

dist/ua-parser.pack.mjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

package-lock.json

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.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.3",
4+
"version": "2.0.4",
55
"author": "Faisal Salman <f@faisalman.com> (http://faisalman.com)",
66
"description": "Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent & Client Hints data. Supports browser & node.js environment",
77
"keywords": [

src/enums/ua-parser-enums.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for Enums submodule of UAParser.js v2.0.3
1+
// Type definitions for Enums submodule of UAParser.js v2.0.4
22
// Project: https://github.com/faisalman/ua-parser-js
33
// Definitions by: Faisal Salman <https://github.com/faisalman>
44

src/enums/ua-parser-enums.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.3
2+
/* Enums for UAParser.js v2.0.4
33
https://github.com/faisalman/ua-parser-js
44
Author: Faisal Salman <f@faisalman.com>
55
AGPLv3 License */

src/enums/ua-parser-enums.mjs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Source: /src/enums/ua-parser-enums.js
44

55
///////////////////////////////////////////////
6-
/* Enums for UAParser.js v2.0.3
6+
/* Enums for UAParser.js v2.0.4
77
https://github.com/faisalman/ua-parser-js
88
Author: Faisal Salman <f@faisalman.com>
99
AGPLv3 License */
@@ -25,7 +25,6 @@ const Browser = Object.freeze({
2525
BAIDU: 'Baidu Browser',
2626
BASILISK: 'Basilisk',
2727
BLAZER: 'Blazer',
28-
BLU: 'BLU',
2928
BOLT: 'Bolt',
3029
BOWSER: 'Bowser',
3130
BRAVE: 'Brave',
@@ -48,6 +47,8 @@ const Browser = Object.freeze({
4847
DUCKDUCKGO: 'DuckDuckGo',
4948
ECOSIA: 'Ecosia',
5049
EDGE: 'Edge',
50+
EDGE_WEBVIEW: 'Edge WebView',
51+
EDGE_WEBVIEW2: 'Edge WebView2',
5152
EPIPHANY: 'Epiphany',
5253
FACEBOOK: 'Facebook',
5354
FALKON: 'Falkon',
@@ -218,6 +219,7 @@ const Vendor = Object.freeze({
218219
ATT: 'AT&T',
219220
BENQ: 'BenQ',
220221
BLACKBERRY: 'BlackBerry',
222+
BLU: 'BLU',
221223
CAT: 'Cat',
222224
DELL: 'Dell',
223225
ENERGIZER: 'Energizer',
@@ -236,6 +238,7 @@ const Vendor = Object.freeze({
236238
ITEL: 'itel',
237239
JOLLA: 'Jolla',
238240
KOBO: 'Kobo',
241+
LAVA: 'Lava',
239242
LENOVO: 'Lenovo',
240243
LG: 'LG',
241244
MEIZU: 'Meizu',
@@ -256,6 +259,7 @@ const Vendor = Object.freeze({
256259
PICO: 'Pico',
257260
POLYTRON: 'Polytron',
258261
REALME: 'Realme',
262+
RETROID: 'Retroid',
259263
RIM: 'RIM',
260264
ROKU: 'Roku',
261265
SAMSUNG: 'Samsung',
@@ -270,6 +274,7 @@ const Vendor = Object.freeze({
270274
TESLA: 'Tesla',
271275
ULEFONE: 'Ulefone',
272276
VIVO: 'Vivo',
277+
VIZIO: 'Vizio',
273278
VODAFONE: 'Vodafone',
274279
XBOX: 'Xbox',
275280
XIAOMI: 'Xiaomi',
@@ -307,6 +312,7 @@ const OS = Object.freeze({
307312
AMIGA_OS: 'Amiga OS',
308313
ANDROID: 'Android',
309314
ANDROID_X86: 'Android-x86',
315+
ARCAOS: 'ArcaOS',
310316
ARCH: 'Arch',
311317
BADA: 'Bada',
312318
BEOS: 'BeOS',
@@ -337,6 +343,7 @@ const OS = Object.freeze({
337343
IOS: 'iOS',
338344
JOLI: 'Joli',
339345
KAIOS: 'KaiOS',
346+
KNOPPIX: 'Knoppix',
340347
KUBUNTU: 'Kubuntu',
341348
LINPUS: 'Linpus',
342349
LINSPIRE: 'Linspire',
@@ -385,10 +392,13 @@ const OS = Object.freeze({
385392
WATCHOS: 'watchOS',
386393
WEBOS: 'WebOS',
387394
WINDOWS: 'Windows',
395+
WINDOWS_CE: 'Windows CE',
388396
WINDOWS_IOT: 'Windows IoT',
389397
WINDOWS_MOBILE: 'Windows Mobile',
390398
WINDOWS_PHONE: 'Windows Phone',
399+
WINDOWS_RT: 'Windows RT',
391400
XBOX: 'Xbox',
401+
XUBUNTU: 'Xubuntu',
392402
ZENWALK: 'Zenwalk'
393403

394404
// TODO : test!

0 commit comments

Comments
 (0)