Skip to content

v3.0.2 Maintenance release: bug fixes, compatibility improvements, and documentation corrections

Latest

Choose a tag to compare

@christian-rogobete christian-rogobete released this 21 Feb 17:10
· 2 commits to master since this release

Bug Fixes

  • SEP-08: Fix RegulatedAssetsService constructor network resolution logic that unconditionally threw when an explicit network parameter was provided. Forward horizonUrl and network from fromDomain() to the constructor.
  • SEP-10: Forward httpRequestHeaders from WebAuth.fromDomain() to the returned instance. Add MissingClientDomainSigningKeyException when clientDomain is provided without a signing key or delegate.
  • SEP-09: Serialize birthDate, idIssueDate, and idExpirationDate as date-only (YYYY-MM-DD) per the SEP-9 specification instead of full ISO 8601 timestamps.
  • SEP-24: Make SEP24Transaction.moreInfoUrl nullable to match the spec and prevent runtime errors when anchors omit the field.
  • SEP-30: Make SEP30ResponseIdentity.role nullable.
  • 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 DeploySACWithSourceAccountHostFunction which used an invalid XDR combination the network no longer accepts. Use DeploySACWithAssetHostFunction instead.
  • Core: Fix AccountResponse.fromJson swapped num_sponsoring/num_sponsored args.
  • Core: Fix contract_spec type inference where Uint8List was matched as List before the Uint8List check.
  • Core: Fix TxRep parser expecting memo.return but encoder writing memo.retHash.
  • Core: Fix ManageSellOffer/ManageBuyOffer offerId precision loss on web platforms.
  • Core: Fix removeTailZero returning empty string for input "0" on web.
  • Web: Extend XDR enum classes with operator==/hashCode to 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.