From f414f825480c6672c84d8bd9623c832e861cb768 Mon Sep 17 00:00:00 2001 From: NikolaMilosa Date: Sun, 1 Sep 2024 00:02:26 +0200 Subject: [PATCH] adding to changelog --- CHANGELOG.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6498416b8a..605d9aa78d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ # UNRELEASED +### feat: embedding well known canisters at build time + +From this feature onwards, dfx doesn't require `canister_ids.json` to contain information about all the well known canisters on nns. The list of well known canister's can be found [here](https://github.com/dfinity/ic/blob/master/rs/nns/canister_ids.json). This means that `dfx canister call ` will automatically map to the correct canister id. + ### feat: Also report Motoko stable compatibility warnings Report upgrade compatibility warnings for Motoko, such as deleted stable variables, in addition to compatibility errors. @@ -702,7 +706,7 @@ For reference, these formats were removed (any '-' characters were replaced by ' ### feat: add `dfx canister logs ` for fetching canister's logs (preview) -There is a new subcommand `logs` to fetch canister's logs. +There is a new subcommand `logs` to fetch canister's logs. When printing the log entries it tries to guess if the content can be converted to UTF-8 text and prints an array of hex bytes if it fails. **Note** @@ -718,7 +722,7 @@ The query parameter format is not removed because Safari does not support localh ### fix: .env files sometimes missing some canister ids -Made it so `dfx deploy` and `dfx canister install` will always write +Made it so `dfx deploy` and `dfx canister install` will always write environment variables for all canisters in the project that have canister ids to the .env file, even if they aren't being deployed/installed or a dependency of a canister being deployed/installed. @@ -728,7 +732,7 @@ or a dependency of a canister being deployed/installed. There are a few subcommands that take `--argument`/`--argument-file` options to set canister call/init arguments. We unify the related logic to provide consistent user experience. - + The notable changes are: - `dfx deploy` now accepts `--argument-file`. @@ -736,7 +740,7 @@ The notable changes are: ### feat: candid assist feature -Ask for user input when Candid argument is not provided in `dfx canister call`, `dfx canister install` and `dfx deploy`. +Ask for user input when Candid argument is not provided in `dfx canister call`, `dfx canister install` and `dfx deploy`. Previously, we cannot call `dfx deploy --all` when multiple canisters require init args, unless the init args are specified in `dfx.json`. With the Candid assist feature, dfx now asks for init args in terminal when a canister requires init args. ### fix: restored access to URLs like http://localhost:8080/api/v2/status through icx-proxy @@ -885,7 +889,7 @@ If you build with custom canister type, add the following into `dfx.json`: ``` "metadata": [ - { + { "name": "candid:service" } ] @@ -920,7 +924,7 @@ Fix the bug that when parsing `vec \{1;2;3\}` with `blob` type, dfx silently ign ### fix: support `import` for local did file If the local did file contains `import` or init args, dfx will rewrite the did file when storing in canister metadata. -Due to current limitations of the Candid parser, comments will be dropped during rewriting. +Due to current limitations of the Candid parser, comments will be dropped during rewriting. If the local did file doesn't contain `import` or init args, we will not perform the rewriting, thus preserving the comments. ### fix: subtyping check reports the special opt rule as error @@ -1309,7 +1313,7 @@ This incorporates the following executed proposals: - [124537](https://dashboard.internetcomputer.org/proposal/124537) - [124488](https://dashboard.internetcomputer.org/proposal/124488) - [124487](https://dashboard.internetcomputer.org/proposal/124487) - + # 0.15.0 ## DFX