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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to the library will be documented in this file.
The format of the file is based on [Keep a Changelog](http://keepachangelog.com/)
and this library adheres to [Semantic Versioning](http://semver.org/) as mentioned in [README.md][readme] file.

## [ [7.0.1](https://github.com/infobip/infobip-api-java-client/releases/tag/7.0.1) ] - 2026-09-03

### Fixed
* Fixed `messageId` field type in `EmailWebhookTrackingPayload` from `Double` to `String` in order to properly deserialize requests received on the `Receive user events` webhook.

## [ [7.0.0](https://github.com/infobip/infobip-api-java-client/releases/tag/7.0.0) ] - 2026-07-31

⚠️ **IMPORTANT NOTE:** This release contains compile time breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Simply add the following in your project's POM file under `dependencies` tag:
<dependency>
<groupId>com.infobip</groupId>
<artifactId>infobip-api-java-client</artifactId>
<version>7.0.0</version>
<version>7.0.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.infobip</groupId>
<artifactId>infobip-api-java-client</artifactId>
<version>7.0.0</version>
<version>7.0.1</version>
<packaging>jar</packaging>

<name>infobip-api-java-client</name>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/infobip/RequestFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/
final class RequestFactory {

private static final String USER_AGENT_HEADER_VALUE = "infobip-api-client-java/7.0.0";
private static final String USER_AGENT_HEADER_VALUE = "infobip-api-client-java/7.0.1";

private final ApiKey apiKey;
private final BaseUrl baseUrl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class EmailWebhookTrackingPayload {

private Double sendDateTime;

private Double messageId;
private String messageId;

private String bulkId;

Expand Down Expand Up @@ -336,7 +336,7 @@ public void setSendDateTime(Double sendDateTime) {
* @param messageId
* @return This {@link EmailWebhookTrackingPayload instance}.
*/
public EmailWebhookTrackingPayload messageId(Double messageId) {
public EmailWebhookTrackingPayload messageId(String messageId) {
this.messageId = messageId;
return this;
}
Expand All @@ -350,7 +350,7 @@ public EmailWebhookTrackingPayload messageId(Double messageId) {
* @return messageId
*/
@JsonProperty("messageId")
public Double getMessageId() {
public String getMessageId() {
return messageId;
}

Expand All @@ -363,7 +363,7 @@ public Double getMessageId() {
* @param messageId
*/
@JsonProperty("messageId")
public void setMessageId(Double messageId) {
public void setMessageId(String messageId) {
this.messageId = messageId;
}

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/infobip/RequestFactoryTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class RequestFactoryTest {

private static final String GIVEN_API_KEY_VALUE = "apiKeyValue";
private static final ApiKey GIVEN_API_KEY = ApiKey.from(GIVEN_API_KEY_VALUE);
private static final String EXPECTED_USER_AGENT_HEADER_VALUE = "infobip-api-client-java/7.0.0";
private static final String EXPECTED_USER_AGENT_HEADER_VALUE = "infobip-api-client-java/7.0.1";

private final OkHttpClient client = new OkHttpClient();
private final JSON json = new JSON();
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/infobip/api/EmailApiTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ void shouldParseUserEvents() {
+ " \"domain\": \"example.com\",\n"
+ " \"recipient\": \"john.doe@example.com\",\n"
+ " \"sendDateTime\": 1599542877689,\n"
+ " \"messageId\": 1599542877689,\n"
+ " \"messageId\": \"14b734recsf69n8zkao5\",\n"
+ " \"bulkId\": \"ikzzmbhu6223bxkhmyrj\",\n"
+ " \"recipientInfo\": {\n"
+ " \"deviceType\": \"Phone\",\n"
Expand Down
Loading