Skip to content

Commit 17f88dd

Browse files
committed
Update to 6000039
Updated README.md and CHANGELOG.txt Updated unit tests
1 parent d7fc5e8 commit 17f88dd

File tree

7 files changed

+16
-4
lines changed

7 files changed

+16
-4
lines changed

CHANGELOG.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.2.17 - 29 May 2020
2+
- Updated to browscap 6000039.
3+
- Updated unit tests accordingly.
4+
15
1.2.16 - 10 April 2020
26
- Merged PR #28, which allows using the default Browscap ZIP file which not only contains the CSV file.
37

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

-5.35 MB
Binary file not shown.
4.52 MB
Binary file not shown.

src/test/resources/useragents.txt

+8
Original file line numberDiff line numberDiff line change
@@ -1204,3 +1204,11 @@ Firefox 72 Linux Unknown Desktop Mozilla/5.0 (X11; Linux x86_64;
12041204
Firefox 75 Linux Unknown Desktop Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/75.0
12051205
Edge 80 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.106 Safari/537.36 Edg/80.0.361.54
12061206
Chrome 76 Android 9.0 Mobile Phone Mozilla/5.0 (Linux; Android 9; SM-G973F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.111 Mobile Safari/537.36
1207+
Chrome 83 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36
1208+
Safari 13 macOS 10.15 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15
1209+
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
1210+
1211+
1212+
1213+
1214+

0 commit comments

Comments
 (0)