Skip to content

Commit b0cf5d0

Browse files
chore: bump version to 2.1.1 for patch release
- Added changelog entry for null policies list fix - Updated pom.xml version from 2.1.0 to 2.1.1
1 parent e979947 commit b0cf5d0

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ 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+
## [2.1.1] - 2026-01-06
9+
10+
### Fixed
11+
12+
- **Null Policies List Handling**: Fixed `NullPointerException` in `listDynamicPolicies()` when API returns `{"policies": null}` instead of empty array
13+
- Added explicit null check for `wrapper.getPolicies()` before returning
14+
- Returns empty list when policies field is null
15+
816
## [2.1.0] - 2026-01-05
917

1018
### 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>2.1.0</version>
9+
<version>2.1.1</version>
1010
<packaging>jar</packaging>
1111

1212
<name>AxonFlow Java SDK</name>

0 commit comments

Comments
 (0)