Skip to content

20.0.0-rc2

Compare
Choose a tag to compare
@tsachiherman tsachiherman released this 19 Sep 14:51
· 446 commits to main since this release
1c49aed

v20.0.0-rc2: Protocol 20, Soroban!

Note: This version is currently only compatible with Stellar networks running [email protected], which corresponds to Preview 11, the final Protocol 20 preview (using stellar/stellar-xdr@9ac0264).

Soroban RPC

Added

  • List --network under RPC options (#814)
  • Enforce enabling diagnostics events (#820)
  • simulateTransaction will automatically detect ledger entries which require restoring (#865, #966)
  • simulateTransaction will try to return diagnostic events on failure (#878)
  • getLedgerEntries can query multiple ledger entries at once (#896)
  • getLedgerEntries can set the maximum number of keys to query for (#903)
  • Temporary ledger entry evictions are ingested (#926)

Fixed

  • Support StrKey format for contractIds field in getEvents request (#797)
  • Limit the execution duration of the jrpc requests (#804)
  • Performance fixes and improvements: add writethrough cache for config ledger entries and cache DB results better (#837, #847, #845, #901)
  • Fix ledgerentry visibility bug (#871)
  • Fix simulation sequence number for bump/restore operations (#877)
  • Improve missing command line arguments message (#880)
  • Add missing config settings in ledger entry cache on reads (#885)
  • Fix caching of GetLatestLedgerSequence (#897)
  • Limit request size to 10MB (#898)
  • Limit number of concurrent requests (#799)
  • Improve HTTPRequestDurationLimiter by adding a recover handling (#888)
  • Stream ledgers on initialization (#904)
  • Increase instruction leeway to 20% in preflight (#909)
  • Validate xdr payloads in soroban-rpc requests (#957)
  • Fix double-counting bug (#960)
  • Fix datarace in bufferedResponseWriter.WriteOut (#961)
  • Fix set_authorization_entries bug in preflight (#939)
  • Restore CORS support (#943)

Soroban CLI

Added

  • Add multi-party authorization + signing support (#749)
  • Add two new output types for contract inspect (#829)
  • Add config identity fund to fund accounts on networks (#828)
  • Add restore/bump support with --wash_hash (#824)
  • Allow passing true and false to boolean types (#834)
  • Each generated contract method adds <contract-arg>-file-path (#833)
  • Add dotenv so directories can now set CLI args (#894)
  • Generated TypeScript bindings have significantly improved:
    • Make Wallet injectable (#819)
    • Correct generated README (#823)
    • Allow fetching contract from network (#836)
    • Removed --contract-name, added --overwrite (#849)
    • Require configuring network settings (#852)
    • Leveraging the latest soroban-client (v1.0.0-beta, #964).

Fixed

  • Make aliases visible in help doc (#848)
  • Ensure that the sim events are logged; improve format of main logs (#906)
  • Fix --cost flag (#911)
  • Set the exit code to 1 in case of an error (#923)
  • Return an error once contract read is unable to read any entry (#924)
  • wrap token no longer fails with valid inputs in sandbox mode (#936)

New Contributors

Full Changelog: v0.9.4...v20.0.0-rc2