Skip to content

Commit 987211e

Browse files
committed
Update to 6000036
Updated README.md and CHANGELOG.txt Updated unit tests
1 parent c30e043 commit 987211e

File tree

7 files changed

+18
-5
lines changed

7 files changed

+18
-5
lines changed

CHANGELOG.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.2.13 - 18 October 2019
2+
- Updated to browscap 6000036.
3+
- Updated unit tests accordingly, also for 6000035.
4+
15
1.2.12 - 6 October 2019
26
- Updated to browscap 6000035, see https://github.com/blueconic/browscap-java/issues/26.
37
- Unit tests follow later.

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: 6000035.
5+
The BrowsCap version currently shipped is: 6000036.
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.2.12</version>
45+
<version>1.2.13</version>
4646
</dependency>
4747
```
4848

pom.xml

+2-2
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.2.12</version>
7+
<version>1.2.13</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

@@ -125,4 +125,4 @@
125125
</build>
126126
</profile>
127127
</profiles>
128-
</project>
128+
</project>

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 = 6000035;
25+
public static final int BUNDLED_BROWSCAP_VERSION = 6000036;
2626
private String myZipFilePath;
2727
private InputStream myZipFileStream;
2828

-5.29 MB
Binary file not shown.
5.43 MB
Binary file not shown.

src/test/resources/useragents.txt

+9
Original file line numberDiff line numberDiff line change
@@ -1182,3 +1182,12 @@ Chrome 75 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64;
11821182
Basilisk 0 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.9) Gecko/20100101 Goanna/4.1 Firefox/60.9 Basilisk/20190211
11831183
Oppo Browser 4 Android 5.1 Mobile Phone Mozilla/5.0 (Linux; U; Android 5.1; en-us; OPPO A37m Build/LMY47I) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.134 Mobile Safari/537.36 OppoBrowser/4.9.3
11841184
Opera Touch 1 Android 7.0 Mobile Phone Mozilla/5.0 (Linux; Android 7.0; SM-G610F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/73.0.3683.90 Mobile Safari/537.36 OPT/1.17.66
1185+
Firefox 69 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
1186+
Safari 12 iOS 12.4 Mobile Phone Mozilla/5.0 (iPhone; CPU iPhone OS 12_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Mobile/15E148 Safari/604.1
1187+
Safari 13 macOS 10.15 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15
1188+
Chrome 64 Android 8.0 Mobile Phone Mozilla/5.0 (Linux; Android 8.0.0; SM-G960F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.137 Mobile Safari/537.36
1189+
Safari 13 macOS 10.15 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15
1190+
Firefox 69 Win7 6.1 Desktop Mozilla/5.0 (Windows NT 6.1; rv:35.0) Gecko/20100101 Firefox/69.0
1191+
Chrome 74 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
1192+
Chrome 77 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.2490.71 Safari/537.36
1193+
Chrome 77 macOS 10.15 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36

0 commit comments

Comments
 (0)