Releases: blnkfinance/blnk-java
Releases · blnkfinance/blnk-java
Release list
1.5.0 — Core 0.15.4
Aligns the Java SDK error catalogue with Blnk Core 0.15.4.
Maven: com.blnkfinance:blnk-java:1.5.0 — publish to Central Portal is separate; this tag is the source of the release.
Added
BlnkErrorCodesnow mirrors Core's fullerror_detail.codecatalogue, grouped by prefix (GEN_,AUTH_,APIKEY_,TXN_,BAL_,LGR_,ACC_,IDT_,RECON_,META_,HOOK_,QUEUE_,SRCH_,ADMIN_).- Codes to branch on from Core 0.15.4:
TXN_ALREADY_REFUNDED(409),BAL_NOT_FOUND(404),TXN_VALIDATION_ERRORfor split requests that carry bothsourcesanddestinations, andGEN_CONFLICTon multi-leg refund failure. search().multiSearch(MultiSearchParams)for CorePOST /multi-search.ledgers().list()andledgerBalances().list()with optionalListOptions(limit/offset).transactions().list()with the same optionalListOptions(Core default page islimit=20).balanceMonitor().listByBalanceId(balanceId)for CoreGET /balance-monitors/balances/:balance_id.
Unchanged
- Existing constants (
TXN_INVALID_AMOUNT,GEN_CONFLICT,TXN_VALIDATION_ERROR) keep their values; no caller changes are needed.
1.4.0 — Core 0.15.3
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 HTTP200; a projected rejection iswould_apply: false, not an HTTP error. - Typed dry-run responses:
DryRunTransactionResponse,DryRunRejection,DryRunBalanceProjection,DryRunLegProjection, andDryRunBulkTransactionResponse. notes()on both dry-run wrappers for Core advisories (currency mismatch, independent bulk/leg projection). A preview can carry notes whilewould_applyis stilltrue.- Optional
indicator(String)onCreateLedgerBalancefor internal balances withledgerId("general_ledger_id"). - Optional
descriptionandmetaDataonRefundTransactionRequest. BlnkErrorCodes.TXN_INVALID_AMOUNTandBlnkErrorCodes.GEN_CONFLICT.
Confirmed
hooks().list()with no type filter lists every hook (PRE and POST).- Continue using
com.blnkfinance:blnk-java. The olderblnk-sdk:1.3.0remains resolvable; migrate by changing only theartifactId.