Skip to content

Commit 9f477a9

Browse files
committed
https://github.com/browscap/browscap/pull/2537
1 parent 476883b commit 9f477a9

File tree

7 files changed

+11
-5
lines changed

7 files changed

+11
-5
lines changed

CHANGELOG.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
1.3.10 - 25 November 2021
2+
- Updated to browscap 6000050 (Safari 15.2, Samsung browser).
3+
14
1.3.9 - 18 November 2021
25
- Updated to browscap 6000049 (Safari 15.1).
36

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](https://github.com/browscap/browscap).
5-
The BrowsCap version currently shipped is: 6000049.
5+
The BrowsCap version currently shipped is: 6000050.
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.9</version>
45+
<version>1.3.10</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.9</version>
7+
<version>1.3.10</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 = 6000049;
25+
public static final int BUNDLED_BROWSCAP_VERSION = 6000050;
2626
private String myZipFilePath;
2727
private InputStream myZipFileStream;
2828

-5.57 MB
Binary file not shown.
5.58 MB
Binary file not shown.

src/test/resources/useragents.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -1248,4 +1248,7 @@ Firefox 94 macOS 12.0 Desktop Mozilla/5.0 (Macintosh; Intel Mac O
12481248
Chrome 96 macOS 12.0 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 12_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
12491249
Edge 94 macOS 12.0 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 12_0_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36 Edg/94.0.992.31
12501250
Safari 15 macOS 10.15 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15
1251-
Safari 15 macOS 10.15 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15
1251+
Safari 15 macOS 10.15 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15
1252+
Samsung Browser 14 Android 11.0 Tablet Mozilla/5.0 (Linux; Android 11; SAMSUNG SM-T295) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/14.2 Chrome/87.0.4280.141 Safari/537.36
1253+
Samsung Browser 15 Android 11.0 Mobile Phone Mozilla/5.0 (Linux; Android 11; SAMSUNG SM-G973F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/15.0 Chrome/90.0.4430.210 Mobile Safari/537.36
1254+
Safari 15 macOS 12.0 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 12_0_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15

0 commit comments

Comments
 (0)