diff --git a/CHANGELOG.md b/CHANGELOG.md index 0eeb87cfaa..9a40b0842f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -364,6 +364,10 @@ Previously, dfx only accepted canister aliases and produced an error message tha Motivated by [this forum post](https://forum.dfinity.org/t/dfx-0-10-0-dfx-canister-deposit-cycles-returns-error/13251/6). +### chore: projects created with `dfx new` are not pinned to a specific dfx version anymore + +It is still possible to pin the dfx version by adding `"dfx":""` to a project's `dfx.json`. + ### fix: print links to cdk-rs docs in dfx new ### fix: Small grammar change to identity password decryption prompt diff --git a/src/dfx/assets/new_project_motoko_files/dfx.json b/src/dfx/assets/new_project_motoko_files/dfx.json index 795b0a7c20..b31ad94098 100644 --- a/src/dfx/assets/new_project_motoko_files/dfx.json +++ b/src/dfx/assets/new_project_motoko_files/dfx.json @@ -1,6 +1,5 @@ { "version": 1, - "dfx": "{dfx_version}", "canisters": { "{project_name}_backend": { "type": "motoko", @@ -22,4 +21,4 @@ "args": "" } } -} +} \ No newline at end of file diff --git a/src/dfx/assets/new_project_rust_files/dfx.json b/src/dfx/assets/new_project_rust_files/dfx.json index 7ceadcf4d3..d6a569f4d5 100644 --- a/src/dfx/assets/new_project_rust_files/dfx.json +++ b/src/dfx/assets/new_project_rust_files/dfx.json @@ -1,6 +1,5 @@ { "version": 1, - "dfx": "{dfx_version}", "canisters": { "{project_name}_backend": { "type": "rust",