Skip to content

Commit

Permalink
1.3.11 - 1 December 2021
Browse files Browse the repository at this point in the history
- Updated to browscap 6000051
  • Loading branch information
paulrutter committed Dec 1, 2021
1 parent 9f477a9 commit 2957534
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.3.11 - 1 December 2021
- Updated to browscap 6000051

1.3.10 - 25 November 2021
- Updated to browscap 6000050 (Safari 15.2, Samsung browser).

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# browscap-java
A blazingly fast and memory efficient (thread-safe) Java client on top of the BrowsCap [CSV source files](https://github.com/browscap/browscap).
The BrowsCap version currently shipped is: 6000050.
The BrowsCap version currently shipped is: 6000051.

## Description
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).
Expand Down Expand Up @@ -42,7 +42,7 @@ Add this to the dependencies in your pom.xml.
<dependency>
<groupId>com.blueconic</groupId>
<artifactId>browscap-java</artifactId>
<version>1.3.10</version>
<version>1.3.11</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.blueconic</groupId>
<artifactId>browscap-java</artifactId>
<packaging>jar</packaging>
<version>1.3.10</version>
<version>1.3.11</version>
<name>browscap-java</name>
<description>A blazingly fast and memory efficient Java client on top of the BrowsCap CSV source files.</description>

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/blueconic/browscap/UserAgentService.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
public class UserAgentService {

// The version of the browscap file this bundle depends on
public static final int BUNDLED_BROWSCAP_VERSION = 6000050;
public static final int BUNDLED_BROWSCAP_VERSION = 6000051;
private String myZipFilePath;
private InputStream myZipFileStream;

Expand Down
Binary file removed src/main/resources/browscap-6000050.zip
Binary file not shown.
Binary file added src/main/resources/browscap-6000051.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion src/test/resources/useragents.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ Firefox 96 macOS 10.15 Desktop Mozilla/5.0 (Macintosh; Intel Mac
Firefox 96 Android 11.0 Mobile Phone Mozilla/5.0 (Android 11; Mobile; rv:68.0) Gecko/68.0 Firefox/96.0
Safari 15 iOS 15.1 Mobile Phone Mozilla/5.0 (iPhone; CPU iPhone OS 15_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Mobile/15E148 Safari/604.1
Chrome 96 iOS 15.1 Mobile Phone Mozilla/5.0 (iPhone; CPU iPhone OS 15_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/96.0.4664.36 Mobile/15E148 Safari/604.1
Firefox for iOS 0 iOS 15.1 Mobile Phone Mozilla/5.0 (iPhone; CPU iPhone OS 15_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/39.0 Mobile/15E148 Safari/605.1.15
Firefox for iOS 39 iOS 15.1 Mobile Phone Mozilla/5.0 (iPhone; CPU iPhone OS 15_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/39.0 Mobile/15E148 Safari/605.1.15
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.0 Safari/605.1.15
Firefox 94 macOS 12.0 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 12.0; rv:94.0) Gecko/20100101 Firefox/94.0
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
Expand Down

0 comments on commit 2957534

Please sign in to comment.