Skip to content

Releases: stellar/stellar-rpc

v22.1.0

13 Nov 21:08
c7e9737
Compare
Choose a tag to compare

v22.1.0: Protocol 22

Please refer to v22.0.0 for the full major version upgrade summary and detailed changelog.

Added

Fixed

  • getVersionInfo now correctly returns build_time_stamp instead of build_timestamp by @Shaptic in #327
  • The maximum event cursor was overflowing by @Shaptic in #325

Contributors

Full Changelog: v22.0.0...v22.1.0

v22.0.0

07 Nov 21:17
7d5c6e5
Compare
Choose a tag to compare

v22.0.0: Protocol 22

This release introduces a number of breaking changes and also deprecates fields that will be removed in the future. In order to facilitate a smooth transition, so that clients connecting with a v2N SDK to a v2(N+1) RPC are not interrupted, deprecated fields are phased out over the course of a major version.

Deprecated

  • getVersionInfo now prefers camelCase over snake_case. For one major version, the endpoint will return both variants: please migrate your code to prefer camelCase, e.g., commitHash over commit_hash.
  • getEvents now returns cursor on each event alongside the now-deprecated pagingToken field. Please migrate your code to prefer cursor.

Breaking Changes

  • getLedgerEntry has been removed; please use getLedgerEntries, instead.
  • simulateTransaction's cost response field has been removed. The costs can still be retrieved from the transactionData field. Specifically, cpuInsns is the same thing as the instructions, and memBytes is the same as the readBytes + writeBytes.
  • --history-retention-window is the only way to set retention windows now.

Added

  • Support for Protocol 22.
  • getTransaction will now return the txHash field just like getTransactions.

Full list of Changes

  • Use TransactionInfo within GetTransactionResponse by @Shaptic in #251
  • Cleanup old retention window and upgrade history-retention-window by @psheth9 in #277
  • Remove deprecated getLedgerEntry endpoint by @aditya1702 in #276
  • Add build-stellar-rpc in makefile by @psheth9 in #296
  • simulate-transaction: remove confusing Cost field in response by @2opremio in #295
  • Add cursor in GetEventResponse by @psheth9 in #287
  • Add hash to getTransactions response by @aditya1702 in #299
  • Update docker file to build 2 images based on BINARY_NAME by @psheth9 in #300
  • Remove pagingToken from getEvents by @psheth9 in #297
  • Support two sorobans for preflight by @graydon in #264
  • Protocol 22 Breaking changes by @2opremio in #280
  • Use docker build TAG if supplied by @2opremio in #309
  • Add test creating a contract with constructor by @2opremio in #311
  • Bump Core version to 22rc2 by @2opremio in #312
  • protocol22: Bump Rust dependencies by @2opremio in #316
  • Add back in Protocol 22 non-breaking changes for a transition period by @Shaptic in #317
  • Add txHash field to getTransaction after upstream merge by @Shaptic in #314
  • protocol22: Bump rs-soroban-env to rc3 by @2opremio in #318
  • Bump integration test references to Core's RC3 image by @Shaptic in #322
  • protocol22: Bump dependencies to stable 22.0.0 by @2opremio in #324
  • Protocol 22 support: XDR, deprecated API changes, new fields by @2opremio in #308

Contributors

Full Changelog: v21.5.1...v22.0.0

v22.0.0-rc3

29 Oct 19:25
c50a300
Compare
Choose a tag to compare
v22.0.0-rc3 Pre-release
Pre-release

What's Changed

  • Add back in Protocol 22 non-breaking changes for a transition period by @Shaptic in #317
  • Add txHash field to getTransaction after upstream merge by @Shaptic in #314
  • protocol22: Bump rs-soroban-env to rc3 by @2opremio in #318

Full Changelog: v22.0.0-rc2...v22.0.0-rc3

v22.0.0-rc2

15 Oct 01:16
a26c6be
Compare
Choose a tag to compare
v22.0.0-rc2 Pre-release
Pre-release

What's Changed

Breaking changes

#277
2daf023
#291
#295
#287
#299
#297

New Contributors

Full Changelog: v21.5.1...v22.0.0-rc2

v21.5.1

16 Sep 21:06
b17d430
Compare
Choose a tag to compare

Please keep in mind the Migration Warning from the previous minor version release (v21.5.0) still applies if you are coming from v21.4.x.

What's Changed

  • Update simulateTransaction fields to properly omit fields when empty by @Shaptic in #291

Full Changelog: v21.5.0...v21.5.1

v21.5.0

11 Sep 15:57
5debaf0
Compare
Choose a tag to compare

Migration warning

Upgrading to this version will trigger a one-time migration from in-memory events storage to DB backed events.

For 1-day retention window (17280 ledgers), the migration takes approximately 20-25 mins on a machine having 4 vCPUs and 8 GB RAM.

What's Changed

  • Refactor getVersionInfo and getNetwork RPC to not use HTTP endpoint /info on core by @psheth9 in #198
  • Add CI concurrency group for some workflows by @mollykarcher in #255
  • Break getTransactionsByLedgerSequence into smaller sub-functions by @aditya1702 in #244
  • Add framework for converting XDR structures to JSON by @Shaptic in #249
  • Update changelog with latest version changes. by @Shaptic in #265
  • Events db backend by @psheth9 in #230
  • Simplify logging code: WithFields -> WithField by @Shaptic in #272
  • Correctly omit transactionData field when transaction simulation fails by @Shaptic in #271
  • itests: use docker compose if docker-compose is unavailable by @2opremio in #279
  • Improve startup by eliminating unnecessary migration ranges by @Shaptic in #282
  • Optimise db performance of GetLedgerRange by @aditya1702 in #256
  • Fix lint error in /methods and remove usage of internal error package by @psheth9 in #285
  • Fix RPC linting by @aditya1702 in #286
  • Bump horizon to latest release tag by @aditya1702 in #290

Full Changelog: v21.4.1...v21.5.0

v21.4.1

17 Jul 18:16
de7b040
Compare
Choose a tag to compare

What's Changed

Full Changelog: v21.4.0...v21.4.1

v21.4.0

10 Jul 14:22
dbb390c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v21.3.0...v21.4.0

21.3.0

03 Jun 23:34
8a3c57c
Compare
Choose a tag to compare
21.3.0 Pre-release
Pre-release

Migration warning

Upgrading to this version will truncate the transactions history.

The new getTransactions new database backend doesn't yet implement migration from the existing data.

Migration will be implemented in 21.4.0, so please skip this version if history truncation is not tolerable.

What's Changed

New Contributors

Full Changelog: v21.2.0...v21.3.0

21.2.0

16 May 17:58
4bb5f9b
Compare
Choose a tag to compare

What's Changed

  • Fix ledgerentry benchmarks by @2opremio in #175
  • Add the first Soroban RPC changelog by @Shaptic in #176
  • bugfix: Supply captive core path for toml generation by @2opremio in #178
  • Bump Core version to 21.0.0rc2 by @2opremio in #177
  • Bump stellar/go to enable ENABLE_DIAGNOSTICS_FOR_TX_SUBMISSION by default by @2opremio in #179

Full Changelog: v21.1.0...v21.2.0