Releases: Concordium/concordium-smart-contract-tools
vscode-smart-contracts 3.0.1
Summary
Fix build for MacOS distribution of the extension.
- Contains
cargo-concordium
version 4.0.0 - Contains
@concordium/ccd-js-gen
version 1.2.1
Changes
- Build
cargo-concordium
for ARM-based MacOS .
vscode-smart-contracts 3.0.0
Summary
Update tools
Changes
- Contains
cargo-concordium
version 4.0.0 - Contains
@concordium/ccd-js-gen
version 1.2.1
cargo-concordium 4.0.0
Summary
Introduce default values for several arguments for better developer experience.
Change cost configuration for local smart contract simulation to match the cost changes in Concordium Protocol Version 7.
Changes
- Use smart contract v1 cost configuration when simulating locally (the reduce execution cost introduced as part of Concordium Protocol Version 7)
- Added a
--tag <RELEASE-TAG>
option tocargo concordium init
to allow specifying the release tag of the templates.
Defaults toreleases/templates/latest
. - When running integration tests the module output path is now exposed to the
tests via theCARGO_CONCORDIUM_TEST_MODULE_OUTPUT_PATH
environment variable. - Add the default build output (
--out <PATH>
) pathconcordium-out/module.wasm.v1
. - Change
--out
flag being optional when using the--verifiable
flag. - Change
--verifiable
flag to use the default output path if the--out
flag is not set. - Embed the schema in the Wasm module by default and can be disabled using the
--no-schema-embed
flag.
The--schema-embed
flag (short-e
) is now deprecated. - Fixed long error message when the
wasm32-unknown-unknown
target is not installed.
cargo-concordium 3.3.0
Summary
Support for running unit tests which access the state of the contract and P7 support.
Changes
- Bump minimum Rust version to 1.73.
- Support state-related host functions when running unit-tests with
cargo concordium test
. Each test-case is provided with an empty temporary key-value store. - Support interrupt events to be introduced in protocol version 7.
vscode-smart-contracts 2.2.0
-
Contains
cargo-concordium
version 3.2.0 -
Contains
@concordium/ccd-js-gen
version 1.2.0 -
Add support for generating TypeScript/JavaScript clients for smart contract modules via the
ccd-js-gen
tool.- Adds two commands: one for generating ts/js clients, and one for getting the version of the
ccd-js-gen
executable. - Adds settings for using a custom
ccd-js-gen
executable and to provide additional arguments when running it. - Adds a task for running the
ccd-js-gen
tool.
- Adds two commands: one for generating ts/js clients, and one for getting the version of the
cargo-concordium 3.2.0
Summary
The major feature of this release is support for debug output when compiling and testing smart contract locally.
To make use of this the smart contract must be built using concordium-std version 9 or higher.
Changes
-
Fix a bug so that a non-zero status code is now returned by
cargo concordium test
if tests fail. -
Add support for running contracts while collecting debug output. Contracts can
be built with debugging support enabled by using the--allow-debug
flag that
is supported both bycargo concordium build
andcargo concordium test
.When this flag is enabled in tests debug output is emitted at the end of the
test. Additionally, when running testscargo-concordium
will set
CARGO_CONCORDIUM_TEST_ALLOW_DEBUG
environment variable for all the tests.
vscode-smart-contracts 2.1.0
Contains cargo-concordium
version 3.1.4
cargo-concordium 3.1.4
vscode-smart-contracts 2.0.0
Contains cargo-concordium
version 3.0.0
cargo-concordium 3.0.0
Summary
Add support for protocol 6 semantics, and better support for schema output.
Changes
- Add support for
--manifest-path
flag. - Add
schema-template
command to print the template of a given schema to a file or the console. - Add
--schema-template-out
option tocargo concordium build
to optionally output the schema template to a file or the console. - Make
cargo-concordium
compatible with protocol 6 semantics on the chain.
In particular cargo-concordium now does validation according to protocol 6 rules, allowing sign extension instructions, disallowing globals in initializers of data and element segments, and allows host functions for checking account signatures, and retrieving account keys.