Skip to content

Commit d397bdc

Browse files
committed
1.4.4
- 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 parent 20c6c2a commit d397bdc

File tree

7 files changed

+10
-5
lines changed

7 files changed

+10
-5
lines changed

CHANGELOG.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.4.4 - 17 June 2024
2+
- Updated to browscap 6001007 (https://github.com/browscap/browscap/releases/tag/6.1.7)
3+
- Add recent and future chrome, edge and firefox based versions, up until 135, based on changes in PR 2880
4+
15
1.4.3 - 5 December 2023
26
- Updated to browscap 6001006 (https://github.com/browscap/browscap/releases/tag/6.1.6)
37
- Detection for GPTBot

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

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

88
## Description
99
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).
@@ -44,7 +44,7 @@ Add this to the dependencies in your pom.xml.
4444
<dependency>
4545
<groupId>com.blueconic</groupId>
4646
<artifactId>browscap-java</artifactId>
47-
<version>1.4.3</version>
47+
<version>1.4.4</version>
4848
</dependency>
4949
```
5050

pom.xml

Lines changed: 1 addition & 1 deletion
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.4.3</version>
7+
<version>1.4.4</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

Lines changed: 1 addition & 1 deletion
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 = 6001006;
25+
public static final int BUNDLED_BROWSCAP_VERSION = 6001007;
2626
private String myZipFilePath;
2727
private InputStream myZipFileStream;
2828

-5.65 MB
Binary file not shown.
5.84 MB
Binary file not shown.

src/test/resources/useragents.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1278,4 +1278,5 @@ Chrome 108 Android 10.0 Mobile Phone Mozilla/5.0 (Linux; Android
12781278
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
12791279
Firefox 115 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
12801280
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
1281-
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
1281+
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
1282+
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 commit comments

Comments
 (0)