Skip to content

1.4.0 — Core 0.15.3

Choose a tag to compare

@ubcodes ubcodes released this 04 Sep 08:37
· 29 commits to main since this release
dd5e5da

Aligns the Java SDK with Blnk Core 0.15.3.

Maven: com.blnkfinance:blnk-java:1.4.0 — publish to Central Portal is separate; this tag is the source of the release.

Added

  • Optional dryRun(boolean) (dry_run) on create, bulk create, refund, inflight update, bulk commit, and bulk void. Previews always return HTTP 200; a projected rejection is would_apply: false, not an HTTP error.
  • Typed dry-run responses: DryRunTransactionResponse, DryRunRejection, DryRunBalanceProjection, DryRunLegProjection, and DryRunBulkTransactionResponse.
  • notes() on both dry-run wrappers for Core advisories (currency mismatch, independent bulk/leg projection). A preview can carry notes while would_apply is still true.
  • Optional indicator(String) on CreateLedgerBalance for internal balances with ledgerId("general_ledger_id").
  • Optional description and metaData on RefundTransactionRequest.
  • BlnkErrorCodes.TXN_INVALID_AMOUNT and BlnkErrorCodes.GEN_CONFLICT.

Confirmed

  • hooks().list() with no type filter lists every hook (PRE and POST).
  • Continue using com.blnkfinance:blnk-java. The older blnk-sdk:1.3.0 remains resolvable; migrate by changing only the artifactId.