v0.18.0
Discord announcement (before release).
🟢 The extension does not patch settings.json
anymore
We've decided to not automatically patch settings.json
anymore. It's the responsibility of the VSCode user 💪 to adjust settings.json
and include necessary PATHs and variables, if needed - e.g. if the user relies on the Rust installation in ~/multiversx-sdk
as opposed to a separate Rust installation.
Please find below an example of adjusting settings.json
, if you rely on the ~/multivers-sdk
installation of Rust (also note the alteration of PATH
).
For Linux:
{
"terminal.integrated.env.linux": {
"PATH": "${env:HOME}/multiversx-sdk:${env:HOME}/multiversx-sdk/vendor-rust/bin:${env:HOME}/multiversx-sdk/vmtools:${env:PATH}",
"RUSTUP_HOME": "${env:HOME}/multiversx-sdk/vendor-rust",
"CARGO_HOME": "${env:HOME}/multiversx-sdk/vendor-rust"
},
"rust-analyzer.server.extraEnv": {
"RUSTUP_HOME": "${env:HOME}/multiversx-sdk/vendor-rust",
"CARGO_HOME": "${env:HOME}/multiversx-sdk/vendor-rust"
}
}
For MacOS:
{
"terminal.integrated.env.osx": {
"PATH": "${env:HOME}/multiversx-sdk:${env:HOME}/multiversx-sdk/vendor-rust/bin:${env:HOME}/multiversx-sdk/vmtools:${env:PATH}",
"RUSTUP_HOME": "${env:HOME}/multiversx-sdk/vendor-rust",
"CARGO_HOME": "${env:HOME}/multiversx-sdk/vendor-rust"
},
"rust-analyzer.server.extraEnv": {
"RUSTUP_HOME": "${env:HOME}/multiversx-sdk/vendor-rust",
"CARGO_HOME": "${env:HOME}/multiversx-sdk/vendor-rust"
}
}
🟢 No more support for running bash snippets from the UI
Rust-based contract interaction snippets will arise soon 🦀 . We've dropped support for invoking bash interaction snippets directly from the VSCode extension (user interface).
Existing bash-based interaction snippets can still be invoked from the CLI, as follows (example for the adder
contract):
export PROJECT=$(pwd)
export USERS=~/multiversx-sdk/testwallets/latest/users
source interactions/testnet.snippets.sh && deploy
source interactions/testnet.snippets.sh && add
What's Changed
- Remove environment pollution by @andreibancioiu in #73
- Remove custom support for bash snippets by @andreibancioiu in #71
- A bit of workspace cleanup / simplifications by @andreibancioiu in #72
Full Changelog: v0.17.0...v0.18.0