Skip to content

v13.0.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@Shaptic Shaptic released this 08 Nov 18:42
· 19 commits to master since this release
cfea8de

v13.0.0-rc.1: Protocol 22

Breaking Changes

  • Deprecated RPC APIs have been removed (#1084):

    • simulateTransaction's cost field is removed
    • getEvents returns a cursor field that matches pagingToken and id
    • getTransactions returns a txHash field
  • Horizon Server API types: removed fields transaction_count, base_fee, and base_reserve (deprecated since v10.0.1)

  • SentTransaction.init and new SentTransaction now 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)
  • SorobanRpc import, previously deprecated, has been removed. You can import rpc instead:

    -import { SorobanRpc } from '@stellar/stellar-sdk'
    +import { rpc } from '@stellar/stellar-sdk'

    As an alternative, you can also import from the rpc entrypoint:

    import { Server } from '@stellar/stellar-sdk/rpc'

Added

  • rpc.Server now has a pollTransaction method to retry transaction retrieval (#1092).

Full Changelog: v13.0.0-beta.1...v13.0.0-rc.1