Releases: multiversx/mx-sdk-rs
Releases · multiversx/mx-sdk-rs
sc 0.41.0, vm 0.3.0
- Fixed compatibility with rustc v1.71.0.
- Allocator system:
- Contracts can now choose their own allocator. This works in multi-contract contexts.
- New allocators:
fail
(default),static64k
,leaking
. - Removed dependency to
wee_alloc
, but using it is still possible if the contract references it directly. - Contract call stack size is now configurable in
multicontract.toml
. - The 'panic with message' system now relies on managed buffers instead of on an allocator.
- Fixed BigUint bitwise operations in the debugger.
- When building contracts, an additional
.mxsc.json
file is created, which packs both the contract binary, the ABI, and some additional metadata. - Refactor: reorganized the meta crate.
- Deprecated some legacy methods in the API wrappers.
sc 0.40.1, vm 0.2.1
- Building contracts also triggers an EI check, which verifies compatibility with various VM versions. It currently only issues warnings.
ManagedVecItem
implementation for arrays.
sc 0.40.0, vm 0.2.0
- Call value
egld_value
andall_esdt_transfers
methods returnManagedRef
instead of owned objects, because they are cached (to avoid accidental corruption of the underlying cache).
sc 0.39.8, vm 0.1.8
multiversx-sc-meta
test-gen
command: generates Rust integration tests based on scenarios present in thescenarios
folder.UnorderedSetMapper
swap_indexes
method.
sc 0.39.7, vm 0.1.7
TokenIdentifier
ticker
method.ManagedBuffer
concat
method.
sc 0.39.6, vm 0.1.6
multiversx-sc-meta
improvements:- Bugfix: custom names in the main contract no longer crash the multi-contract build.
- Bugfix: the
--mir
flag works correctly insc-meta all build
; - Multi-contract configs can now specify separate cargo features for individual contracts, for conditional compilation.
sc 0.39.5, vm 0.1.5
-
multiversx-sc-meta
improvements:- Rust snippet generator fixes. The generator creates compilable code with appropriate argument types.
local-deps
command: generates a report on the local depedencies of contract crates. Will explore indirect depdencies too.- Upgrade tool minor fix.
-
release of
multisig
- codehash:
097a3ec24cf1b717846e29ceb6e39555f551906510f6d71921500a77653621f7
- docker image tag:
v4.1.3
- codehash:
sc 0.39.4, vm 0.1.4
multiversx-sc-meta
improvements:--locked
flag get passed to the build command, preserves dependencies in Cargo.lock.update
command updates Cargo.lock files without building the contracts.
- Backwards compatibility for running scenarios using the VM Go infrastructure.
sc 0.39.3, vm 0.1.3
multiversx-sc-meta
improvements:upgrade
can handle crates as early as0.28.0
;--ignore
flag for theall
command: will ignore folders with given names, by default set totarget
;info
command, shows contracts and contract library crates with their respective framework versions;--mir
flag when building, also emits MIR files;- printing to console the build command.
BigUint
fromu128
conversion.
sc 0.39.2, vm 0.1.2
multiversx-sc-meta
improvements:all
command that allows calling all contract meta crates in a folder;upgrade
also re-generates wasm crates after reaching 0.39.1.
- Cleaned up dependencies.