Releases: stellar/stellar-cli
0.9.0
0.8.7
Soroban-CLI
What's Changed
- fix: use correct url for cargo-binstall by @willemneal in #700
- feat(CLI): move soroban-spec-json/typescipt; add soroban-spec-tools by @willemneal in #702
- Fix publish with new crates by @leighmcculloch in #709
- Reenable Windows builds with fix for publish-dry-run by @leighmcculloch in #699
- feat: upgrade freighter-api to 1.5.0 & soroban-client to 0.8.1 by @chadoh in #708
- rust: fix rust-analyzer testing by @tsachiherman in #712
- fix: allow generated JS libs to use localhost by @chadoh in #711
- Add command for building contracts by @leighmcculloch in #713
- Remove unnecessary rustc options by @leighmcculloch in #714
- Add CODEOWNERS to keep contract committers automatically mentioned on changes to soroban contract build by @leighmcculloch in #715
- Add missing readmes for crates preventing publishing by @leighmcculloch in #718
Soroban-RPC
What's Changed
- pin os version of the rpc dockerfile build stage by @sreuland in #705
- build: update slash direction for windows RPC builds by @tsachiherman in #701
- Add package-based soroban-rpc Dockerfile by @jacekn in #710
New Contributors
Full Changelog: v0.8.5...v0.8.7
0.8.5
Soroban-CLI
What's Changed
- Refactor the bindings command into subcommands and adds a TS project.
- Downloads the bytes of a contract. Print to stdout or write to a file
- Add support for "soroban config network ls -l"
- Return contract Addresses and allow passing hex when used as an contract arg
Full Changelog: v0.8.0...v0.8.5
0.8.0
Soroban-CLI
What's Changed
- Add support for fees
- Add meta output when inspecting contract
- Support passing identity instead of address
- Support token interface changes
Soroban-RPC
What's Changed
- Add support for fees calculations
- Add support for multi-host function invocations
- Print xdr version in dev builds
- Read configuration from toml file.
- Add metrics support
- improve error logging
- add admin endpoint
- add graceful shutdown
Full Changelog: v0.7.0...v0.8.0
0.7.1
See Changelog for 0.7.0 for changes in soroban-rpc, and soroban-cli.
Soroban-Test
- Include a README.md, so the cargo publish works
0.7.0
General
- Support the new xdr.ScVal types, to simplify contract interactions
- Testing infrastructure improvements throughout
Soroban-CLI
Changed
-
When using
invoke, contract function names now come after the--.Old vs new:
-soroban contract invoke [options] --fn hello -- --to World +soroban contract invoke [options] -- hello --to World
This comes with contract-level
--help, which lists all functions in a contract:soroban contract invoke [options] -- --helpIt also works nicely with aliases in your shell:
alias hello="soroban contract invoke [options] --" hello --help -
Replaced
--identity,--secret-key, and--accountflags with single--source-account(alias:--source)Old vs new:
soroban config identity generate alice -soroban contract deploy --identity alice +soroban contract deploy --source alice -soroban contract deploy --secret-key SC36… +soroban contract deploy --source SC36…
The old
--accountoption accepted a public key, and only worked in sandbox. This has been removed, since a public key can be derived from a secret key or seed phrase.You could not use a seed phrase before, but now you can:
+soroban contract deploy --source "kite urban…"Note: don't do this! Including seed phrases and private keys in CLI commands puts them in your shell history file, which can be read by other system processes. It has been included for backwards-compatibility. It is safer to use an identity.
The default identity is the one given by
soroban config identity generate --default-seed.You can still set this using the environment variable
SOROBAN_ACCOUNT.
Added
- When using
invoke ... -- [contract] [method] --help, you'll now get better docs and examples for each argument (by @willemneal in #465) - Automatic comprehensive docs; more extensive long help with
--help; shorter help available with-h(by @chadoh in #518) - Added
soroban --version - Better errors, replacing
Unknown(#469) - Refactor, so that the cli can be imported via the new
soroban-testcrate. This makes testing and using soroban-cli as a library easier.- feat: reorg into a proper library by @willemneal in #443
- feat: add new soroban-test crate by @willemneal in #528
- Update to Clap v4 by @chadoh in #491
- Support for new
diagnostictype events
Fixed
- fix(CLI): string/u/i256 XDR parsing by @willemneal in #529
Soroban-RPC
Changed
- Set a maximum ledger latency in /health method by @2opremio in #461
- Add resultMetaXdr and envelopeXdr back to getTransaction() response by @tamirms in #467
- Support for new
diagnosticcontract events. - Remove 'soroban serve' subcommand (#486)
- Limit preflight-computation concurrency through a worker pool (#488, #489, and #517)
- Miscellaneous fixes by @2opremio in #492
- General improvements to compilation and testing
- Add contract events to simulateTransaction's response by @2opremio in #534
Full Changelog: v0.6.2...v0.7.0
0.6.0
Soroban-CLI
What's Changed
- Add option for running contract with unlimited budget
- Add support for AuthNext
- Add config command
- Add getNetwork support
- Reorganize CLI commands
Soroban-RPC
What's Changed
- Configure default limit, update cursor / startLedger validation, and include latest ledger for getEvents
- Add support for AuthNext
- Fix rollback error in logs
- Add getNetwork command
- Implement event storage
- Implement ledger entry storage
- Refactor db and ingestion packages, add ingestion of LedgerCloseMeta
- Implement simulateTransaction using rust instead of preflight
- Simplify topic matching for events search
Full Changelog: v0.4.0...v0.6.0
0.5.0
Soroban-CLI
What's Changed
- Add option for running contract with unlimited budget
- Add support for AuthNext
- Add config command
- Add getNetwork support
- Reorganize CLI commands
Soroban-RPC
What's Changed
- Configure default limit, update cursor / startLedger validation, and include latest ledger for getEvents
- Add support for AuthNext
- Fix rollback error in logs
- Add getNetwork command
- Implement event storage
- Implement ledger entry storage
- Refactor db and ingestion packages, add ingestion of LedgerCloseMeta
- Implement simulateTransaction using rust instead of preflight
- Simplify topic matching for events search
Full Changelog: v0.4.0...v0.5.0
0.4.0
Soroban-CLI
What's Changed
- Update rust version
- StrValError --> Error and implemented using thiserror
- Use soroban-ledger-snapshot for managing ledger.json
- Use LedgerSnapshot::update to update snapshot instead of unpacking the host and updating ledger info and entries separately.
- Add events subcommand for local and remote event viewing
- Deprecate
token createcommand
Soroban-RPC
What's Changed
- Add GitHub linting for GO code
Full Changelog: v0.3.3...v0.4.0
0.3.3
Soroban-CLI
What's Changed
- Fix apt-get install in publish workflow by @leighmcculloch in #305
Soroban-RPC
No changes.
Full Changelog: v0.3.2...v0.3.3