0.24.0
Features
ic-cdk security vulnerability fixed
ic-cdk has been updated to address this vulnerability: GHSA-rwq6-crjg-9cpw
Stable memory file system
The file system available through fs
is now automatically stored in stable memory. This means that upgrading your canister will not wipe your file system. You can store up to 100s of GiBs in one canister, limited by the current maximum stable memory size per canister and the current capacity and free space on the subnet your canister is deployed to.
Experimental flag
The experimental
flag has been introduced when using experimental Azle features. If the flag is not set in the dfx.json
file or --experimental
added to CLI commands, an error will be thrown when using experimental features or experimental CLI commands.
Breaking Changes
- The file system is no longer wiped after each upgrade, as it is stored in stable memory
- Experimental features and CLI commands now throw an error if the experimental flag is not set (e.g.
npx azle new [name] --http-server
must now have the--experimental
flag) - The
--verbose
and-v
azle
CLI options have been removed in favor of only using theAZLE_VERBOSE
environment variable - All custom Azle properties in
dfx.json
are moved into the custom property AZLE_WASMEDGE_QUICKJS_DIR
environment variable has been removed- Running
npx azle install-dfx-extension
is no longer necessary. Devs must runnpm install
(ornpm install azle
) in the same directory as theirpackage.json
file before starting up a replica node_modules/.bin/azle
is now used instead ofnpx azle
for Azlebuild
command in thedfx extension
.azle compile [canister name]
is now used instead ofazle [canister name]
- Wasm binary optimization no longer exists (e.g.
opt_level
in thedfx.json
file) - Memory id 254 for StableBTreeMap is now reserved for the stable memory file system
What's Changed
- add script to delete git branches by @lastmjs in #1924
- Stable files by @bdemann in #1966
- caller and id property tests by @lastmjs in #1963
- Trap property tests by @lastmjs in #1970
- Time property tests by @lastmjs in #1975
- Is controller property tests by @lastmjs in #1977
- Add es module 2022 by @lastmjs in #1978
- Remove apis by @lastmjs in #1979
- Instruction counter property tests by @lastmjs in #1985
- Chunk property tests by @lastmjs in #1987
- Performance counter property tests by @lastmjs in #1990
- Experimental flag: azle/experimental and Node APIs by @lastmjs in #1991
- Rust experimental by @lastmjs in #1999
- Quick clean up by @bdemann in #2001
- update stable_b_tree_map prop tests to handle new stable_b_tree_map b… by @bdemann in #1918
- Refactor rust by @lastmjs in #2000
- Class based prop tests by @bdemann in #2002
- Class based prop tests messured move by @bdemann in #2015
- reorganize build process by @lastmjs in #2012
- Experimental globals by @lastmjs in #2021
- Wasmedge improved installation by @lastmjs in #2024
- Use class instance variables by @lastmjs in #2025
- clean up remaining wasmedge_quickjs stuff by @lastmjs in #2033
- Remove npx by @lastmjs in #2034
- Update wallet by @lastmjs in #2038
- Update rust cdk by @lastmjs in #2041
- Fetch global protection by @lastmjs in #2047
- Class context by @lastmjs in #2048
- Fix new and hello world by @lastmjs in #2049
- fix npm security issues by @lastmjs in #2051
- Various updates by @lastmjs in #2055
- updating ic-cdk through ic-wasi-polyfill by @lastmjs in #2057
- Release fixes by @bdemann in #2062
- reduce the max size of files we test for the file uploader until we c… by @bdemann in #2066
Full Changelog: 0.23.0...0.24.0