Skip to content

Commit 44ddbd1

Browse files
committed
v3.1.0 release
1 parent 6226e0a commit 44ddbd1

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+
# 3.1.0
2+
3+
- Add support for IPinfo Lite API
4+
15
# 3.0.2
26

37
- `IPResponse`: `GetAnycast` returns whether an IP is anycast, independent of underlying response field (`anycast` or `is_anycast`)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Dependency:
3434
<dependency>
3535
<groupId>io.ipinfo</groupId>
3636
<artifactId>ipinfo-api</artifactId>
37-
<version>3.0.2</version>
37+
<version>3.1.0</version>
3838
<scope>compile</scope>
3939
</dependency>
4040
</dependencies>

pom.xml

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

88
<groupId>io.ipinfo</groupId>
99
<artifactId>ipinfo-api</artifactId>
10-
<version>3.0.2</version>
10+
<version>3.1.0</version>
1111
<packaging>jar</packaging>
1212

1313
<organization>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ private ConcurrentHashMap<String, Object> getBatchGeneric(
249249
.url(postUrl)
250250
.addHeader("Content-Type", "application/json")
251251
.addHeader("Authorization", Credentials.basic(token, ""))
252-
.addHeader("User-Agent", "IPinfoClient/Java/3.0.2");
252+
.addHeader("User-Agent", "IPinfoClient/Java/3.1.0");
253253

254254
for (int i = 0; i < lookupUrls.size(); i += batchSize) {
255255
// 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/3.0.2")
26+
.addHeader("user-agent", "IPinfoClient/Java/3.1.0")
2727
.addHeader("Content-Type", "application/json");
2828

2929
Response response;

0 commit comments

Comments
 (0)