Releases: stellar/rs-soroban-env
Releases · stellar/rs-soroban-env
20.1.0
What's Changed
- Add test where allowance is only live for 1 ledger by @sisuresh in #1295
- Improve cost model fitting for better lower-range accuracy by @jayz22 in #1293
- Bad wasm tests by @jayz22 in #1298
- Update test-wasms to use release sdk/env and add contract that can transfer using the SAC by @sisuresh in #1299
- Fuzz improvements by @graydon in #1296
- Exclude observations by @sisuresh in #1301
- Add some byte literals to fuzz input args by @graydon in #1303
- Bump version to 20.0.1 by @github-actions in #1304
- Improve error for missing signatures. by @dmkozh in #1306
- Bump cackle-action to 0.7.0 to support debuginfo changes in rust 1.75 by @graydon in #1317
- 20.1.0 cleanup by @dmkozh in #1314
Full Changelog: v20.0.0...v20.1.0
20.0.2
What's Changed
Full Changelog: v20.0.1...v20.0.2
20.0.1
What's Changed
- Update stellar-xdr to v20.0.2 by @leighmcculloch in #1305
Full Changelog: v20.0.0...v20.0.1
20.0.0
What's Changed
- Make
RecordedAuthPayload
consistently returnNone
for invoker. by @dmkozh in #900 - Expiration-related fixes by @dmkozh in #899
- Turn dynamic borrow panics into HostErrors by @graydon in #925
- Use Ed25519 verify_strict function rather than just verify, fix #857 by @graydon in #927
- Misc int32 issues by @graydon in #926
- Enforce object handle integrity when inserting into containers, fix #569 by @graydon in #928
- Add testcase for out-of-order scmaps, fix #223. by @graydon in #929
- Add a function to compute the rent fee. by @dmkozh in #905
- Use host.err for auth error by @sisuresh in #931
- Add a smoke test for recording auth for create contract host fn. by @dmkozh in #932
- Stop treating storage errors as missing entries by @sisuresh in #934
- Refactor authorization manager to only maintain mutable borrow on minimal amount of fields by @dmkozh in #938
- Bump xdr by @sisuresh in #943
- Add rent bumps to the SAC by @sisuresh in #936
- Add is_admin function by @sisuresh in #933
- Bump xdr by @dmkozh in #944
- Add function to compute the write fee based on the ledger size. by @dmkozh in #941
- Prohibit using disjoint signatures to cover the auth tree. by @dmkozh in #942
- Enforce
DepthLimiter
in theHost
to avoid stack overflow by @jayz22 in #904 - Relative objects in wasm by @graydon in #947
- Adapt to ResourceLimiter, replacing mem_fuel metering by @jayz22 in #950
- Make
del_contract_data
no-op for removing non-existent instance storage key. by @dmkozh in #951 - Add "tracy" feature to enable Tracy profiler, with some basic annotat… by @graydon in #952
- Update host to account for the XDR changes. by @dmkozh in #954
- Update rust-version by @github-actions in #948
- Adapt to SCError change to be an enum, with ContractError(u32) by @graydon in #955
- Make some host errors non-recoverable in
try_call
. by @dmkozh in #945 - Fix panic-string-logging code path broken by recent dynamic-borrow fix. by @graydon in #960
- Add
soroban-bench-utils
, add benchmark tests to measure metering accuracy by @jayz22 in #956 - Bump env xdr and do the fee library changes corresponding to config changes by @dmkozh in #965
- Bump env xdr by @dmkozh in #966
- Remove event topic limits by @jayz22 in #959
- Bump env xdr by @dmkozh in #969
- Unify/fix expiration bump logic in host. by @dmkozh in #957
- Add new tests for error escalation from contract calls. by @graydon in #967
- Add a helper that invokes a host function 'end-to-end' by @dmkozh in #964
- Add helpers for container bulk init; applies to auth metering by @jayz22 in #975
- Switch some auth errors from
Internal
toInvalidInput
. by @dmkozh in #976 - Enable post-MVP WASM ops (sign-ext and mutable-globals), fix #968. by @graydon in #979
- More token tests by @sisuresh in #974
- Alloc example by @graydon in #972
- mop up some residual uses of format strings in errors (no longer supported) by @graydon in #961
- Add wasm for upgrade write-bytes contract by @sisuresh in #983
- Scale the linear cost model coefficient; improve model fitting by @jayz22 in #982
- Error if bumping past max_entry_expiration and and host function to retrieve max_entry_expiration by @sisuresh in #985
- Make
has
checks to properly populate the storage map in recording mode by @dmkozh in #986 - Clean up budget cost types by @jayz22 in #984
- Add debug events to storage error reporting. by @dmkozh in #987
- Switch to stable rust-analyzer in CI by @jayz22 in #988
- add some comments and tests to env-common/symbol.rs by @graydon in #990
- Upgrade dalek crates to new stable versions. by @graydon in #993
- Add an option to return an error when encountering non-root auth in recording mode. by @dmkozh in #991
- Reject env.json if there are duplicate export names, fix #189 by @graydon in #994
- Tighten signature of unchecked_visit_val_obj, fix #595 by @graydon in #997
- Tighten dependencies further by @graydon in #999
- Fix incorrect argument name by @dmkozh in #1000
- Bump env xdr by @dmkozh in #1003
- Tighten up
Map
andVector
and metering coverage by @jayz22 in #1001 - Store dummy instance for test contracts. by @dmkozh in #1005
- Update XDR to take change that removes SCSpecTypeSet by @graydon in #1009
- Fix comparison in Tag::is_object by @brson in #1012
- Fix calibration due to delak change by @jayz22 in #1004
- Charge write fees for expiration entry bumps. by @dmkozh in #1010
- Reduce the expiration entry write size. by @dmkozh in #1016
- Refactor host to support the new expiration ledger approach. by @dmkozh in #1015
- Add lifetime threshold by @sisuresh in #1014
- Enable build workflow for merge groups by @leighmcculloch in #1018
- Remove key size from rent change computation. by @dmkozh in #1019
- Take change from txSOROBAN_RESOURCE_LIMIT_EXCEEDED to txSOROBAN_INVALID by @graydon in #1022
- Add ExpirationEntry support by @sisuresh in #1023
- Add git rev dep check to ci by @leighmcculloch in #1025
- Fix encode contract events metering by @jayz22 in #1026
- trim deps by @graydon in #1031
- Reject vals with invalid tags, fix #1029 by @graydon in #1033
- host: fix EXPIRATION_ENTRY_SIZE constant by @2opremio in #1034
- Avoid iloop externalizing diagnostics for invalid references by @brson in #1028
- Add "coverage" Makefile target for lcov.info, add a test that extends coverage by @graydon in #1038
- Fix asset-code rendering in native contract. by @graydon in #1041
- Fix rent changes extraction bug by @jayz22 in #1043
- Graydon code review by @graydon in #1044
- Jay code review by @jayz22 in #1045
- Bump xdr and use curr instead of next by @sisuresh in #1048
- Trivial xdr bump by @sisuresh in #1050
- Tighten wasm interface version checks, and do on upload. Fix #1052. by @graydon in #1053
- Update wasmi to 0.31.0-soroban by @jayz22 in #1054
- Bump version to 20.0.0-rc1 by @github-actions in #1055
- Add "next" feature to crates using xdr directly or indirectly by @graydon in https://github.com/stellar/r...
20.0.0-rc2
What's Changed
Full Changelog: v20.0.0-rc1...v20.0.0-rc2
20.0.0-rc1
What's Changed
- Make
RecordedAuthPayload
consistently returnNone
for invoker. by @dmkozh in #900 - Expiration-related fixes by @dmkozh in #899
- Turn dynamic borrow panics into HostErrors by @graydon in #925
- Use Ed25519 verify_strict function rather than just verify, fix #857 by @graydon in #927
- Misc int32 issues by @graydon in #926
- Enforce object handle integrity when inserting into containers, fix #569 by @graydon in #928
- Add testcase for out-of-order scmaps, fix #223. by @graydon in #929
- Add a function to compute the rent fee. by @dmkozh in #905
- Use host.err for auth error by @sisuresh in #931
- Add a smoke test for recording auth for create contract host fn. by @dmkozh in #932
- Stop treating storage errors as missing entries by @sisuresh in #934
- Refactor authorization manager to only maintain mutable borrow on minimal amount of fields by @dmkozh in #938
- Bump xdr by @sisuresh in #943
- Add rent bumps to the SAC by @sisuresh in #936
- Add is_admin function by @sisuresh in #933
- Bump xdr by @dmkozh in #944
- Add function to compute the write fee based on the ledger size. by @dmkozh in #941
- Prohibit using disjoint signatures to cover the auth tree. by @dmkozh in #942
- Enforce
DepthLimiter
in theHost
to avoid stack overflow by @jayz22 in #904 - Relative objects in wasm by @graydon in #947
- Adapt to ResourceLimiter, replacing mem_fuel metering by @jayz22 in #950
- Make
del_contract_data
no-op for removing non-existent instance storage key. by @dmkozh in #951 - Add "tracy" feature to enable Tracy profiler, with some basic annotat… by @graydon in #952
- Update host to account for the XDR changes. by @dmkozh in #954
- Update rust-version by @github-actions in #948
- Adapt to SCError change to be an enum, with ContractError(u32) by @graydon in #955
- Make some host errors non-recoverable in
try_call
. by @dmkozh in #945 - Fix panic-string-logging code path broken by recent dynamic-borrow fix. by @graydon in #960
- Add
soroban-bench-utils
, add benchmark tests to measure metering accuracy by @jayz22 in #956 - Bump env xdr and do the fee library changes corresponding to config changes by @dmkozh in #965
- Bump env xdr by @dmkozh in #966
- Remove event topic limits by @jayz22 in #959
- Bump env xdr by @dmkozh in #969
- Unify/fix expiration bump logic in host. by @dmkozh in #957
- Add new tests for error escalation from contract calls. by @graydon in #967
- Add a helper that invokes a host function 'end-to-end' by @dmkozh in #964
- Add helpers for container bulk init; applies to auth metering by @jayz22 in #975
- Switch some auth errors from
Internal
toInvalidInput
. by @dmkozh in #976 - Enable post-MVP WASM ops (sign-ext and mutable-globals), fix #968. by @graydon in #979
- More token tests by @sisuresh in #974
- Alloc example by @graydon in #972
- mop up some residual uses of format strings in errors (no longer supported) by @graydon in #961
- Add wasm for upgrade write-bytes contract by @sisuresh in #983
- Scale the linear cost model coefficient; improve model fitting by @jayz22 in #982
- Error if bumping past max_entry_expiration and and host function to retrieve max_entry_expiration by @sisuresh in #985
- Make
has
checks to properly populate the storage map in recording mode by @dmkozh in #986 - Clean up budget cost types by @jayz22 in #984
- Add debug events to storage error reporting. by @dmkozh in #987
- Switch to stable rust-analyzer in CI by @jayz22 in #988
- add some comments and tests to env-common/symbol.rs by @graydon in #990
- Upgrade dalek crates to new stable versions. by @graydon in #993
- Add an option to return an error when encountering non-root auth in recording mode. by @dmkozh in #991
- Reject env.json if there are duplicate export names, fix #189 by @graydon in #994
- Tighten signature of unchecked_visit_val_obj, fix #595 by @graydon in #997
- Tighten dependencies further by @graydon in #999
- Fix incorrect argument name by @dmkozh in #1000
- Bump env xdr by @dmkozh in #1003
- Tighten up
Map
andVector
and metering coverage by @jayz22 in #1001 - Store dummy instance for test contracts. by @dmkozh in #1005
- Update XDR to take change that removes SCSpecTypeSet by @graydon in #1009
- Fix comparison in Tag::is_object by @brson in #1012
- Fix calibration due to delak change by @jayz22 in #1004
- Charge write fees for expiration entry bumps. by @dmkozh in #1010
- Reduce the expiration entry write size. by @dmkozh in #1016
- Refactor host to support the new expiration ledger approach. by @dmkozh in #1015
- Add lifetime threshold by @sisuresh in #1014
- Enable build workflow for merge groups by @leighmcculloch in #1018
- Remove key size from rent change computation. by @dmkozh in #1019
- Take change from txSOROBAN_RESOURCE_LIMIT_EXCEEDED to txSOROBAN_INVALID by @graydon in #1022
- Add ExpirationEntry support by @sisuresh in #1023
- Add git rev dep check to ci by @leighmcculloch in #1025
- Fix encode contract events metering by @jayz22 in #1026
- trim deps by @graydon in #1031
- Reject vals with invalid tags, fix #1029 by @graydon in #1033
- host: fix EXPIRATION_ENTRY_SIZE constant by @2opremio in #1034
- Avoid iloop externalizing diagnostics for invalid references by @brson in #1028
- Add "coverage" Makefile target for lcov.info, add a test that extends coverage by @graydon in #1038
- Fix asset-code rendering in native contract. by @graydon in #1041
- Fix rent changes extraction bug by @jayz22 in #1043
- Graydon code review by @graydon in #1044
- Jay code review by @jayz22 in #1045
- Bump xdr and use curr instead of next by @sisuresh in #1048
- Trivial xdr bump by @sisuresh in #1050
- Tighten wasm interface version checks, and do on upload. Fix #1052. by @graydon in #1053
- Update wasmi to 0.31.0-soroban by @jayz22 in #1054
- Bump version to 20.0.0-rc1 by @github-actions in #1055
New Contributors
- @2opremio made their first contribution in https://github.com/stellar/rs-soroban-e...
0.0.17
What's Changed
- Move a bunch of code out of host, reorg modules slightly. by @graydon in #798
- Remove temp storage, fixes #758 by @graydon in #799
- Bump xdr by @sisuresh in #804
- Anti features by @graydon in #805
- Err reform by @graydon in #806
- Some further cleanups to diagnostic events by @graydon in #813
- Bump xdr by @sisuresh in #816
- Enforce AUTH_REVOCABLE on contract balances by @sisuresh in #811
- Implement PRNG subsystem (round 2) by @graydon in #802
- Remove incorrect debug_assert from ed25519_pub_key_from_bytes by @brson in #819
- Support Auth Next for host fns by @dmkozh in #823
- Bump xdr by @dmkozh in #828
- Update rust-version by @github-actions in #831
- Switch to wasmi native fuel metering by @jayz22 in #815
- Fix
get_authenticated_authorizations
test utility. by @dmkozh in #833 - Change authentication contract errors to be auth errors. by @dmkozh in #836
- Improve
VmInstantiation
calibration by @jayz22 in #825 - Update storage interface for state expiration by @sisuresh in #820
- Update README.md by @graydon in #842
- Implement contract expiration bumps by @sisuresh in #843
- Calibrate wasmi fuel and tiered wasm instructions by @jayz22 in #844
- Bump env XDR by @dmkozh in #849
- Implement TryFrom<&Error> for ScVal by @brson in #846
- Provide host function for authorizing deep contract calls from current contract by @dmkozh in #840
- Switch auth from autoincrement nonces to temporary random values. by @dmkozh in #848
- Fix metering for internal events by @jayz22 in #850
- Return strings for name/symbol and use strkey for issuer. by @sisuresh in #852
- Remove Mergeable and rename Exclusive to Persistent by @sisuresh in #855
- Add secp256k1 and keccak256 host functions by @graydon in #839
- Add host functions for returning contract ids by @jayz22 in #853
- Fix comparisons by @sisuresh in #847
- Rename rawval to val by @graydon in #862
- Enforce readonly footprint on bump by @sisuresh in #864
- Add host functions for {u,i}256 arithmetics by @jayz22 in #856
- More raw to val by @graydon in #865
- Support
Timepoint
,Duration
by @jayz22 in #866 - bump xdr by @sisuresh in #867
- Check map order when rebuilding from exact iter by @graydon in #870
- Updates for contract instance related XDR changes. by @dmkozh in #874
- Change StorageType to Just Be An Enum by @graydon in #873
- Bump xdr for RestoreFootprintOp by @sisuresh in #885
- Bump xdr for rename by @sisuresh in #888
- Add host function for bumping contract instance by @jayz22 in #875
- Implement contract instance storage in Soroban host. by @dmkozh in #886
- Change [IU]256 arithmetic host functions to take *Val not *Object. by @graydon in #889
- Replace increase and decrease functions with approve by @sisuresh in #887
- Expose bumps by @sisuresh in #890
- Fix calibration tests by @jayz22 in #892
- Change [IU]256 [from,to]_bytes functions to work with Val by @jayz22 in #893
- Bump wasmi version by @jayz22 in #897
- Bump version to 0.0.17 by @github-actions in #898
Full Changelog: v0.0.16...v0.0.17
0.0.16
What's Changed
- Implement the Arbitrary fuzzing trait for contract value-types by @brson in #715
- Introduce temporary storage in Soroban host. by @dmkozh in #732
- Remove unnecessary trait bounds on MeteredVec and MeteredOrdMap by @graydon in #739
- Bump xdr by @sisuresh in #746
- Remove
admin
argument from the token admin interface. by @dmkozh in #750 - Token rename by @sisuresh in #751
- Make all the functions starting with "__" reserved. by @dmkozh in #748
- Comparison fixes by @brson in #762
- Token metadata by @sisuresh in #761
- Add soroban_env_host::host::LegacyEpoch by @graydon in #754
- Adapt {ui}{128,256} to new xdr definitions; add {ui}256 host functions by @jayz22 in #763
- Bump env XDR by @dmkozh in #764
- Add a host function to update the contract Wasm executable. by @dmkozh in #745
- Decouple
CostModel
inputs
fromiterations
; fit and extract model params by @jayz22 in #753 - Don't allow invalid chars in Symbol objects. by @brson in #765
- Bump xdr by @sisuresh in #766
- Update rust-version by @github-actions in #769
- Verify sig order by @sisuresh in #774
- Update host corresponding to fee-related XDR changes by @dmkozh in #775
- Undo pub(crate)ing of fn in host by @leighmcculloch in #776
- Use network configs for metering by @jayz22 in #770
- Versioning update by @graydon in #777
- Allow re-registering over a contract by @leighmcculloch in #780
- Fix event name by @sisuresh in #778
- Update xdr to pick up metering param change by @jayz22 in #782
- Bump xdr version by @jayz22 in #784
- Allow getting top-level authorizations in enforced mode by @leighmcculloch in #783
- Fix unsoundness in RawVal::get_tag by @brson in #773
- Bump env xdr by @dmkozh in #786
- Fix comparison of RawVals of differing types and objectness by @brson in #767
- Expose a list of all auths by @leighmcculloch in #787
- Remove redundant
clone
calls by @dmkozh in #789 - Initial configuration of cargo-deny. by @graydon in #740
- Move to syn2 by @graydon in #792
- Add a library for the fee computation to the host. by @dmkozh in #791
- Fix the cargo-deny matrix in rust.yml by @graydon in #793
- Bump dep on bytes-lit to 0.0.5 to trim dep on syn 1 by @graydon in #794
- Run cargo clippy --fix by @sisuresh in #790
- Fix more clippy-isms, enable clippy in CI and Makefile by @graydon in #796
- Bump version to 0.0.16 by @github-actions in #797
Full Changelog: v0.0.15...v0.0.16
0.0.15
What's Changed
- Remove the unnecessary error events that appeared in non-error scenarios by @dmkozh in #698
- Reform metering for value cloning and memory allocation by @jayz22 in #690
- Provide more test coverage for Auth Next by @dmkozh in #694
- Check issuer clawback flag when new contract balance is created by @sisuresh in #693
- Add a test that covers out-of-order
require_auth
calls. by @dmkozh in #703 - Token name in events by @sisuresh in #705
- Adapt
Storage
andSnapshotSource
to useRc
only. by @jayz22 in #700 - Add host functions to convert addresses to/from account/contract ids. by @dmkozh in #712
- Value and object representation overhaul by @graydon in #682
- Move
InvokerType
from common env to internal host implementation. by @dmkozh in #725 - fix thinko in vec_new_from_linear_memory by @graydon in #726
- Improve safety of custom account contracts by @dmkozh in #722
- Split out
DeclaredSizeForMetering
fromMeteredClone
and use it forCompare
by @jayz22 in #714 - Structured debug events by @sisuresh in #713
- Fix an i128 conversion bug by @graydon in #729
- Use new bulk memory ops for tuples by @graydon in #730
- Update rust-version by @github-actions in #720
- Host budget metering, cost model, calibration changes by @jayz22 in #704
- Publish dry run by @graydon in #733
- Increase memory budget to 50MB by @jayz22 in #737
- Bump version to 0.0.15 by @github-actions in #738
Full Changelog: v0.0.14...v0.0.15