diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 834aebf..0ba2b38 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,6 @@ +1.3.10 - 25 November 2021 +- Updated to browscap 6000050 (Safari 15.2, Samsung browser). + 1.3.9 - 18 November 2021 - Updated to browscap 6000049 (Safari 15.1). diff --git a/README.md b/README.md index 92a9575..dd52886 100644 --- a/README.md +++ b/README.md @@ -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: 6000049. +The BrowsCap version currently shipped is: 6000050. ## 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). @@ -42,7 +42,7 @@ Add this to the dependencies in your pom.xml. com.blueconic browscap-java - 1.3.9 + 1.3.10 ``` diff --git a/pom.xml b/pom.xml index 0789b56..720e76b 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.blueconic browscap-java jar - 1.3.9 + 1.3.10 browscap-java A blazingly fast and memory efficient Java client on top of the BrowsCap CSV source files. diff --git a/src/main/java/com/blueconic/browscap/UserAgentService.java b/src/main/java/com/blueconic/browscap/UserAgentService.java index f33897f..68ce097 100644 --- a/src/main/java/com/blueconic/browscap/UserAgentService.java +++ b/src/main/java/com/blueconic/browscap/UserAgentService.java @@ -22,7 +22,7 @@ public class UserAgentService { // The version of the browscap file this bundle depends on - public static final int BUNDLED_BROWSCAP_VERSION = 6000049; + public static final int BUNDLED_BROWSCAP_VERSION = 6000050; private String myZipFilePath; private InputStream myZipFileStream; diff --git a/src/main/resources/browscap-6000049.zip b/src/main/resources/browscap-6000049.zip deleted file mode 100644 index c521805..0000000 Binary files a/src/main/resources/browscap-6000049.zip and /dev/null differ diff --git a/src/main/resources/browscap-6000050.zip b/src/main/resources/browscap-6000050.zip new file mode 100644 index 0000000..09d7da4 Binary files /dev/null and b/src/main/resources/browscap-6000050.zip differ diff --git a/src/test/resources/useragents.txt b/src/test/resources/useragents.txt index 03bd0e8..6d54e8c 100644 --- a/src/test/resources/useragents.txt +++ b/src/test/resources/useragents.txt @@ -1248,4 +1248,7 @@ Firefox 94 macOS 12.0 Desktop Mozilla/5.0 (Macintosh; Intel Mac O 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 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 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 -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 \ No newline at end of file +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 +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 +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 +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