Skip to content

Commit

Permalink
Update to 6001006
Browse files Browse the repository at this point in the history
1.4.2 - 5 December 2023
- Updated to browscap 6001006 (https://github.com/browscap/browscap/releases/tag/6.1.6)
- Detection for GPTBot
- Detection for ImagesiftBot
- Added Seekport crawler
- support to Opera until 115
- support for Opera Mobile until 85
- Android 14 detection
- MacOS X until version 14
- Improved BingBot detection
  • Loading branch information
paulrutter committed Dec 5, 2023
1 parent 62a6ea5 commit 9c6ad96
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 12 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
1.4.3 - 5 December 2023
- Updated to browscap 6001006 (https://github.com/browscap/browscap/releases/tag/6.1.6)
- Detection for GPTBot
- Detection for ImagesiftBot
- Added Seekport crawler
- support to Opera until 115
- support for Opera Mobile until 85
- Android 14 detection
- MacOS X until version 14
- Improved BingBot detection
- Skipped 1.4.2 due to Sonatype publishing issues

1.4.1 - 26 July 2023
- Updated to browscap 6001005 (https://github.com/browscap/browscap/releases/tag/6.1.5)
- Updated chrome versions up until 125
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
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.1</version>
<version>1.4.3</version>
</dependency>
```

Expand Down
13 changes: 12 additions & 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.1</version>
<version>1.4.3</version>
<name>browscap-java</name>
<description>A blazingly fast and memory efficient Java client on top of the BrowsCap CSV source files.</description>

Expand All @@ -30,6 +30,17 @@
<url>https://github.com/blueconic/browscap-java</url>
</scm>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<url>http://www.blueconic.com</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
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 = 6001005;
public static final int BUNDLED_BROWSCAP_VERSION = 6001006;
private String myZipFilePath;
private InputStream myZipFileStream;

Expand Down
Binary file removed src/main/resources/browscap-6001005.zip
Binary file not shown.
Binary file added src/main/resources/browscap-6001006.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@
import java.nio.file.Paths;
import java.util.Collection;

import org.junit.jupiter.api.Test;

import com.blueconic.browscap.BrowsCapField;
import com.blueconic.browscap.Capabilities;
import com.blueconic.browscap.ParseException;
import com.blueconic.browscap.UserAgentParser;
import com.blueconic.browscap.UserAgentService;
import org.junit.jupiter.api.Test;

class UserAgentServiceTest {

Expand Down
16 changes: 8 additions & 8 deletions src/test/resources/useragents_2.txt

Large diffs are not rendered by default.

0 comments on commit 9c6ad96

Please sign in to comment.