Repository navigation
This release adds support for Protocol 30.
Update
- feat: support CAP-84 muxed contract addresses (
W...). Like a muxed account (M...), one is only valid as a destination, such as thetoof a SACtransfer. (#827)- New
StrKey.encodeMuxedContract,StrKey.decodeMuxedContract, andStrKey.isValidMuxedContract. The raw form is the 32-byte contract ID followed by the 8-byte big-endian ID (SEP-23). AddressparsesW...and converts it to and fromSCAddressandSCVal(Address.AddressType.MUXED_CONTRACT,Address.fromMuxedContract(byte[])), so return values and events holding one now decode.Scv.toMapsorts them as keys.
- New
- feat: add
contractMuxedandcontractMuxedIdtoContractCreditedEffectResponse, set when a SACtransferormintgoes to aW...address. (#828) - feat: check addresses the Soroban network would reject before building anything:
Authsigns only forG.../C...addresses,SorobanServer.getContractDatatakes aC...and no muxed address in the key, andTransactionBuilder.buildRestoreAssetBalanceEntryTransactiontakes aC...balanceOwner. These now throwIllegalArgumentExceptioninstead of failing at simulation or submission. (#827) - fix:
AssembledTransactionwaits betweengetTransactionpolls (1s, then 1.5× longer each time up to 6s, untilsubmitTimeout) instead of polling continuously, and a network error while polling now propagates asNetworkExceptioninstead of being retried. This coverssubmit,signAndSubmit,restoreFootprint, andContractClient.invoke. (#819) - fix: always encode text as UTF-8 instead of the JVM default charset in
Scv.toString(String),Sep10Challenge,Util.paddedByteArray(String, int), andSorobanServerrequests. (#820) - fix:
StrKey.decodeClaimableBalanceandStrKey.isValidClaimableBalancereject a claimable balance ID whose type byte is not 0, as SEP-23 requires, sonew Address(...)now fails up front for one. (#826) - refactor: deprecate
GetEventsResponse.EventInfo.inSuccessfulContractCall. Stellar RPC no longer returns it (stellar-rpc#1050), so it isnull; it will be removed in 7.0.0. (#825) - chore: upgrade generated XDR definitions to Protocol 30 (CAP-84, CAP-87, CAP-88). (#822)
- chore: update dependencies and build tooling (OkHttp
4.12.1, Gson2.15.0, Bouncy Castle1.86, Commons Codec1.23.0, Gradle9.8.2, Kotlin2.4.21, Spotless plugin8.10.4, Lombok plugin9.8.2, NMCP plugin1.6.2). Bouncy Castle1.86fixes CVE-2026-8763 (critical) and CVE-2026-13506 (high) in the1.84shipped with 5.0.0. (#824)