Skip to content

Commit

Permalink
chore: remove dfx version pin from default project (#2589)
Browse files Browse the repository at this point in the history
# Description

As discussed in yesterday's meeting we discussed removing the version pin from the default project.

# How Has This Been Tested?

tested manually

# Checklist:

- [x] The title of this PR complies with [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).
- [x] I have edited the CHANGELOG accordingly.
- [ ] I have made corresponding changes to the documentation.
  • Loading branch information
sesi200 authored Sep 21, 2022
1 parent 44004c4 commit cc6c857
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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":"<dfx version to pin to>"` 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
Expand Down
3 changes: 1 addition & 2 deletions src/dfx/assets/new_project_motoko_files/dfx.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"version": 1,
"dfx": "{dfx_version}",
"canisters": {
"{project_name}_backend": {
"type": "motoko",
Expand All @@ -22,4 +21,4 @@
"args": ""
}
}
}
}
1 change: 0 additions & 1 deletion src/dfx/assets/new_project_rust_files/dfx.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"version": 1,
"dfx": "{dfx_version}",
"canisters": {
"{project_name}_backend": {
"type": "rust",
Expand Down

0 comments on commit cc6c857

Please sign in to comment.