Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

v0.18.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Mar 11:11
· 29 commits to master since this release
b850f6f

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

Full Changelog: v0.17.0...v0.18.0