v3.0.0 - Full Flutter Web Platform Support
·
111 commits
to master
since this release
This release adds full Flutter web platform support by migrating all 64-bit integer types to BigInt.
JavaScript numbers have only 53 bits of integer precision, causing silent data loss for values exceeding 2^53. Since Stellar and Soroban use 64-bit integers extensively (memo IDs, muxed account IDs, sequence numbers, timestamps, durations), BigInt is required for correct behavior on web platforms.
Breaking Changes
Common API
MemoId(id)andMemo.id(id)now requireBigIntMuxedAccount(accountId, id)parameter changed fromint?toBigInt?MuxedAccount.idproperty now returnsBigInt?AccountmuxedAccountMed25519Idparameter changed fromint?toBigInt?AccountResponse.muxedAccountMed25519Idproperty now returnsBigInt?
Soroban Specific
SorobanAddressCredentials.nonceproperty changed frominttoBigIntSorobanCredentials.forAddress(nonce)parameter changed frominttoBigIntXdrSCVal.forU64,forI64,forTimepoint,forDurationnow requireBigInt
XDR Types
XdrInt64.int64andXdrUint64.uint64properties now returnBigIntXdrInt128Parts.forHiLoandXdrUInt128Parts.forHiLohi/lo parameters changed toBigIntXdrInt256PartsandXdrUInt256Partsparameters changed toBigInt
See v3_migration_guide.md for detailed migration patterns and examples.