v3.0.2 Maintenance release: bug fixes, compatibility improvements, and documentation corrections
Latest
·
2 commits
to master
since this release
Bug Fixes
- SEP-08: Fix
RegulatedAssetsServiceconstructor network resolution logic that unconditionally threw when an explicitnetworkparameter was provided. ForwardhorizonUrlandnetworkfromfromDomain()to the constructor. - SEP-10: Forward
httpRequestHeadersfromWebAuth.fromDomain()to the returned instance. AddMissingClientDomainSigningKeyExceptionwhenclientDomainis provided without a signing key or delegate. - SEP-09: Serialize
birthDate,idIssueDate, andidExpirationDateas date-only (YYYY-MM-DD) per the SEP-9 specification instead of full ISO 8601 timestamps. - SEP-24: Make
SEP24Transaction.moreInfoUrlnullable to match the spec and prevent runtime errors when anchors omit the field. - SEP-30: Make
SEP30ResponseIdentity.rolenullable. - Soroban: Fix
needsNonInvokerSigningBy()for non-invoke operations (e.g.RestoreFootprintOperation). It now returns an empty list instead of throwing, matching Java and Python SDK behavior. - Soroban: Remove
DeploySACWithSourceAccountHostFunctionwhich used an invalid XDR combination the network no longer accepts. UseDeploySACWithAssetHostFunctioninstead. - Core: Fix
AccountResponse.fromJsonswappednum_sponsoring/num_sponsoredargs. - Core: Fix
contract_spectype inference whereUint8Listwas matched asListbefore theUint8Listcheck. - Core: Fix TxRep parser expecting
memo.returnbut encoder writingmemo.retHash. - Core: Fix
ManageSellOffer/ManageBuyOfferofferIdprecision loss on web platforms. - Core: Fix
removeTailZeroreturning empty string for input"0"on web. - Web: Extend XDR enum classes with
operator==/hashCodeto fix switch statement failures on web for negative discriminant values. - Web: Remove dead code (
readLong,writeLong,u64BytesHelper,u64BigIntBytesHelper) and unused imports. - KYC: Fix GET request builders not passing custom headers.
Documentation
- Fix incorrect API references across SEP-01, SEP-06, SEP-08, and SEP-24 examples.
- Fix outdated test file path references in SEP-08 and SEP-24 documentation.