Skip to content

Commit aa787aa

Browse files
authored
Merge branch 'master' into kaia/svelte-playwrite
2 parents d4def14 + c03e41a commit aa787aa

File tree

44 files changed

+788
-88
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+788
-88
lines changed

.github/workflows/publish-manifest.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
run: go install mvdan.cc/sh/v3/cmd/shfmt@latest
2727
- name: Generate
2828
run: |
29-
shellcheck --shell=sh public/install-dfxvm.sh --exclude SC2154,SC2034,SC3003,SC3014,SC3043
29+
shellcheck -V
30+
shellcheck --shell=sh public/install-dfxvm.sh --exclude SC2154,SC2034,SC3003,SC3014,SC3043,SC2317
3031
~/go/bin/shfmt -d -p -i 4 -ci -bn -s public/install-dfxvm.sh
3132
sed -i "s/@revision@/${GITHUB_SHA}/" public/install-dfxvm.sh
3233
mkdir _out

CHANGELOG.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,25 @@
44

55
### test: adds playwright test for svelte `dfx new` project
66

7-
The first of several tests to automate testing starter projects are compatible with other dfx or asset canister changes.
7+
The first of a suite of baseline tests to automate testing starter projects. Makes sure they are compatible with other dfx or asset canister changes.
8+
9+
### fix: template frontends now have unsupported browser warnings
10+
11+
DFX's default security headers cause Safari to break when viewing local canisters. Warning messages
12+
have been added to the frontend project templates when the page is broken that indicate to try switching
13+
browsers.
14+
15+
### feat: impersonating sender of requests to a local PocketIC instance
16+
17+
`dfx canister call`, `dfx canister status`, and `dfx canister update-settings` take
18+
an additional CLI argument `--impersonate` to specify a principal
19+
on behalf of which requests to a local PocketIC instance are sent.
20+
21+
### feat: `dfx canister [create|update-settings] --wasm-memory-threshold`
22+
23+
This adds support for the WASM memory threshold, used in conjunction with `--wasm-memory-limit`.
24+
When the remaining memory until the limit falls below the threshold, the canister's
25+
`on_low_wasm_memory` handler is run.
826

927
### fix: `dfx deploy --by-proposal` no longer sends chunk data in ProposeCommitBatch
1028

@@ -84,6 +102,10 @@ Your principal for ICP wallets and decentralized exchanges: ueuar-wxbnk-bdcsr-dn
84102
(run `dfx identity get-principal` to display)
85103
```
86104

105+
### feat: Add pre-install tasks
106+
107+
Add pre-install tasks, which can be defined by the new `pre-install` key for canister objects in `dfx.json` with a command or list of commands.
108+
87109
## Dependencies
88110

89111
### Frontend canister

Cargo.lock

Lines changed: 73 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ license = "Apache-2.0"
2222
candid = "0.10.11"
2323
candid_parser = "0.1.4"
2424
dfx-core = { path = "src/dfx-core", version = "0.1.0" }
25-
ic-agent = "0.39"
25+
ic-agent = { version = "0.39", git = "https://github.com/dfinity/agent-rs", rev = "0a51f2a65dde7d9e1790c378bd60e1768e3be257" }
2626
ic-asset = { path = "src/canisters/frontend/ic-asset", version = "0.21.0" }
2727
ic-cdk = "0.13.1"
28-
ic-identity-hsm = "0.39"
29-
ic-utils = "0.39"
28+
ic-identity-hsm = { version = "0.39", git = "https://github.com/dfinity/agent-rs", rev = "0a51f2a65dde7d9e1790c378bd60e1768e3be257" }
29+
ic-utils = { version = "0.39", git = "https://github.com/dfinity/agent-rs", rev = "0a51f2a65dde7d9e1790c378bd60e1768e3be257" }
3030

3131
aes-gcm = "0.10.3"
3232
anyhow = "1.0.56"

0 commit comments

Comments
 (0)