v13.0.0-rc.1: Protocol 22
Breaking Changes
-
Deprecated RPC APIs have been removed (#1084):
simulateTransaction'scostfield is removedgetEventsreturns acursorfield that matchespagingTokenandidgetTransactionsreturns atxHashfield
-
Horizon Server API types: removed fields
transaction_count,base_fee, andbase_reserve(deprecated since v10.0.1) -
SentTransaction.initandnew SentTransactionnow take one (1) argument instead of two (2). The first argument had previously been deprecated and ignored. To update:-SentTransaction(nonsense, realStuff) +SentTransaction(realStuff) -new SentTransaction(nonsense, realStuff) +new SentTransaction(realStuff)
-
SorobanRpcimport, previously deprecated, has been removed. You can importrpcinstead:-import { SorobanRpc } from '@stellar/stellar-sdk' +import { rpc } from '@stellar/stellar-sdk'
As an alternative, you can also import from the
rpcentrypoint:import { Server } from '@stellar/stellar-sdk/rpc'
Added
rpc.Servernow has apollTransactionmethod to retry transaction retrieval (#1092).
Full Changelog: v13.0.0-beta.1...v13.0.0-rc.1