Skip to content

Commit 32b6aac

Browse files
committed
vsn bump to 3.0.0
1 parent 93c8b9f commit 32b6aac

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# 3.0.0
2+
3+
- Removed loading of country/continent/currency/EU-related data via files. This
4+
is done fully statically now.
5+
- IPinfo builder no longer supports functions `setContinentFile`,
6+
`setCountryCurrencyFile`, `setCountryFlagFile`, `setEUCountryFile`,
7+
`setCountryFile`.
8+
- IPinfo `Context` object no longer supports being initialized via input maps.
9+
110
# 2.2.2
211

312
- Updated guava to vsn 32.1.2

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.2</version>
35+
<version>3.0.0</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.2</version>
9+
<version>3.0.0</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
@@ -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/2.2.2");
252+
.addHeader("User-Agent", "IPinfoClient/Java/3.0.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/2.2.2")
26+
.addHeader("user-agent", "IPinfoClient/Java/3.0.0")
2727
.addHeader("Content-Type", "application/json");
2828

2929
Response response;

0 commit comments

Comments
 (0)