Soroban

Latest version: v0.8.0

Safety actively analyzes 638396 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

20.1.0

Soroban RPC
Added
* Configurable budget instruction leeway https://github.com/stellar/soroban-tools/pull/1131
Fixed
* Update dependency checker https://github.com/stellar/soroban-tools/pull/1129

Soroban CLI
Added
* Support multi-auth workflows in typescript bindings https://github.com/stellar/soroban-tools/pull/1034
Fixed
* Replace cli xdr command with stellar-xdr cli https://github.com/stellar/soroban-tools/pull/1135
* Update typescript bindings for latest versions https://github.com/stellar/soroban-tools/pull/1122
* Warn about RC versions only when using pubnet https://github.com/stellar/soroban-tools/pull/1108

Full Changelog
https://github.com/stellar/soroban-tools/compare/v20.0.2...v20.1.0

20.0.2

Soroban RPC
Added
* increased preflight instruction fee padding to 3 million https://github.com/stellar/soroban-tools/pull/1127

Soroban CLI
* no changes



Full Changelog
https://github.com/stellar/soroban-tools/compare/v20.0.1...v20.0.2

20.0.1

Soroban CLI hotfix

Fixes
- Use proper ledger data type for events command (https://github.com/stellar/soroban-tools/pull/1119/commits/456f7dcd9e700114c3f6345c7a5cc1bdf08f7744 & https://github.com/stellar/soroban-tools/pull/1119/commits/3a52e83f831fe272dfca5ca155af7b9982ed9651)

20.0.0

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

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

Soroban CLI
Added
* Allow fetching contract from network https://github.com/stellar/soroban-tools/pull/836
* Each generated contract method adds <contract-arg>-file-path https://github.com/stellar/soroban-tools/pull/833
* Add two new output types for `contract inspect` https://github.com/stellar/soroban-tools/pull/829
* Add `config identity fund` to fund accounts on networks https://github.com/stellar/soroban-tools/pull/828
* Add Auth-next signing support https://github.com/stellar/soroban-tools/pull/749
* Add `dotenv` so directories can now set CLI args https://github.com/stellar/soroban-tools/pull/894
* Add `key::Args` and `FullLedgerEntry`/`FullLedgerEntries` https://github.com/stellar/soroban-tools/pull/981
* Remove sandbox https://github.com/stellar/soroban-tools/pull/997
* Add Assembled Transaction that handle preparing transaction post simulation https://github.com/stellar/soroban-tools/pull/1049


Fixed
* `Make` aliases visible in help doc https://github.com/stellar/soroban-tools/pull/848
* Fix `--cost` flag https://github.com/stellar/soroban-tools/pull/911
* Set the exit code to 1 in case of an error https://github.com/stellar/soroban-tools/pull/923
* Return an error once `contract read` is unable to read any entry. https://github.com/stellar/soroban-tools/pull/924
* Wrap token no longer fails with valid inputs in sandbox mode https://github.com/stellar/soroban-tools/pull/936
* `fund` command now can accept a public strkey https://github.com/stellar/soroban-tools/pull/1020
* Warn or Error When Deploying Contracts Compiled with RC Version of Soroban SDK https://github.com/stellar/soroban-tools/pull/1061
* Print help if custom CLI is empty & replace unwrap where possible https://github.com/stellar/soroban-tools/pull/1068
* Fix various typescript bindings https://github.com/stellar/soroban-tools/pull/1066
* Make output consistent for all ways to get version https://github.com/stellar/soroban-tools/pull/1100


New Contributors
* aditya1702 made their first contribution in https://github.com/stellar/soroban-tools/pull/1024
* urvisavla made their first contribution in https://github.com/stellar/soroban-tools/pull/1058
* elizabethengelman made their first contribution in https://github.com/stellar/soroban-tools/pull/1066

**Full Changelog**: https://github.com/stellar/soroban-tools/compare/v0.9.5...v20.0.0

v20.0.0-rc.4.2
Soroban CLI

Fixed
- [Freighter TypeScript bindings](https://github.com/stellar/soroban-tools/pull/1066)
- [Print help if custom CLI is empty & replace unwrap where possible](https://github.com/stellar/soroban-tools/pull/1068)

Improved
- [Assembled Transaction that handle preparing transaction post simulation](https://github.com/stellar/soroban-tools/pull/1049)

Changed
- [Warn or Error When Deploying Contracts Compiled with RC Version of Soroban SDK](https://github.com/stellar/soroban-tools/pull/1061)

**Full Changelog**: https://github.com/stellar/soroban-tools/compare/v20.0.0-rc.4.1...v20.0.0-rc.4.2

v20.0.0-rc.4.1
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](https://soroban.stellar.org/docs/getting-started/create-an-app) 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:

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


Instead, this:

ts
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](https://github.com/stellar/js-soroban-client/releases/tag/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**: https://github.com/stellar/soroban-tools/compare/v20.0.0-rc4...v20.0.0-rc.4.1

20.0.0rc4

**Full Changelog**: https://github.com/stellar/soroban-tools/compare/v20.0.0-rc3...v20.0.0-rc4

20.0.0rc3

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**: https://github.com/stellar/soroban-tools/compare/v20.0.0-rc2...v20.0.0-rc3

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.