Skip to content

Commit

Permalink
Merge branch 'master' into kaia/svelte-playwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
krpeacock authored Jan 6, 2025
2 parents d4def14 + c03e41a commit aa787aa
Show file tree
Hide file tree
Showing 44 changed files with 788 additions and 88 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
run: go install mvdan.cc/sh/v3/cmd/shfmt@latest
- name: Generate
run: |
shellcheck --shell=sh public/install-dfxvm.sh --exclude SC2154,SC2034,SC3003,SC3014,SC3043
shellcheck -V
shellcheck --shell=sh public/install-dfxvm.sh --exclude SC2154,SC2034,SC3003,SC3014,SC3043,SC2317
~/go/bin/shfmt -d -p -i 4 -ci -bn -s public/install-dfxvm.sh
sed -i "s/@revision@/${GITHUB_SHA}/" public/install-dfxvm.sh
mkdir _out
Expand Down
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,25 @@

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

The first of several tests to automate testing starter projects are compatible with other dfx or asset canister changes.
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.

### fix: template frontends now have unsupported browser warnings

DFX's default security headers cause Safari to break when viewing local canisters. Warning messages
have been added to the frontend project templates when the page is broken that indicate to try switching
browsers.

### feat: impersonating sender of requests to a local PocketIC instance

`dfx canister call`, `dfx canister status`, and `dfx canister update-settings` take
an additional CLI argument `--impersonate` to specify a principal
on behalf of which requests to a local PocketIC instance are sent.

### feat: `dfx canister [create|update-settings] --wasm-memory-threshold`

This adds support for the WASM memory threshold, used in conjunction with `--wasm-memory-limit`.
When the remaining memory until the limit falls below the threshold, the canister's
`on_low_wasm_memory` handler is run.

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

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

### feat: Add pre-install tasks

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.

## Dependencies

### Frontend canister
Expand Down
96 changes: 73 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ license = "Apache-2.0"
candid = "0.10.11"
candid_parser = "0.1.4"
dfx-core = { path = "src/dfx-core", version = "0.1.0" }
ic-agent = "0.39"
ic-agent = { version = "0.39", git = "https://github.com/dfinity/agent-rs", rev = "0a51f2a65dde7d9e1790c378bd60e1768e3be257" }
ic-asset = { path = "src/canisters/frontend/ic-asset", version = "0.21.0" }
ic-cdk = "0.13.1"
ic-identity-hsm = "0.39"
ic-utils = "0.39"
ic-identity-hsm = { version = "0.39", git = "https://github.com/dfinity/agent-rs", rev = "0a51f2a65dde7d9e1790c378bd60e1768e3be257" }
ic-utils = { version = "0.39", git = "https://github.com/dfinity/agent-rs", rev = "0a51f2a65dde7d9e1790c378bd60e1768e3be257" }

aes-gcm = "0.10.3"
anyhow = "1.0.56"
Expand Down
Loading

0 comments on commit aa787aa

Please sign in to comment.