Skip to content

0.28.25

Latest

Choose a tag to compare

@ancalled ancalled released this 14 Sep 15:32
88789e9

Bumps the FinP2P Java SDK and regenerates the API models against the latest router OAS.

Changes

  • finp2p-java-sdk 0.28.11 → 0.28.14 (#70)
  • API models regenerated from owneraio/finp2p-core@master (#71) — 27 new model classes covering a new account-management surface (network accounts, account challenges/proofs, asset moves) plus CAIP-10 and custodial ledger-account variants.

Breaking changes

  • walletAccount.type is now the closed enum ['walletAccount']. The adapter previously emitted type: "wallet" and now emits "walletAccount". The legacy spelling is still accepted on input, so existing payloads keep deserializing.
  • APISwiftAccountDetails.TypeEnum.BIC is renamed to SWIFT, and the discriminator value "bic" is reassigned to the new APIBicAccountDetails. Legacy {"type":"bic","swiftCode":...} payloads now bind to APIBicAccountDetails, which has no swiftCode field — that value is dropped. Consumers reading SWIFT/BIC account details should review this.

Also in this release

  • OperationType.MOVE is carried through both mapping directions (previously threw MappingException).
  • caip10 / custodial ledger accounts are now rejected explicitly rather than silently degraded to a FinIdAccount, which discarded the caller's chain address.
  • Regeneration is reproducible: generate.sh now pins and verifies openapi-generator 7.6.0 and applies scripts/postgen-patches.sh.

Not included

The spec adds five endpoints that have no controllers yet — /accounts/create, /accounts/lookup, /accounts/{accountId}, /accounts/{cid}/proof, /assets/move. The models ship; the endpoints do not.