Releases: stellar/rs-soroban-env
Releases · stellar/rs-soroban-env
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
0.0.3
Release 0.0.3
0.0.2
Preview release v0.0.2