From 299ff1170c9b64c85aa7e626d7e483440e572f38 Mon Sep 17 00:00:00 2001 From: Linwei Shang Date: Tue, 23 Apr 2024 20:00:14 -0400 Subject: [PATCH] changelog --- CHANGELOG.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25193cc84e..6afed4c1fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,10 +8,14 @@ Please see [extension-defined-canister-types](docs/concepts/extension-defined-ca ### feat: init_arg_file in dfx.json -In addition to setting `init_arg` in `dfx.json`, `init_arg_file` can be set in `dfx.json`. -- Please set a relative path to the directory where the the `dfx.json` is located. -- `init_arg` and `init_arg_file` cannot be set simultaneously. -- If `--argument` or `--argument-file` are provided, the argument from the command line takes precedence over the one in dfx.json. +Introduces support for the `init_arg_file` field in `dfx.json`, providing an alternative method to specify initialization arguments. + +This field accepts a relative path, from the directory containing the `dfx.json` file. + +**Note** + +- Only one of `init_arg` and `init_arg_file` can be defined at a time. +- If `--argument` or `--argument-file` are set, the argument from the command line takes precedence over the one in dfx.json. ### Cycles wallet