Skip to content

Commit

Permalink
1.4.4
Browse files Browse the repository at this point in the history
- Updated to browscap 6001007 (https://github.com/browscap/browscap/releases/tag/6.1.7)
- Add recent and future chrome, edge and firefox based versions, up until 135, based on changes in PR 2880
  • Loading branch information
paulrutter committed Jun 17, 2024
1 parent 20c6c2a commit d397bdc
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.4.4 - 17 June 2024
- Updated to browscap 6001007 (https://github.com/browscap/browscap/releases/tag/6.1.7)
- Add recent and future chrome, edge and firefox based versions, up until 135, based on changes in PR 2880

1.4.3 - 5 December 2023
- Updated to browscap 6001006 (https://github.com/browscap/browscap/releases/tag/6.1.6)
- Detection for GPTBot
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,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: 6001006.
The BrowsCap version currently shipped is: 6001007.

## 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 @@ -44,7 +44,7 @@ Add this to the dependencies in your pom.xml.
<dependency>
<groupId>com.blueconic</groupId>
<artifactId>browscap-java</artifactId>
<version>1.4.3</version>
<version>1.4.4</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.4.3</version>
<version>1.4.4</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 = 6001006;
public static final int BUNDLED_BROWSCAP_VERSION = 6001007;
private String myZipFilePath;
private InputStream myZipFileStream;

Expand Down
Binary file removed src/main/resources/browscap-6001006.zip
Binary file not shown.
Binary file added src/main/resources/browscap-6001007.zip
Binary file not shown.
3 changes: 2 additions & 1 deletion src/test/resources/useragents.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1278,4 +1278,5 @@ Chrome 108 Android 10.0 Mobile Phone Mozilla/5.0 (Linux; Android
Chrome 115 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Firefox 115 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Chrome 115 MacOSX 10 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Chrome 115 iOS Unknown Mobile Phone Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/115.0.5790.130 Mobile/15E148 Safari/604.1
Chrome 115 iOS Unknown Mobile Phone Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/115.0.5790.130 Mobile/15E148 Safari/604.1
Chrome 126 MacOSX 10 Desktop Mozilla/5.0 (Macintosh; Intel Mac OS X 13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

0 comments on commit d397bdc

Please sign in to comment.