Releases: stellar/stellar-rpc
Releases · stellar/stellar-rpc
v25.0.1
What's Changed
- batch event inserts to avoid SQLite bind variable limit by @karthikiyer56 in #608
- update changelog by @urvisavla in #609
New Contributors
- @karthikiyer56 made their first contribution in #608
Full Changelog: v25.0.0...v25.0.1
v25.0.0
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/rpcAdded
- Expanded
getLatestLedgerendpoint to also returncloseTime,headerXdr, andmetadataXdr(#554). - Added
soroban-env-hostinfo toversioncommand (#550). - Added a new
--networkconfiguration parameter, allowing users to specify a default Stellar network (testnet,pubnet, orfuturenet) (#540, #543). - Simulation has been updated to support Protocol 25 (#548).
Fixed
versioncommand now works consistently on MacOS (#550).- JSON-RPC methods now accept
params: {}(#551).
Contributors
v24.0.0
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
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
v23.0.3
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
getLedgersperformance has been improved (#505).getEventsperformance has been drastically improved (#510).
Contributors
- @Shaptic @tamirms
- @deepdring made their first contribution in #496
Full Changelog: v23.0.2...v23.0.3
rpcclient-v23.1.0
v23.1.0
Added
- The RPC's
Clientnow has a new methodLoadAccountwhich returns an SDK-compatibleAccountinterface for a public key (#481).
Full Changelog: rpcclient-v23.0.0...rpcclient-v23.1.0
v23.0.2
v23.0.1
What's Changed
- Bump rs-soroban-env to v23.0.1 by @urvisavla in #499
- Update Changelog by @urvisavla in #500
Full Changelog: v23.0.0...v23.0.1
v23.0.0
v23.0.0: Protocol 23 Release
Breaking Changes
- Support for Protocol 23, notably
TransactionMetaV4andLedgerCloseMetaV2, seestellar-xdr@v23.0 for the full protocol schema. - The
getLedgerEntryendpoint has been removed. This endpoint was already deprecated earlier in favor ofgetLedgerEntriesand is completely removed in this release. - The
pagingTokenfield ofgetEventsresults has been removed, use theidfield for individual events orcursorat the top level for pagination (#382). - The
snake_cased fields ofgetVersionInfohave been removed (commit_hash, etc.); prefer thecamelCased versions (#382). - Diagnostic events will no longer be present in the
getEventsstream (#4590).
Deprecations
- The
inSuccessfulContractCallfield ofgetEventsis 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 thegetTransactionandgetTransactionsendpoint which breaks down events into disjointcontractEvents[Xdr|Json]andtransactionEvents[Xdr|Json](#455). - Added
"**"wildcard to thegetEventsendpoint, 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
getLedgerEntriesresults, theextension[Xdr|Json]field representing theLedgerEntry's extension (#388). - Added support for non-root authorization to
simulateTransactionwith a new, optional parameterauthModewhich can beenforce,record, andrecord_allow_nonroot(#432). getEventsnow includes anopIndexfor each event (#383).- Added missing ledger range fields to
getEvents, namelyoldestLedger,latestLedgerCloseTime, andoldestLedgerCloseTimeto correspond to all other endpoints (#409). getLedgerEntriesnow 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
getLedgerswould crash with invalid parameters (#407). - Various scenarios where memory could leak have been fixed (#474, #472).
- The simulation library behind
simulateTransactionhas been updated to Protocol 23 (#484).
Contributors
- @socialsister made their first contribution in #476
- @leighmcculloch @2opremio @urvisavla @Shaptic
Full Changelog: v22.1.5...v23.0.0