diff --git a/CHANGELOG.md b/CHANGELOG.md
index a3f0e50..e05e296 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,15 @@
+## [3.0.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/compare/v2.2.0...v3.0.0) (2024-01-12)
+
+
+### ⚠ BREAKING CHANGES
+
+* `IpInfo` field `dataCenter` renamed to `datacenter`
+
+### Features
+
+* mark `IPLocation` as deprecated ([51bcc21](https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/commit/51bcc21388320a5af91dcfb0fff39db587bd21fc))
+* use `datacenter` instead of the wrong `dataCenter` ([33f7336](https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/commit/33f733677cabe7b2ec94a6aad5f5b786070576f9))
+
## [2.2.0](https://github.com/fingerprintjs/fingerprint-pro-server-api-java-sdk/compare/v2.1.1...v2.2.0) (2023-11-27)
diff --git a/README.md b/README.md
index ff24699..801d88a 100644
--- a/README.md
+++ b/README.md
@@ -67,7 +67,7 @@ Add this dependency to your project's POM:
com.github.fingerprintjs
fingerprint-pro-server-api-java-sdk
- v2.2.0
+ v3.0.0
```
@@ -81,7 +81,7 @@ Add this dependency to your project's build file:
}
dependencies {
- implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v2.2.0"
+ implementation "com.github.fingerprintjs:fingerprint-pro-server-api-java-sdk:v3.0.0"
}
```
@@ -95,7 +95,7 @@ At first generate the JAR by executing:
Then manually install the following JARs:
-- `target/fingerprint-pro-server-api-sdk-2.2.0.jar`
+- `target/fingerprint-pro-server-api-sdk-3.0.0.jar`
## Usage
diff --git a/build.gradle b/build.gradle
index e587372..c61cf14 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'com.diffplug.spotless'
group = 'com.fingerprint'
-version = '2.2.0'
+version = '3.0.0'
buildscript {
repositories {
@@ -37,7 +37,7 @@ publishing {
artifact jar
groupId 'com.fingerprint'
artifactId 'fingerprint-pro-server-api-sdk'
- version '2.2.0'
+ version '3.0.0'
}
}
}
diff --git a/config.yaml b/config.yaml
index 24e0ceb..79cde4b 100644
--- a/config.yaml
+++ b/config.yaml
@@ -1,4 +1,4 @@
-artifactVersion: 2.2.0
+artifactVersion: 3.0.0
apiPackage: com.fingerprint.api
modelPackage: com.fingerprint.model
invokerPackage: com.fingerprint.sdk
diff --git a/scripts/generate.sh b/scripts/generate.sh
index bd9a238..54a4ffa 100755
--- a/scripts/generate.sh
+++ b/scripts/generate.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-VERSION='2.2.0'
+VERSION='3.0.0'
while getopts "v:" arg; do
case $arg in
diff --git a/src/main/java/com/fingerprint/api/FingerprintApi.java b/src/main/java/com/fingerprint/api/FingerprintApi.java
index f40b1ae..9829521 100644
--- a/src/main/java/com/fingerprint/api/FingerprintApi.java
+++ b/src/main/java/com/fingerprint/api/FingerprintApi.java
@@ -23,7 +23,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class FingerprintApi {
- public static final String INTEGRATION_INFO = "fingerprint-pro-server-java-sdk/2.2.0";
+ public static final String INTEGRATION_INFO = "fingerprint-pro-server-java-sdk/3.0.0";
private ApiClient apiClient;
public FingerprintApi() {
diff --git a/src/main/java/com/fingerprint/sdk/ApiClient.java b/src/main/java/com/fingerprint/sdk/ApiClient.java
index d8bfd3f..6130ab2 100644
--- a/src/main/java/com/fingerprint/sdk/ApiClient.java
+++ b/src/main/java/com/fingerprint/sdk/ApiClient.java
@@ -130,7 +130,7 @@ public ApiClient(Map authMap) {
this.dateFormat = new RFC3339DateFormat();
// Set default User-Agent.
- setUserAgent("OpenAPI-Generator/2.2.0/java");
+ setUserAgent("OpenAPI-Generator/3.0.0/java");
// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap();