Skip to content

20.0.0

Compare
Choose a tag to compare
@stellarsaur stellarsaur released this 06 Dec 20:38
· 388 commits to main since this release
91a441f

Soroban RPC

Added

  • Enforce enabling diagnostics events #820
  • Add getPreflight benchmark and test #692
  • Add write-through cache for config ledger entries #837
  • Cache all ledger entries queried from DB in read transaction #845
  • simulateTransaction automatically detects ledger entries which require restoring #865
  • Add heap profiling endpoints #861
  • Try to return diagnostic events on failure from simulateTransaction #878
  • Add generic panic handing #856
  • Limit request size to 10MB #898
  • getLedgerEntries can query multiple ledger entries at once #896
  • Stream ledgers on initialization #904
  • Set maximum number of keys to query for getLedgerEntries #903
  • Add support for new state expiration ledger entries #913
  • Ingest temp ledger entry evictions #926
  • Lower max http request size #948
  • Set base prng to zero in preflight and invoke #975
  • Exclude temporary expired entries from SnapshotSource in preflight #980
  • Include system events in fee calculation in preflight #986
  • Get expiration ledger sequence at source #916
  • Add a "Building from Source" README.md #1024
  • Flatten the getEvents response structure #1015
  • Enable debug by default for preflight #1064
  • Optimize in-memory transaction store #1063
  • Force On-Disk Mode #1091

Fixed

  • Fix datarace in bufferedResponseWriter.WriteOut #961
  • Fix upsert bug in DB cache #847
  • Fix ledger entry visibility bug #871
  • Fix unwrap() errors in libpreflight due to bugs in the Go<->Rust interface #879
  • Fix simulation sequence number for bump/restore operations #877
  • Improve missing command line arguments message #880
  • Fix caching of GetLatestLedgerSequence #897
  • Ensure that the sim events are logged; improve format of main logs #906
  • Validate xdr payloads in soroban-rpc requests #957
  • Fix double-counting bug in preflight #960
  • Fix potential overflow #1036
  • Fix multi-entry responses for getLedgerEntries method #1093
  • Update jrpc2 version to enable application/json; charset=utf-8 #1095
  • Unify all ledger sequence types to uint32 and stop stringyfying integers < 53-bits wide #1097
  • Restore CORS support #943

Soroban CLI

Added

  • Allow fetching contract from network #836
  • Each generated contract method adds -file-path #833
  • Add two new output types for contract inspect #829
  • Add config identity fund to fund accounts on networks #828
  • Add Auth-next signing support #749
  • Add dotenv so directories can now set CLI args #894
  • Add key::Args and FullLedgerEntry/FullLedgerEntries #981
  • Remove sandbox #997
  • Add Assembled Transaction that handle preparing transaction post simulation #1049

Fixed

  • Make aliases visible in help doc #848
  • 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
  • fund command now can accept a public strkey #1020
  • Warn or Error When Deploying Contracts Compiled with RC Version of Soroban SDK #1061
  • Print help if custom CLI is empty & replace unwrap where possible #1068
  • Fix various typescript bindings #1066
  • Make output consistent for all ways to get version #1100

New Contributors

Full Changelog: v0.9.5...v20.0.0