Releases: multiversx/mx-sdk-rs
Releases · multiversx/mx-sdk-rs
sc 0.54.5
sc 0.54.4
sc-meta
install debugger
CLI that prepares VSCode extension for debugging;- fixed a crash involving templates and installers.
- Deprecated
#[derive(TypeAbi)]
and added an additional warning in the macro.
sc 0.54.3
#[storage_mapper_from_address]
fixes for:FungibleTokenMapper
,NonFungibleTokenMapper
,TokenAttributesMapper
,UniqueIdMapper
,UserMapper
,AddressToIdMapper
.
sc 0.54.2, codec 0.21.1, chain 0.11.1, sdk 0.7.1
- Codec improvements:
MultiValueX
-TopDecodeMultiLength
implementation fix;ManagedVecItem
implented for MultiValue2 and MultiValue3.
sc-meta snippets
improvements.
sc 0.54.1
sc-meta
cs
- ChainSimulator CLI, which provides handy functionality to:- install the chain simulator image in Docker;
- start/stop the chain simulator;
- quick testing using the
chain-simulator-tests
feature flag.
- Adder interactor cleanup, including in template.
- Interactor -
use_chain_simulator
builder method, for improved backwards compatibility. MultiValueEncodedCounted
- a lazy multi-value encoding, but with known number of elements.
sc 0.54.0, sdk 0.7.0, chain 0.11.0
- New crate,
multiversx-chain-core
, to be used in both framework and Rust VM. It contains common types, flags, and constants that refer to the protocol. - Major SDK/interactor refactor:
- Added support for Chain Simulator in interactors:
- Added chain-simulator-specific endpoints: feed account, advance blocks
- Added a system to set up accounts in the chain simulator from the interactor;
- Support for advancing blocks in the interactor;
- Split SDK crate into:
multiversx-sdk
- only contains the specifications of the gateway API, without a mechanism to call the API;multiversx-sdk-http
- functionality to call the gateway via reqwest;multiversx-sdk-dapp
- functionality to call the gateway via wasm-bindgen, to be used in WebAssembly front-ends;
- Major improvements in the retrieving of transactions and other blockchain data fron the API, many bugs fixed;
- Support for writing integration tests for interactors, using the Chain Simulator;
- Also added support for test-related
chain-simulator-tests
feature flag insc-meta
;
- Also added support for test-related
- Interactors on the front-end:
- Interactor type made generic over the gateway API implementation, so that it can be used in both front-end and back-end, with no change in the code base;
- Support for custom random number generation for the front-end;
- Mechanism for fixing file paths in the interactor context;
- Fixed an issue with the account tool;
- Adjusted
sc-meta snippets
for the new syntax and the chain simulator support;
- Added support for Chain Simulator in interactors:
- Unified syntax:
ReturnsHandledOrError
result handler, which can gracefully deal with failed transactions;ReturnsGasUsed
result handler;PassValue
result handler for providing a closure-like context for multi-transaction call/deploy;- More specific back transfer result handlers:
ReturnsBackTransfersEGLD
,ReturnsBackTransfersMultiESDT
,ReturnsBackTransfersSingleESDT
; - Fixed an issue with the update functionality not being general enough;
- Deprecated
prepare_async()
, developers can now callrun()
directly, asynchronously;
sc-meta
improvements:- New mechanism for detecting and warning about storage writes in readonly endpoints, integrated into the build system;
- Support for referencing the framework via git commit, branch, or tag, to make it easier to try out unreleased versions;
- Support for
default-features
; - Better representation in console of the contract/lib folders, as well as better error messages.
- Refactoring of the dependency handling logic.
- Fixed the debugger, following changes in the Rust debug tooling.
ManagedVec
set
always consumes ownership. Preparations for a profound memory management cleanup.- ABI:
title
field and annotation;- Refactoring.
sc 0.53.2
StakingModule
fix.
sc 0.53.1, sdk 0.6.1
- Interactor:
- Allow signature to be empty in TransactionOnNetwork;
- Allow return data to be empty in VMOutputApi.
sc 0.53.0 codec 0.21.0, vm 0.10.0, sdk 0.6.0, scenario-format 0.23.0
- Unified syntax:
- Whitebox testing;
- Proxy fix for ManagedOption;
- TestTokenIdentifier syntactic sugar.
- New ResultHandler:
ReturnsLogs
. - Interactor:
- Fix on API fetch process status;
- Fix on ReturnsNewTokenIdentifier edge cases solved;
- Fix on ESDTTransfer for transfer step;
- Support for Keystore + password.
- Framework API support: EI 1.4 crypto functions.
sc-meta
:- New
wallet
command: PEM and keystore generator and conversions; - New
report
command:- Generate json or Markdown report based on size, path, allocator and panic messages;
- Compare reports;
- Convert reports.
- New
- VecMapper update with index.
- Substitution list: AddressToIdMapper
- Dependencies updated.
sc 0.52.3
- Pause module events.