Skip to content

Commit 1f0b82b

Browse files
committed
* Update to BrowsCap 6000034
* Updated unit tests * Updated changelog * Updated README.md
1 parent 5102000 commit 1f0b82b

File tree

7 files changed

+15
-6
lines changed

7 files changed

+15
-6
lines changed

CHANGELOG.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
1.2.8 - 15 May 2019
1+
1.2.10 - 8 July 2019
2+
- Updated to browscap 6000034
3+
- Updated unit tests accordingly
4+
5+
1.2.9 - 15 May 2019
26
- Updated to browscap 6000033
37
- Updated unit tests accordingly
48

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ In short, this is how our algorithm works:
2323
* All BrowsCap fields are available by configuration, but the following fields are loaded by default:
2424
* browser (e.g. Chrome)
2525
* browserType (e.g. Browser or Application)
26-
* browserMajorVersion (e.g. 66 in case of Chrome)
26+
* browserMajorVersion (e.g. 75 in case of Chrome)
2727
* deviceType (e.g. Mobile Phone, Desktop, Tablet, Console, TV Device)
2828
* platform (e.g. Android, iOS, Win7, Win8, Win10)
2929
* platformVersion (e.g. 4.2, 10 depending on what the platform is)
@@ -42,7 +42,7 @@ Add this to the dependencies in your pom.xml.
4242
<dependency>
4343
<groupId>com.blueconic</groupId>
4444
<artifactId>browscap-java</artifactId>
45-
<version>1.2.9</version>
45+
<version>1.2.10</version>
4646
</dependency>
4747
```
4848

pom.xml

+1-1
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.2.9</version>
7+
<version>1.2.10</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

+1-1
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 = 6000033;
25+
public static final int BUNDLED_BROWSCAP_VERSION = 6000034;
2626
private String myZipFilePath;
2727
private InputStream myZipFileStream;
2828

-4.73 MB
Binary file not shown.
4.94 MB
Binary file not shown.

src/test/resources/useragents.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -1176,4 +1176,9 @@ IE 6 Win98 98 Desktop Mozilla/4.0 (compatible; MSIE 6.0; Windows
11761176
IE 9 Win7 6.1 Desktop Mozilla/5.0 (compatible; MSIE 8.0; compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; .NET4.0E; .NET4.0C; InfoPath.3; Trident/6.0)
11771177
Yahoo MailProxy 0 Unknown Unknown Unknown YahooMailProxy; https://help.yahoo.com/kb/yahoo-mail-proxy-SLN28749.html
11781178
Google Shopping Quality Bot 0 Unknown Unknown Unknown Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36 (compatible; Google-Shopping-Quality +http://www.google.com/merchants/tos/extend/NL/tos.html)
1179-
BrandVerity Bot 0 Unknown Unknown Unknown Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11A465 Twitter for iPhone BrandVerity/1.0 (http://www.brandverity.com/why-is-brandverity-visiting-me)
1179+
BrandVerity Bot 0 Unknown Unknown Unknown Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/11A465 Twitter for iPhone BrandVerity/1.0 (http://www.brandverity.com/why-is-brandverity-visiting-me)
1180+
netvigie Bot 0 Ubuntu Unknown Desktop Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 NETVIGIE
1181+
Chrome 75 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.80 Safari/537.36
1182+
Basilisk 0 Win10 10.0 Desktop Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.9) Gecko/20100101 Goanna/4.1 Firefox/60.9 Basilisk/20190211
1183+
Oppo Browser 4 Android 5.1 Mobile Phone Mozilla/5.0 (Linux; U; Android 5.1; en-us; OPPO A37m Build/LMY47I) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.134 Mobile Safari/537.36 OppoBrowser/4.9.3
1184+
Opera Touch 1 Android 7.0 Mobile Phone Mozilla/5.0 (Linux; Android 7.0; SM-G610F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/73.0.3683.90 Mobile Safari/537.36 OPT/1.17.66

0 commit comments

Comments
 (0)