Releases: stellar/rs-soroban-env
Releases · stellar/rs-soroban-env
0.0.13
What's Changed
- Add auth_required support for non-account balances by @sisuresh in #626
- Reform TryFromVal to reduce number of impls. by @graydon in #628
- Fix override of panic hook during cross-contract testing by @brson in #620
- (minimal) Add EnvBase::Error, remove CheckedEnv, make Env methods return Error by @graydon in #638
- Update rust-version by @github-actions in #642
- Initial Auth Next implementation in Soroban Host by @dmkozh in #645
- Update stellar-xdr (includes specdocs change) by @leighmcculloch in #641
- Add 13-tuple conversions by @brson in #658
- Auth Next followups by @dmkozh in #659
- Do not include
Status
as the first arg of aDebugEvent
by @jayz22 in #646 - Update xdr by @leighmcculloch in #665
- Add a simpler version of
require_auth
by @dmkozh in #669 - Use auth specific errors by @sisuresh in #670
- Emulate classic account authentication in recording auth mode. by @dmkozh in #672
- Change the interface for the auth testing utility. by @dmkozh in #674
- Bump version to 0.0.13 by @github-actions in #675
Full Changelog: v0.0.12...v0.0.13
0.0.12
What's Changed
- Wasm instruction level calibration by @jayz22 in #597
- Delete im by @graydon in #585
- Remove
EnvVal
by @jayz22 in #608 - Fix
first/last_index_of
functions to use deep object comparison by @jayz22 in #612 - Export type aliases for
Storage
andFootprint
; update wasm files by @jayz22 in #611 - Add env.json by @leighmcculloch in #613
- Remove built-in soroban token by @sisuresh in #607
- Update rust-version by @github-actions in #614
- Use single balances in the Stellar Asset Contract by @sisuresh in #615
- Update interface by @sisuresh in #616
- fix comment by @sisuresh in #618
- Remove unnecessary i128 clone by @jayz22 in #619
- Bump version to 0.0.12 by @github-actions in #621
Full Changelog: v0.0.11...v0.0.12
0.0.11
What's Changed
- Upgrade crate-git-revision to 0.0.4 by @brson in #598
- Update stellar-xdr by @leighmcculloch in #601
- Bump version to 0.0.11 by @github-actions in #602
New Contributors
Full Changelog: v0.0.10...v0.0.11
0.0.10
What's Changed
- Fix build by @leighmcculloch in #564
- Update rust-version by @github-actions in #562
- Add Host::with_artificial_test_contract_frame by @leighmcculloch in #565
- Lean on workspace inheritance for deps for development by @leighmcculloch in #568
- Use the current SDK version for test WASMs. by @dmkozh in #571
- Restructure benchmark framework, add calibration code for all
CostType
s. by @jayz22 in #561 - Disable budget costs for object cmp by @jayz22 in #580
- Env changes to decouple contract instance from source (CAP-46-02) by @dmkozh in #572
- Remove BigInt, switch everything to {ui}128. by @graydon in #581
- Add VERSION to the env crates by @leighmcculloch in #588
- Loosen serde requirement by @leighmcculloch in #589
- Update stellar-xdr by @leighmcculloch in #590
- Update soroban-wasmi by @leighmcculloch in #591
- Update stellar-xdr by @leighmcculloch in #593
- Bump version to v0.0.10 by @leighmcculloch in #594
Full Changelog: v0.0.9...v0.0.10
0.0.9
What's Changed
- Disable default-features on stellar-xdr workspace dependency by @leighmcculloch in #559
- Bump version to 0.0.9 by @github-actions in #560
Full Changelog: v0.0.8...v0.0.9
0.0.8
What's Changed
- Fix loan stellar-xdr 0.0.6 version stuck in the past by @leighmcculloch in #557
- Bump version to 0.0.8 by @github-actions in #558
Full Changelog: v0.0.7...v0.0.8
0.0.7
What's Changed
- Metered host object
cmp
by @jayz22 in #527 - Added more test coverage for built-in token. by @dmkozh in #525
- Add initial "hostile contract" and unit test calling it by @jayz22 in #521
- Vm tuning by @graydon in #529
- Update stellar-xdr and get BytesM/StringM by @leighmcculloch in #536
- Overhaul calibration benchmarks by @graydon in #539
- Add token events by @jayz22 in #523
- Update CODEOWNERS by @leighmcculloch in #540
- Correct / tidy up / comment calibration code. by @graydon in #542
- Synth wasm by @graydon in #546
- Catch panics from native contracts in try_call, fix #430 by @graydon in #548
- Improved built-in token error reporting. by @dmkozh in #532
- Add missing conversion from Status->ScStatus for the ContractError variant by @leighmcculloch in #550
- Use stellar/binaries for binary installs by @leighmcculloch in #551
- Capture user panic-strings in native builds, avoid spurious NoContractRunning error by @graydon in #552
- Few small fixes to error debug events by @leighmcculloch in #553
- Bug 554 - fix stack overflow by @graydon in #555
- Bump version to 0.0.7 by @github-actions in #556
Full Changelog: v0.0.6...v0.0.7
0.0.6
What's Changed
- Add release documentation by @leighmcculloch in #421
- Migrate to wasmi_v1 API by @graydon in #422
- Move the OK, UNKNOWN_ERROR consts into Symbol by @leighmcculloch in #424
- Native token contract wrapper interface by @jonjove in #338
- Add invocation error debug event to call like try_call by @leighmcculloch in #427
- Update stellar-xdr by @leighmcculloch in #429
- Add RawVal conversions for Result<> by @leighmcculloch in #431
- Use
ConversionError
forSymbol
<->ScVal
by @jayz22 in #432 - Add ScVal -> RawVal conversion without ref by @leighmcculloch in #433
- Remove
Hash
andPublicKey
from objects by @jayz22 in #436 - Fix names of variants in Result conversion to RawVal by @leighmcculloch in #437
- Add RawVal <> String conversions for tests by @leighmcculloch in #439
- Allow some &str RawVal conversions in non-std builds by @leighmcculloch in #440
- Add tuple to [RawVal; N] conversions by @leighmcculloch in #441
- Update stellar-xdr by @leighmcculloch in #450
- Remove legacy placeholder-free "format strings" on debug events that mask arguments by @graydon in #448
- Add comments to each
CostType
; add very crude, untested model parameters by @jayz22 in #443 - Change the encoding of Result to only support Status as errpr by @leighmcculloch in #449
- Update stellar-xdr by @leighmcculloch in #452
- interpret status-return as an error and roll back frame, fix #453 by @graydon in #454
- Add fail_with_status host function, fix #146 by @graydon in #425
- Add missing TryIntoVal<_, RawVal> for RawVal conversion by @leighmcculloch in #457
- Change EnvBase functions to not panic, fix #434 by @graydon in #458
- Fixes to built-in token
to_smart
`to_classic` methods by @dmkozh in #459 - Update xdr to success result by @graydon in #461
- Remove
panic!
s from builtin contract. by @dmkozh in #460 - Fix metering to actually work, add run_contract bin by @graydon in #465
- Support logging debug events via the guest interface by @leighmcculloch in #464
- Add with_mutable_ledger_info by @sisuresh in #467
- Update rust-version by @github-actions in #474
- Add function to create token wrappers by @sisuresh in #475
- Source Account Auth: Add getting source type and source account by @leighmcculloch in #473
- Built-in token: use proper identifier for account nonce. by @dmkozh in #480
- Update stellar-xdr by @leighmcculloch in #482
- Update soroban-spec dep by @leighmcculloch in #481
- update xdr by @sisuresh in #483
- Fix get_invoker_type by @leighmcculloch in #486
- Add docs for the create_contract_from_source_account host fn by @leighmcculloch in #488
- Update stellar-xdr by @leighmcculloch in #489
- Use AccountId instead of Bytes for account ids by @leighmcculloch in #490
- Add host function for creating token from source account and plumb both token host functions into invoke_function_raw by @sisuresh in #492
- Add get_ledger_network_id host fn by @leighmcculloch in #496
- Disable the create_contract_from_ed25519 host fn by @leighmcculloch in #497
- Update stellar-xdr by @leighmcculloch in #499
- Use from_xdr instead of read_xdr for slice decoding by @leighmcculloch in #501
- Fix sponsorship handling in
transfer_account_balance
. by @dmkozh in #504 - Add metering for
AccountId
andContractCode
by @jayz22 in #505 - Update public types by @sisuresh in #495
- Organize with_mut_storage, with_ledger_info by @leighmcculloch in #508
- Check all built-in token ops to have non-negative amounts. by @dmkozh in #506
- Add budget metering for the native token contract by @jayz22 in #507
- Make built-in token's classic account auth more in line with the Core by @dmkozh in #493
- Remove wrap by @sisuresh in #511
- Cleanup, consolidate metering for read/write_xdr by @jayz22 in #510
- Use import and export instead of to_smart and to_classic by @sisuresh in #514
- Add ScVal try_into_val RawVal by @leighmcculloch in #517
- Always return Account if there's only one frame by @sisuresh in #519
- Update stellar-xdr by @leighmcculloch in #518
- Forbid contract reentry by @jayz22 in #513
- Reduce the amount of roundtrips for built-in token contract by @dmkozh in #515
- Respect trustline limit in
to_classic
conversions by @dmkozh in #516 - Add a slightly complex wasm testcase by @graydon in #524
- Smoke tests & test utils for built-in token by @dmkozh in #487
- Remove run_contract bin by @leighmcculloch in #531
- Bump version to 0.0.6 by @github-actions in #530
New Contributors
Full Changelog: v0.0.5...v0.0.6
0.0.5
What's Changed
- Minor fixes by @graydon in #402
- regenerate test vectors for 0.0.4 by @graydon in #403
- Add get_current_call_stack by @sisuresh in #376
- Improve CI cache by @leighmcculloch in #407
- network_id to network_passphrase by @sisuresh in #408
- use updated sdk by @sisuresh in #410
- Set the target-dir for cargo installs by @leighmcculloch in #411
- Reorder cargo install options to match other repos by @leighmcculloch in #412
- Fix map_keys and map_values by @leighmcculloch in #413
- Dry run publish release/ branches by @leighmcculloch in #414
- Fix branch of workplace publish dry run action by @leighmcculloch in #415
- Separate the publish workflows and use new versions by @leighmcculloch in #416
- Move publish workflow to separate workflow by @leighmcculloch in #418
- Bump version to 0.0.5 by @github-actions in #419
Full Changelog: v0.0.4...v0.0.5
0.0.4
What's Changed
- Revert "Revert "Refactor index validity-checking code into a new file "" by @jayz22 in #294
- Set default budget limits to unlimited by @jayz22 in #297
- Add build cache in ci by @leighmcculloch in #298
- Fix complete ci job by @leighmcculloch in #300
- Update cargo-hack used in ci by @leighmcculloch in #301
- Add CODEOWNERS by @leighmcculloch in #304
- Clean up host storage/data related code by @jayz22 in #299
- Fix charge_mem to charge CostType::WasmMemAlloc, close #295 by @graydon in #306
- More clean-up on contract data and storage-related by @jayz22 in #309
- Replace FrameGuard drop trait with guarded closure; add metering by @jayz22 in #313
- Fix ci complete job (again) by @leighmcculloch in #318
- Add metering to Val conversions, host function invocation by @jayz22 in #315
- Support calibration benches on apple silicon macs by @graydon in #320
- Add ci workflow to set min rust-version by @leighmcculloch in #321
- Switch mac calibration to older and more portable rusage_info_v4 by @graydon in #326
- Native token by @jonjove in #319
- Update rust-version by @github-actions in #327
- Add ledger info host functions by @jayz22 in #330
- Update rust-version by @github-actions in #333
- Add Host::register_test_contract_wasm by @leighmcculloch in #332
- Update stellar-xdr by @leighmcculloch in #337
- Update stellar-xdr by @leighmcculloch in #340
- Remove u8 as a RawVal by @leighmcculloch in #343
- Add conversions between RawVal and [u8; N] by @leighmcculloch in #344
- Expose LedgerInfo by @sisuresh in #350
- Expose LedgerInfo only with testutils by @sisuresh in #351
- Add Display impl to Symbol::Error by @leighmcculloch in #349
- Add panic! messages to Symbol::from_str panics by @leighmcculloch in #352
- Support contract events by @jayz22 in #342
- Move WASM tests and inputs to env repo, fix #329 by @graydon in #354
- Update rust-version by @github-actions in #355
- Add conversion from Infallible to ConversionError by @leighmcculloch in #356
- Clarify comment about meta version, fix #328 by @graydon in #358
- Replace TryFrom<EnvVal<>> with TryFromVal<> by @leighmcculloch in #357
- More commentary on when and how to regenerate WASM tests by @graydon in #361
- trim deps by @graydon in #249
- Add contract data wasm by @graydon in #365
- Actually surface the contract_data.wasm as a constant by @graydon in #366
- Undo cyclic dev-dependency that is confusing rust-analyzer by @graydon in #367
- Flesh out support for ContractCode, Hash and PublicKey. by @graydon in #368
- Check if rust-analyzer can parse project by @leighmcculloch in #371
- Update to rs-stellar-xdr@925dcea0 by @graydon in #374
- Host budget metering by @jayz22 in #307
- Add base64 feature to xdr import by @paulbellamy in #375
- Update
.wasm
path in the workflow by @jayz22 in #377 - Update stellar-xdr by @leighmcculloch in #378
- Add hostfns to construct BigInt from bytes/array of digits by @jayz22 in #380
- Update stellar-xdr by @leighmcculloch in #381
- Add RawVal consts for i32/u32 one, neg one, min, max by @leighmcculloch in #382
- Add hostfn
account_exists
. by @jayz22 in #383 - Add conversions from ref types to RawVal by @leighmcculloch in #384
- Add conversions from ref types to RawVal by @leighmcculloch in #385
- Add FromVal by @leighmcculloch in #386
- Add hostfns to find an element in a vec by @jayz22 in #387
- Add vec_push_front and vec_push_back by @jayz22 in #388
- Rename "Binary"("binary", "bin", "binaries" etc) to "Bytes" by @jayz22 in #389
- Update stellar-xdr by @leighmcculloch in #390
- Update stellar-xdr by @leighmcculloch in #391
- Remove
bigint_cmp
and fix create contract test. by @jayz22 in #392 - Update test-wasms dependencies by @jayz22 in #393
- Make token auth match soroban-sdk-auth by @jonjove in #394
- Native token cleanup by @jonjove in #397
- Release automation by @graydon in #398
- Bump version to 0.0.4 by @github-actions in #399
- Bump stellar-xdr dep to 0.0.2 by @graydon in #400
New Contributors
- @github-actions made their first contribution in #327
- @paulbellamy made their first contribution in #375
Full Changelog: v0.0.3...v0.0.4