Skip to content

Commit a135cea

Browse files
fix: Jackson deserialization and SSE stream endpoint path (#89)
* fix: Jackson deserialization on UnifiedListExecutionsResponse and SSE stream endpoint path - Add @JsonCreator and @JsonProperty annotations to UnifiedListExecutionsResponse constructor to fix "no Creators, like default constructor, exist" error - SSE streaming endpoint path fix included in v3.3.1 changelog * chore: bump version to 3.3.1
1 parent 35b545c commit a135cea

3 files changed

Lines changed: 16 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ All notable changes to the AxonFlow Java SDK will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [3.3.1] - 2026-02-11
9+
10+
### Fixed
11+
12+
- **`listUnifiedExecutions` deserialization**: Fixed Jackson deserialization failure on `UnifiedListExecutionsResponse` — added `@JsonCreator` and `@JsonProperty` annotations to constructor. Without this, `listUnifiedExecutions()` threw "no Creators, like default constructor, exist" error.
13+
- **SSE streaming endpoint path**: `streamExecutionStatus()` now uses correct `/api/v1/unified/executions/{id}/stream` path (was incorrectly pointing to `/api/v1/executions/{id}/stream` which is the Execution Replay API)
14+
15+
---
16+
817
## [3.3.0] - 2026-02-10
918

1019
### Added

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.getaxonflow</groupId>
88
<artifactId>axonflow-sdk</artifactId>
9-
<version>3.3.0</version>
9+
<version>3.3.1</version>
1010
<packaging>jar</packaging>
1111

1212
<name>AxonFlow Java SDK</name>

src/main/java/com/getaxonflow/sdk/types/execution/ExecutionTypes.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,8 +698,13 @@ public static final class UnifiedListExecutionsResponse {
698698
private final int offset;
699699
private final boolean hasMore;
700700

701+
@JsonCreator
701702
public UnifiedListExecutionsResponse(
702-
List<ExecutionStatus> executions, int total, int limit, int offset, boolean hasMore) {
703+
@JsonProperty("executions") List<ExecutionStatus> executions,
704+
@JsonProperty("total") int total,
705+
@JsonProperty("limit") int limit,
706+
@JsonProperty("offset") int offset,
707+
@JsonProperty("has_more") boolean hasMore) {
703708
this.executions = executions;
704709
this.total = total;
705710
this.limit = limit;

0 commit comments

Comments
 (0)