Skip to content

Commit

Permalink
chore(release): 3.0.0 [skip ci]
Browse files Browse the repository at this point in the history
## [3.0.0](v2.2.0...v3.0.0) (2024-01-12)

### ⚠ BREAKING CHANGES

* `IpInfo` field `dataCenter` renamed to `datacenter`

### Features

* mark `IPLocation` as deprecated ([51bcc21](51bcc21))
* use `datacenter` instead of the wrong `dataCenter` ([33f7336](33f7336))
  • Loading branch information
semantic-release-bot committed Jan 12, 2024
1 parent f97cc09 commit 2334468
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 9 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.github.fingerprintjs</groupId>
<artifactId>fingerprint-pro-server-api-java-sdk</artifactId>
<version>v2.2.0</version>
<version>v3.0.0</version>
</dependency>
```

Expand All @@ -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"
}
```

Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -37,7 +37,7 @@ publishing {
artifact jar
groupId 'com.fingerprint'
artifactId 'fingerprint-pro-server-api-sdk'
version '2.2.0'
version '3.0.0'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
artifactVersion: 2.2.0
artifactVersion: 3.0.0
apiPackage: com.fingerprint.api
modelPackage: com.fingerprint.model
invokerPackage: com.fingerprint.sdk
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

VERSION='2.2.0'
VERSION='3.0.0'

while getopts "v:" arg; do
case $arg in
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/api/FingerprintApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fingerprint/sdk/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public ApiClient(Map<String, Authentication> 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<String, Authentication>();
Expand Down

0 comments on commit 2334468

Please sign in to comment.