Skip to content

Commit dc3bada

Browse files
authored
Merge pull request #45 from ipinfo/usama/release-patch-2.2.1
Release 2.2.1
2 parents e543184 + 754de34 commit dc3bada

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2.2.1
2+
3+
- Updated vulnerable dependency; `com.google.guava`
4+
15
# 2.2.0
26

37
- Added `isEU`, `CountryFlag`, `CountryCurrency` and `Continent` fields.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Dependency:
3232
<dependency>
3333
<groupId>io.ipinfo</groupId>
3434
<artifactId>ipinfo-api</artifactId>
35-
<version>2.2</version>
35+
<version>2.2.1</version>
3636
<scope>compile</scope>
3737
</dependency>
3838
</dependencies>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>io.ipinfo</groupId>
88
<artifactId>ipinfo-api</artifactId>
9-
<version>2.2</version>
9+
<version>2.2.1</version>
1010
<packaging>jar</packaging>
1111

1212
<properties>

src/main/java/io/ipinfo/api/IPinfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ private ConcurrentHashMap<String, Object> getBatchGeneric(
256256
.url(postUrl)
257257
.addHeader("Content-Type", "application/json")
258258
.addHeader("Authorization", Credentials.basic(token, ""))
259-
.addHeader("User-Agent", "IPinfoClient/Java/2.2");
259+
.addHeader("User-Agent", "IPinfoClient/Java/2.2.1");
260260

261261
for (int i = 0; i < lookupUrls.size(); i += batchSize) {
262262
// create chunk.

src/main/java/io/ipinfo/api/request/BaseRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ protected BaseRequest(OkHttpClient client, String token) {
2323
public Response handleRequest(Request.Builder request) throws RateLimitedException {
2424
request
2525
.addHeader("Authorization", Credentials.basic(token, ""))
26-
.addHeader("user-agent", "IPinfoClient/Java/2.2")
26+
.addHeader("user-agent", "IPinfoClient/Java/2.2.1")
2727
.addHeader("Content-Type", "application/json");
2828

2929
Response response;

0 commit comments

Comments
 (0)