Skip to content

Commit 4cc769c

Browse files
committed
- Updated to browscap 6000040.
- Updated unit tests accordingly.
1 parent 35e052a commit 4cc769c

File tree

7 files changed

+11
-9
lines changed

7 files changed

+11
-9
lines changed

CHANGELOG.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.3.1 - 23 July 2020
2+
- Updated to browscap 6000040.
3+
- Updated unit tests accordingly.
4+
15
1.3.0 - 20 July 2020
26
- Merged 31: updated CSV library
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: 6000039.
5+
The BrowsCap version currently shipped is: 6000040.
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.0</version>
45+
<version>1.3.1</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.0</version>
7+
<version>1.3.1</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 = 6000039;
25+
public static final int BUNDLED_BROWSCAP_VERSION = 6000040;
2626
private String myZipFilePath;
2727
private InputStream myZipFileStream;
2828

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

src/test/resources/useragents.txt

+3-5
Original file line numberDiff line numberDiff line change
@@ -1207,8 +1207,6 @@ Chrome 76 Android 9.0 Mobile Phone Mozilla/5.0 (Linux; Android 9;
12071207
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
12081208
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
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
1210-
1211-
1212-
1213-
1214-
1210+
Firefox 78 Linux Unknown Desktop Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
1211+
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

0 commit comments

Comments
 (0)