Skip to content

Commit e5b379d

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

File tree

7 files changed

+11
-4
lines changed

7 files changed

+11
-4
lines changed

CHANGELOG.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.2.14 - 31 Januari 2020
2+
- Updated to browscap 6000037.
3+
- Updated unit tests accordingly.
4+
15
1.2.13 - 18 October 2019
26
- Updated to browscap 6000036.
37
- Updated unit tests accordingly, also for 6000035.

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: 6000036.
5+
The BrowsCap version currently shipped is: 6000037.
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.13</version>
45+
<version>1.2.14</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.2.13</version>
7+
<version>1.2.14</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 = 6000036;
25+
public static final int BUNDLED_BROWSCAP_VERSION = 6000037;
2626
private String myZipFilePath;
2727
private InputStream myZipFileStream;
2828

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

src/test/resources/useragents.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1191,3 +1191,6 @@ Firefox 69 Win7 6.1 Desktop Mozilla/5.0 (Windows NT 6.1; rv:35.0)
11911191
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
11921192
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
11931193
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
1194+
Chrome 79 macOS 10.15 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.131 Safari/537.36
1195+
Chrome 79 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36
1196+
HeyTapBrowser 0 Android 10.0 Mobile Phone Mozilla/5.0 (Linux; U; Android 10; zh-cn; GM1910 Build/QKQ1.190716.003) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.80 Mobile Safari/537.36 HeyTapBrowser/40.7.0.0

0 commit comments

Comments
 (0)