Releases: stellar/stellar-rpc
v22.1.0
v22.1.0
: Protocol 22
Please refer to v22.0.0 for the full major version upgrade summary and detailed changelog.
Added
- A new
getLedgers
method by @aditya1702 in #303
Fixed
getVersionInfo
now correctly returnsbuild_time_stamp
instead ofbuild_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
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
overcommit_hash
.getEvents
now returnscursor
on each event alongside the now-deprecatedpagingToken
field. Please migrate your code to prefercursor
.
Breaking Changes
getLedgerEntry
has been removed; please usegetLedgerEntries
, instead.simulateTransaction
'scost
response field has been removed. The costs can still be retrieved from thetransactionData
field. Specifically,cpuInsns
is the same thing as theinstructions
, andmemBytes
is the same as thereadBytes + writeBytes
.--history-retention-window
is the only way to set retention windows now.
Added
- Support for Protocol 22.
getTransaction
will now return thetxHash
field just likegetTransactions
.
Full list of Changes
- Use
TransactionInfo
withinGetTransactionResponse
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 togetTransaction
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
v22.0.0-rc2
What's Changed
- Use
TransactionInfo
withinGetTransactionResponse
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
- 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
Breaking changes
#277
2daf023
#291
#295
#287
#299
#297
New Contributors
Full Changelog: v21.5.1...v22.0.0-rc2
v21.5.1
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
Full Changelog: v21.5.0...v21.5.1
v21.5.0
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
ifdocker-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
What's Changed
- fix: clippy by @willemneal in #102
- Fix --log-format parsing by @2opremio in #252
Full Changelog: v21.4.0...v21.4.1
v21.4.0
What's Changed
- Add CONTRIBUTING.md by @mollykarcher in #206
- Fix getTransactions method internal error by @2opremio in #209
- fix: return GetTransactionRaw with getTransaction by @willemneal in #213
- Migrate data to new transactions table by @2opremio in #207
- Remove rpc-client crate by @2opremio in #218
- Use commit hash for wait-for-workflows by @2opremio in #221
- Refactor and parallelize integration tests by @2opremio in #216
- use CORE_IMAGE_BIN_PATH on e2e for core image, skip compile by @sreuland in #222
- Add workaround for captive core bug in integration tests by @2opremio in #223
- Enable Golangci-lint by @2opremio in #224
- Refactor GitHub setup-go action by @2opremio in #227
- go: Fix more linter problems by @2opremio in #228
- Disable paralleltest linter by @2opremio in #232
- Unify transaction and event retention windows by @2opremio in #234
- Update stellar/go dep to fix testLogWriter by @tamirms in #235
- Fix ledger range calculation by @aditya1702 in #217
- Refine logging of migrations and tx ingestion by @2opremio in #237
- Fix typo from #237 by @2opremio in #238
- Bump core version to the latest release by @2opremio in #240
New Contributors
- @mollykarcher made their first contribution in #206
Full Changelog: v21.3.0...v21.4.0
21.3.0
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
- Create codeql.yml by @kanwalpreetd in #173
- Add getFeeStats method by @2opremio in #172
- Add new
getTransactions
endpoint and database backend for transactions by @aditya1702 in #174 getTransactions
: Change TxInfo Status to string by @aditya1702 in #187- Bump Rust, Go and Core dependencies by @2opremio in #193
New Contributors
- @kanwalpreetd made their first contribution in #173
Full Changelog: v21.2.0...v21.3.0
21.2.0
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