Skip to content

Releases: stellar/stellar-rpc

v25.0.1

21 Feb 00:41
d8ec11c

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v25.0.0...v25.0.1

v25.0.0

12 Dec 21:58
9fc81d8

Choose a tag to compare

v25.0.0: Protocol 25

Breaking Changes

  • The RPC client and schema definitions have been moved to the unified Stellar Go SDK. Please install them from there, instead:
go get -u github.com/stellar/go-stellar-sdk/clients/rpcclient
go get -u github.com/stellar/go-stellar-sdk/protocols/rpc

Added

  • Expanded getLatestLedger endpoint to also return closeTime, headerXdr, and metadataXdr (#554).
  • Added soroban-env-host info to version command (#550).
  • Added a new --network configuration parameter, allowing users to specify a default Stellar network (testnet, pubnet, or futurenet) (#540, #543).
  • Simulation has been updated to support Protocol 25 (#548).

Fixed

  • version command now works consistently on MacOS (#550).
  • JSON-RPC methods now accept params: {} (#551).

Contributors

@cjonas9 @Shaptic @jayz22 @tomerweller @tamirms @sreuland

v24.0.0

20 Oct 23:06
f6a584a

Choose a tag to compare

v24.0.0: Protocol 24

Please keep in mind that the initial catch-up may take longer and utilize more memory after an upgrade to this version with a v24 build of Stellar Core.

Breaking Changes

  • Support for Protocol 24.
  • Simulation will only work for transactions built for >= Protocol 23 (#522).

Fixed

  • Misc. code quality improvements.

New Contributors

Full Changelog: v23.0.4...v24.0.0

rpcclient-v24.0.0

21 Oct 19:42
f6a584a

Choose a tag to compare

v24.0.0: Protocol 24

The Go RPC SDK has not experienced any changes since the previous version, this release merely indicates that there is major version compatibility with Protocol 24.

v23.0.4

02 Oct 22:46
7c2b6f3

Choose a tag to compare

v23.0.4

Fixed

  • The simulation library has been upgraded with bug fixes (#515).

v23.0.3

12 Sep 23:52
f8a2da1

Choose a tag to compare

v23.0.3

WARNING: This release includes a database migration. This migration may take up to an hour to build new indices, depending on your hardware; please deploy accordingly.

Fixed

  • getLedgers performance has been improved (#505).
  • getEvents performance has been drastically improved (#510).

Contributors

Full Changelog: v23.0.2...v23.0.3

rpcclient-v23.1.0

12 Sep 23:53
872601f

Choose a tag to compare

v23.1.0

Added

  • The RPC's Client now has a new method LoadAccount which returns an SDK-compatible Account interface for a public key (#481).

Full Changelog: rpcclient-v23.0.0...rpcclient-v23.1.0

v23.0.2

29 Aug 23:37
d7c36b1

Choose a tag to compare

What's Changed

  • Add more fine-grained ingestion metrics by @tamirms in #498
  • Don't pre-create stateChanges to avoid empty structures for no-op changes by @Shaptic in #506

Full Changelog: v23.0.1...v23.0.2

v23.0.1

22 Aug 22:24
2f22576

Choose a tag to compare

What's Changed

Full Changelog: v23.0.0...v23.0.1

v23.0.0

14 Aug 16:21
f7600e8

Choose a tag to compare

v23.0.0: Protocol 23 Release

Breaking Changes

  • Support for Protocol 23, notably TransactionMetaV4 and LedgerCloseMetaV2, see stellar-xdr@v23.0 for the full protocol schema.
  • The getLedgerEntry endpoint has been removed. This endpoint was already deprecated earlier in favor of getLedgerEntries and is completely removed in this release.
  • The pagingToken field of getEvents results has been removed, use the id field for individual events or cursor at the top level for pagination (#382).
  • The snake_cased fields of getVersionInfo have been removed (commit_hash, etc.); prefer the camelCased versions (#382).
  • Diagnostic events will no longer be present in the getEvents stream (#4590).

Deprecations

  • The inSuccessfulContractCall field of getEvents is now deprecated and will be removed in the next version (#4590).

Added

  • You can now use an external datastore as a source for getLedgers (#437).
  • Transactions that have expired footprints will now auto-restore in their simulation result (#463).
  • Added a top-level "events" structure to the getTransaction and getTransactions endpoint which breaks down events into disjoint contractEvents[Xdr|Json] and transactionEvents[Xdr|Json] (#455).
  • Added "**" wildcard to the getEvents endpoint, enabling flexible topic matching without manual padding. For example, ["X", "**"] filter matches events with "X" as the first topic followed by any number of topics. The wildcard can be used only as the last or only topic (#419).
  • Added a field to getLedgerEntries results, the extension[Xdr|Json] field representing the LedgerEntry's extension (#388).
  • Added support for non-root authorization to simulateTransaction with a new, optional parameter authMode which can be enforce, record, and record_allow_nonroot (#432).
  • getEvents now includes an opIndex for each event (#383).
  • Added missing ledger range fields to getEvents, namely oldestLedger, latestLedgerCloseTime, and oldestLedgerCloseTime to correspond to all other endpoints (#409).
  • getLedgerEntries now uses RPC's internal Captive Core's high-performance HTTP server rather than storing entries locally in sqlite (#353).

Fixed

  • Event topic filters can now serialize and deserialize correctly (#427, #449).
  • Fixed a potential scenario where getLedgers would crash with invalid parameters (#407).
  • Various scenarios where memory could leak have been fixed (#474, #472).
  • The simulation library behind simulateTransaction has been updated to Protocol 23 (#484).

Contributors

Full Changelog: v22.1.5...v23.0.0