Skip to content

Commit 078299d

Browse files
committed
- Updated to browscap 6000041.
- Updated unit tests accordingly (Mostly Chrome and FireFox version updates for current and future versions).
1 parent 44c1c14 commit 078299d

File tree

7 files changed

+21
-5
lines changed

7 files changed

+21
-5
lines changed

CHANGELOG.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.3.2 - 4 November 2020
2+
- Updated to browscap 6000041.
3+
- Updated unit tests accordingly (Mostly Chrome and FireFox version updates for current and future versions).
4+
15
1.3.1 - 23 July 2020
26
- Updated to browscap 6000040.
37
- Updated unit tests accordingly.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# browscap-java
44
A blazingly fast and memory efficient (thread-safe) Java client on top of the BrowsCap CSV source files.
5-
The BrowsCap version currently shipped is: 6000040.
5+
The BrowsCap version currently shipped is: 6000041.
66

77
## Description
88
This library can be used to parse useragent headers in order to extract information about the used browser, browser version, platform, platform version and device type. Very useful to determine if the client is a desktop, tablet or mobile device or to determine if the client is on Windows or Mac OS (just to name a few examples).
@@ -42,7 +42,7 @@ Add this to the dependencies in your pom.xml.
4242
<dependency>
4343
<groupId>com.blueconic</groupId>
4444
<artifactId>browscap-java</artifactId>
45-
<version>1.3.1</version>
45+
<version>1.3.2</version>
4646
</dependency>
4747
```
4848

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.blueconic</groupId>
55
<artifactId>browscap-java</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.3.1</version>
7+
<version>1.3.2</version>
88
<name>browscap-java</name>
99
<description>A blazingly fast and memory efficient Java client on top of the BrowsCap CSV source files.</description>
1010

src/main/java/com/blueconic/browscap/UserAgentService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
public class UserAgentService {
2323

2424
// The version of the browscap file this bundle depends on
25-
public static final int BUNDLED_BROWSCAP_VERSION = 6000040;
25+
public static final int BUNDLED_BROWSCAP_VERSION = 6000041;
2626
private String myZipFilePath;
2727
private InputStream myZipFileStream;
2828

-4.53 MB
Binary file not shown.
4.67 MB
Binary file not shown.

src/test/resources/useragents.txt

+13-1
Original file line numberDiff line numberDiff line change
@@ -1209,4 +1209,16 @@ Safari 13 macOS 10.15 Desktop Mozilla/5.0 (Macintosh; Intel Mac O
12091209
Safari 13 iOS 13.2 Tablet Mozilla/5.0 (iPad; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1
12101210
Firefox 78 Linux Unknown Desktop Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
12111211
Firefox 79 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0
1212-
Firefox 80 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
1212+
Firefox 80 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
1213+
Chrome 86 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36
1214+
Chrome 86 macOS 10.15 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36
1215+
Chrome 86 Linux Unknown Desktop Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36
1216+
Chrome 86 iOS Unknown Mobile Phone Mozilla/5.0 (iPhone; CPU iPhone OS 14_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/86.0.4240.93 Mobile/15E148 Safari/604.1
1217+
Chrome 86 Android Unknown Mobile Phone Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.185 Mobile Safari/537.36
1218+
Chrome 86 Android 10.0 Mobile Phone Mozilla/5.0 (Linux; Android 10; SM-A205U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.185 Mobile Safari/537.36
1219+
Chrome 86 Android 10.0 Mobile Phone Mozilla/5.0 (Linux; Android 10; LM-Q720) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.185 Mobile Safari/537.36
1220+
Firefox 82 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
1221+
Firefox 82 macOS 10.15 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101 Firefox/82.0
1222+
Firefox 82 Android Unknown Mobile Phone Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/82.0
1223+
Safari 14 iOS 14.0 Mobile Phone Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Mobile/15E148 Safari/604.1
1224+
Edge 86 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36 Edg/86.0.622.58

0 commit comments

Comments
 (0)