Skip to content

Releases: stellar/stellar-cli

20.2.0

12 Jan 01:38
7ee51fa
Compare
Choose a tag to compare

What's Changed

What's Changed

Full Changelog: v20.1.1...v20.2.0

20.1.1

21 Dec 19:47
deb1f7c
Compare
Choose a tag to compare

Soroban CLI

  • TypeScript bindings have been updated to use the latest stellar-sdk #1143

New Contributors

Full Changelog: v20.1.0...v20.1.1

20.1.0

20 Dec 16:46
cd494db
Compare
Choose a tag to compare

Soroban RPC

Added

  • Configurable budget instruction leeway #1131

Fixed

  • Update dependency checker #1129

Soroban CLI

Added

  • Support multi-auth workflows in typescript bindings #1034

Fixed

  • Replace cli xdr command with stellar-xdr cli #1135
  • Update typescript bindings for latest versions #1122
  • Warn about RC versions only when using pubnet #1108

Full Changelog

v20.0.2...v20.1.0

20.0.2

12 Dec 19:41
514406e
Compare
Choose a tag to compare

Soroban RPC

Added

  • increased preflight instruction fee padding to 3 million #1127

Soroban CLI

  • no changes

Full Changelog

v20.0.1...v20.0.2

20.0.1

08 Dec 00:32
Compare
Choose a tag to compare

Soroban CLI hotfix

Fixes

20.0.0

06 Dec 20:38
91a441f
Compare
Choose a tag to compare

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

20.0.0-rc.4.2

20.0.0-rc.4.1

26 Oct 14:24
3fcab5b
Compare
Choose a tag to compare

Soroban CLI

Fixed

  • Clippy --all

Improved

  • Fund command now can accept a public strkey

  • Update typescript bindings

    This is the first update in months and is a BIG change! This brings the experience of generated NPM libraries in line with promotional material that has been shared, such as the pinned soroban-cli version used in Getting Started and @chadoh's talk at Meridian 2023.

    • No more hard-coded RPC, Network Passphrase, and Contract IDs. Instead of importing a flat list of functions, you import a Contract and instantiate it. To make it easier to use the library with the specific contract & network you may have used to generate the library, you can also import a networks object:

      Not this anymore:

      -import { hello } from 'greeter'
      -
      -hello({ to: 'world' })

      Instead, this:

      import { Contract, networks } from 'greeter'
      
      const greeter = new Contract({
        rpcUrl: '…', // Bring your own, or use a public test endpoint: https://soroban.stellar.org/docs/reference/rpc-list
        ...networks.testnet,
        // …or `networks.futurenet`, or `networks.standalone`, or anything the package author added.
        // You can also explicitly set `networkPassphrase` and `contractId` yourself.
      })
      
      greeter.hello({ to: 'world' })
    • Upgrade soroban-client to v1.0.0-beta.2

    • Leverage the new string -> ScVal { ScAddress } capability of nativeToScVal, fixing many conversion bugs in the process

    • Deal with the new SimulateTransactionResponse schema

Changed

  • Remove sandbox

Full Changelog: v20.0.0-rc4...v20.0.0-rc.4.1

20.0.0-rc4

26 Sep 20:05
bce5e56
Compare
Choose a tag to compare

20.0.0-rc3

21 Sep 18:20
7cc2f46
Compare
Choose a tag to compare

Soroban RPC

Fixed

  • preflight: Exclude temporary expired entries from SnapshotSource
  • Set base prng to zero in preflight

Soroban CLI

Fixed

  • Set base prng to zero in invoke

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