Skip to content

Commit

Permalink
Merge branch 'master' into SDK-1165-deploy-canister-create-on-specifi…
Browse files Browse the repository at this point in the history
…c-subnet
  • Loading branch information
sesi200 committed Jan 24, 2024
2 parents c244645 + c62bbdb commit 2a42de8
Show file tree
Hide file tree
Showing 69 changed files with 985 additions and 655 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ jobs:
runs-on: ${{ matrix.os }}
needs: [build_dfx]
strategy:
fail-fast: false
matrix:
os: [macos-12, ubuntu-20.04, ubuntu-22.04]
steps:
Expand Down Expand Up @@ -191,6 +192,12 @@ jobs:
--frontend_url "$FRONTEND_URL" \
--candid_url "$CANDID_URL" \
--browser chromium firefox webkit
export FRONTEND_URL_LOCALHOST="${FRONTEND_URL/127\.0\.0\.1/localhost}"
export CANDID_URL_LOCALHOST="${CANDID_URL/127\.0\.0\.1/localhost}"
python scripts/test-uis.py \
--frontend_url "$FRONTEND_URL_LOCALHOST" \
--candid_url "$CANDID_URL_LOCALHOST" \
--browser chromium firefox webkit
aggregate:
name: e2e:required
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ target/

# Backup files
*.bak

# DB repo for cargo-audit
advisory-db/
59 changes: 58 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@

# UNRELEASED

### fix!: always fetch did file from canister when making canister calls

`dfx canister call` will always fetch did file from the canister metadata. This is especially helpful for calling remote canisters. It's a breaking change in the sense that if the canister doesn't have the `candid:service` metadata, we will not read the local did file from build artifact, and dfx will issue a warning in this case to encourage canister developers to put the did file into canister metadata.

### 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.
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

### fix: can now run several dfx canister commands outside of a project

The following commands now work outside of a project:
- `dfx canister start <specific canister id>`
- `dfx canister stop <specific canister id>`
- `dfx canister deposit-cycles <amount> <specific canister id>`
- `dfx canister uninstall-code <specific canister id>`

# 0.16.0

### feat: large canister modules now supported

When using `dfx deploy` or `dfx canister install`, previously WASM modules larger than 2MiB would be rejected.
They are now automatically submitted via the chunking API if they are large enough.
From a user perspective the limitation will simply have been lifted.

### feat: dfx deps: wasm_hash_url and loose the hash check

Providers can provide the hash through `wasm_hash_url` instead of hard coding the hash directly.
Expand Down Expand Up @@ -34,6 +62,10 @@ Updated to candid 0.10, ic-cdk 0.12, and ic-cdk-timers 0.6
They've always been stored with nanosecond precisions on Linux and Macos.
Now they are stored with nanosecond precision on Windows too.

### fix: dfx canister delete, when using an HSM identity, no longer fails by trying to open two sessions to the HSM

Previously, this would fail with a PKCS#11: CKR_CRYPTOKI_ALREADY_INITIALIZED error.

## Dependencies

### Motoko
Expand All @@ -42,7 +74,32 @@ Updated Motoko to [0.10.4](https://github.com/dfinity/motoko/releases/tag/0.10.4

### Frontend canister

Module hash: b625e04115725038808dcd6db1e398def28e981f8d6de464bb8438b2656864c8
Module hash: 3c86d912ead6de7133b9f787df4ca9feee07bea8835d3ed594b47ee89e6cb730

### Candid UI

Module hash: b91e3dd381aedb002633352f8ebad03b6eee330b7e30c3d15a5657e6f428d815

Fix the routing error when deploying to gitpod/github workspace.
Fix that Candid UI cannot be opened using localhost URL.

### Replica

Updated replica to elected commit 324eb99eb7531369a5ef75560f1a1a652d123714.
This incorporates the following executed proposals:

- [127096](https://dashboard.internetcomputer.org/proposal/127096)
- [127094](https://dashboard.internetcomputer.org/proposal/127094)
- [127034](https://dashboard.internetcomputer.org/proposal/127034)
- [127031](https://dashboard.internetcomputer.org/proposal/127031)
- [126879](https://dashboard.internetcomputer.org/proposal/126879)
- [126878](https://dashboard.internetcomputer.org/proposal/126878)
- [126730](https://dashboard.internetcomputer.org/proposal/126730)
- [126729](https://dashboard.internetcomputer.org/proposal/126729)
- [126727](https://dashboard.internetcomputer.org/proposal/126727)
- [126366](https://dashboard.internetcomputer.org/proposal/126366)
- [126365](https://dashboard.internetcomputer.org/proposal/126365)
- [126293](https://dashboard.internetcomputer.org/proposal/126293)

# 0.15.3

Expand Down
Loading

0 comments on commit 2a42de8

Please sign in to comment.