Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGES.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
3.17.1 (2024-12-31)
=================
- Included HTTP Status codes into `SiftException` message when possible
- Validate that `apiKey` and `okHttpClient` are not `null` when creating `SiftClient`
- Validate that `accoundId` is not `null` when creating requests which require `accoundId`

3.17.0 (2024-11-15)
=================
- Added support for `$wager` event type in Events API
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ Java 1.7 or later.
<dependency>
<groupId>com.siftscience</groupId>
<artifactId>sift-java</artifactId>
<version>3.17.0</version>
<version>3.17.1</version>
</dependency>
```
### Gradle
```
dependencies {
compile 'com.siftscience:sift-java:3.17.0'
compile 'com.siftscience:sift-java:3.17.1'
}
```
### Other
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apply plugin: 'signing'
apply plugin: 'java-library-distribution'

group = 'com.siftscience'
version = '3.17.0'
version = '3.17.1'

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/siftscience/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
public class Constants {

public static final String API_VERSION = "v205";
public static final String LIB_VERSION = "3.17.0";
public static final String LIB_VERSION = "3.17.1";
public static final String USER_AGENT_HEADER = String.format("SiftScience/%s sift-java/%s", API_VERSION, LIB_VERSION);
}
2 changes: 1 addition & 1 deletion src/test/java/com/siftscience/SiftRequestTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void testUserAgentHeader() throws Exception {

// then
RecordedRequest recordedRequest = server.takeRequest();
assertEquals("SiftScience/v205 sift-java/3.17.0",
assertEquals("SiftScience/v205 sift-java/3.17.1",
recordedRequest.getHeader("User-Agent"));
}

Expand Down
Loading