0.24.2-beta.0
Pre-releaseWhat's Changed
feat: Support canister log allowed viewer list
Added support for the canister log allowed viewer list, enabling specified users to access a canister's logs without needing to be set as the canister's controller.
Valid settings are:
--add-log-viewer
,--remove-log-viewer
and--set-log-viewer
flags withdfx canister update-settings
--log-viewer
flag withdfx canister create
canisters[].initialization_values.log_visibility.allowed_viewers
indfx.json
feat: batch upload assets
The frontend canister sync now tries to batch multiple small content chunks into a single call using the create_chunks
method added earlier.
And for small amounts of uploaded data the asset sync can now skip chunk creation entirely.
This should lead to significantly faster upload times for frontends with many small files.
Dependencies
Motoko
Updated Motoko to 0.13.2
Frontend canister
SetAssetContentArguments
has a new field last_chunk: opt blob
which can be used in addition to chunk_ids
so that small assets can be uploaded as part of commit_batch
,
skipping the need to await a separate create_chunk
call.
Bumped api_version
to 2
for the previous addition of create_chunks
since the improved file sync relies on it.
Commits
- chore: add link to dfx reference in README.md by @dfx-json in #3726
- feat: Update agent to dac18df and add
wasm_memory_limit
support by @adamspofford-dfinity in #3727 - ci: fix path on Windows by @lwshang in #3728
- feat: align, rather than indent, error causes by @ericswanson-dfinity in #3736
- fix: include error cause in PEM file decryption message by @ericswanson-dfinity in #3681
- chore: unpin mops by @ericswanson-dfinity in #3737
- chore: update replica version to 5e285dca by @dfinity-bot in #3739
- chore: add 0.20.1 changelog header by @dfx-json in #3741
- chore: break up ExtensionError into method-specific error types by @ericswanson-dfinity in #3740
- refactor: more idiomatic identity override by @ericswanson-dfinity in #3743
- ci: missing backslash by @lwshang in #3746
- chore: promote 0.20.0 by @dfx-json in #3744
- chore: document valid identity names by @sesi200 in #3747
- docs: mention DFX_DISABLE_QUERY_VERIFICATION by @ericswanson-dfinity in #3751
- refactor: fetch root key method names by @ericswanson-dfinity in #3750
- feat: add DfxInterface and builder for easier setup by @ericswanson-dfinity in #3752
- feat: add Candid UI URL to dfx info by @sesi200 in #3748
- chore: update to agent-rs 0.35.0 by @ericswanson-dfinity in #3753
- fix: Capitalization of "Wasm" by @ulan in #3756
- fix!: sync .well-known dir by default by @sesi200 in #3759
- feat: subaccount can be derived from principal in dfx ledger account-id by @mraszyk in #3755
- refactor: add host and artifical-delay only if not passed by @ericswanson-dfinity in #3757
- fix: Ledger create canister with
--next-to
transferring funds too early by @fxgst in #3760 - feat: PocketIC support by @adamspofford-dfinity in #3761
- perf: improve sync command performance by @olaszakos in #3766
- fix: --initial-margin for dfx canister delete by @sesi200 in #3769
- chore: update the help messages of
dfx wallet send
by @vincent-dfinity in #3771 - chore: update replica version to ec35ebd2 by @dfinity-bot in #3772
- chore: update changelog for 0.20.2 by @ericswanson-dfinity in #3773
- feat(icx-asset): add
--no-delete
option tosync
command by @olaszakos in #3768 - chore: Release 0.20.1 by @dfx-json in #3776
- chore: update CODEOWNERS by @dfx-json in #3778
- docs: fix link in CONTRIBUTING.md by @raymondk in #3779
- feat: dfx start doesn't require --clean when changing replica versions or options by @ericswanson-dfinity in #3777
- fix: url decoding in ic-certified-assets by @raymondk in #3767
- docs: remove reference to obsolete warning by @ericswanson-dfinity in #3780
- fix: reword confusing log message about default shared network config by @ericswanson-dfinity in #3781
- feat: add retry/backoff logic for get_assets_properties by @olaszakos in #3784
- fix: denote GetWasmMemoryLimitFailed error source by @ericswanson-dfinity in #3785
- feat: update agent and add log_visibility support by @sesi200 in #3782
- feat: add support for
dfx canister url <CANISTER>
by @vincent-dfinity in #3765 - chore!: improve error message about canister ranges by @sesi200 in #3786
- chore: update CONTRIBUTING.md by @dfx-json in #3787
- feat!: remove support for bitcoin query API by @lwshang in #3788
- docs: early forum post for betas by @ericswanson-dfinity in #3789
- fix: Improve error message for bad cycles wallet by @adamspofford-dfinity in #3790
- docs: deprecate and use the proper API domain by @r-birkner in #3783
- feat: killall command by @adamspofford-dfinity in #3351
- chore: pin binstall version so CI doent spontaneously break by @sesi200 in #3793
- feat: choose asset encodings that are synced to asset canister by @sesi200 in #3792
- feat: upload br encoding to asset canister by @sesi200 in #3791
- chore: update changelog for 0.21.0 by @THLO in #3798
- chore: update replica version to 246d0ce0 by @dfinity-bot in #3797
- feat: require all PRs to update JSON schema if changed by @ericswanson-dfinity in #3803
- feat: generate extension manifest schema by @ericswanson-dfinity in #3806
- feat!: enable cycles ledger unconditionally by @sesi200 in #3796
- chore!: rm
unsafe-eval
from default project CSP by @sesi200 in #3801 - chore!: enforce minimum password length by @sesi200 in #3808
- feat: type definitions for extension dependencies and dependencies.json by @ericswanson-dfinity in #3807
- fix: add context to dfx cache installation message by @ericswanson-dfinity in #3812
- fix: dfx build no longer requires a password by @sesi200 in #3813
- refactor: Prepare for auto-generation of extension.json by @anchpop in #3814
- refactor: convert extension install to async by @ericswanson-dfinity in #3815
- feat: extension install uses dependencies.json by @ericswanson-dfinity in #3816
- chore!: --with-cycles requires --wallet is enforced earlier by @sesi200 in #3817
- feat: Enable threshold signatures for Bip340Secp256k1 by @eichhorl in #3809
- fix: Build the canister dependency graph only for the requested canisters by @anchpop in #3818
- fix: retry certain http errors reported by replica during asset uploads by @ericswanson-dfinity in #3822
- chore: update replica version to 5849c6da by @dfinity-bot in #3821
- chore: update Motoko version to 0.11.2 by @dfinity-bot in #3823
- chore: add the 0.22.0 header to the changelog by @lwshang in #3824
- chore: Add tool check to update script by @adamspofford-dfinity in #3826
- chore: upgrade ic-wasm/walrus to build memory64 by @lwshang in #3827
- refactor: remove output_idl_path from CanisterInfo types by @ericswanson-dfinity in #3828
- fix: display reqwest::Error source by @ericswanson-dfinity in #3832
- chore: remove the deprecated --use-old-metering flag by @ulan in #3835
- chore: Promote 0.21.0 by @THLO in #3831
- feat!: Change crate selection logic to use an explicit crate field by @adamspofford-dfinity in #3836
- feat: Display replica port in log message by @adamspofford-dfinity in #3820
- feat: install extension by url by @ericswanson-dfinity in #3837
- fix: dfx extension install no longer reports an error if extension already installed by @ericswanson-dfinity in #3839
- refactor: move wallet_canister_id to dfx-core by @ericswanson-dfinity in #3840
- feat: security-policy for ic-assets.json5 by @sesi200 in #3838
- feat: accept --wallet in addition to --wallet by @ericswanson-dfinity in #3841
- fix: ledger create-canister mishandles controller argument by @sesi200 in #3842
- feat: Add .env file to motoko canisters by @adamspofford-dfinity in #3810
- chore: promote 0.22.0 by @lwshang in #3846
- refactor: Consolidate dfx-core identity errors into error/identity.rs by @ericswanson-dfinity in #3848
- refactor: Split up FsError into method-specific error types (partial) by @ericswanson-dfinity in #3851
- chore: Add the 0.22.1 header to the changelog by @krpeacock in #3849
- chore: update replica version to 2c0b76cf by @dfinity-bot in #3847
- refactor: move method-specific error types out of FsError (2/x) by @ericswanson-dfinity in #3852
- refactor: move remaining FsError enums to per-method types by @ericswanson-dfinity in #3854
- refactor: Split up CacheError into method-specific error types by @ericswanson-dfinity in #3858
- docs: trim redundant proposals from changelog by @ericswanson-dfinity in #3859
- feat: Enable threshold Schnorr signatures for Ed25519 by @eichhorl in #3844
- feat: replace icx-proxy with PocketIC HTTP gateway by @adamspofford-dfinity in #3843
- feat: Add settings digest to network-id file by @ericswanson-dfinity in #3860
- chore: update Motoko version to 0.12.0 by @dfinity-bot in #3862
- feat: Canister snapshots by @adamspofford-dfinity in #3861
- refactor(asset): Return batch id and evidence from prepare_sync_for_proposal by @Sawchord in #3869
- feat: install extensions using the catalog by @ericswanson-dfinity in #3868
- fix: file not found when installing an extension with no commands by @ericswanson-dfinity in #3871
- feat: add fn load_settings_digest to load_settings_digest by @mraszyk in #3873
- fix: Fix PocketIC domain config by @adamspofford-dfinity in #3877
- chore: RUN-1034: Minor error code fixes in comments by @berestovskyy in #3883
- fix: flaky test due to panic in http gateway by @ericswanson-dfinity in #3884
- refactor: load extension manifests in main by @ericswanson-dfinity in #3874
- chore: 0.23.0 changelog header by @sesi200 in #3885
- feat: enable state persistence in pocketic by @adamspofford-dfinity in #3882
- feat: Support
wasm_memory_persistence
for canister upgrades by @luc-blaeser in #3890 - chore: Update agent for transport changes by @adamspofford-dfinity in #3888
- fix: scripts use project root as current working directory by @ericswanson-dfinity in #3891
- chore: update rust template with ic-cdk v0.16.0 by @lwshang in #3892
- feat: Also report Motoko stable compatibility warnings by @luc-blaeser in #3887
- refactor: data-driven backend project templates by @ericswanson-dfinity in #3894
- feat: expose canister upgrade options in CLI by @lwshang in #3893
- feat(frontend-canister): create_chunks by @sesi200 in #3898
- feat: Change placeholder format to use underscores by @adamspofford-dfinity in #3900
- feat: Add ability to list remote available extensions by @vincent-dfinity in #3896
- docs: remove extension compatibility.json update from release process by @ericswanson-dfinity in #3905
- refactor: data-driven frontend, frontend test, and extra project templates by @ericswanson-dfinity in #3907
- chore: promote 0.23.0 by @krpeacock in #3904
- chore(deps): bump quinn-proto from 0.11.6 to 0.11.8 by @dependabot in #3901
- chore: 0.24.0 changelog header by @sesi200 in #3906
- fix: bumps sveltekit starter dependency versions by @krpeacock in #3913
- chore: update Motoko version to 0.12.1 by @dfinity-bot in #3911
- chore: add
--cask
inprovision-darwin.sh
when installingmitmproxy
by @ggreif in #3916 - refactor: delete unused Extra type by @ericswanson-dfinity in #3917
- docs: Update README with Rust installation instructions by @jessiemongeon1 in #3914
- feat: enable more pocketic features by @adamspofford-dfinity in #3895
- chore: release ic(x)-asset v0.21.0 by @lwshang in #3920
- refactor: direct_or_shell_command by @ericswanson-dfinity in #3924
- chore: update Motoko version to 0.13.0 by @dfinity-bot in #3925
- chore: explain
dfxvm
in theREADME.md
by @ggreif in #3922 - fix: Fix cdylib crate name logic by @adamspofford-dfinity in #3926
- refactor: project template properties by @ericswanson-dfinity in #3927
- chore: update replica version to c43a4880 by @dfinity-bot in #3931
- feat(asset-canister): Improve prepare_commit error messages by @Sawchord in #3930
- chore: 0.24.1 changelog header by @adamspofford-dfinity in #3933
- fix: create II subnet when using PocketIC by @mraszyk in #3935
- feat: Supports the allowed viewer list for the canister log. by @vincent-dfinity in #3921
- docs: add additional env vars by @jessiemongeon1 in #3938
- chore: promote 0.24.0 by @sesi200 in #3936
- fix: fetch effective canister id from PocketIC topology by @mraszyk in #3942
- fix: Add
idle_cycles_burned_per_day
field by @berestovskyy in #3943 - feat: canister backtraces by @adamspofford-dfinity in #3929
- chore: Update Motoko to 0.13.1 by @adamspofford-dfinity in #3948
- feat: upload multiple asset chunks in the same call by @sesi200 in #3947
- fix: restore behavior of 'none' frontend by @adamspofford-dfinity in #3951
- fix: Candid docs link by @jessiemongeon1 in #3952
- chore: update replica version to 3c76b914 by @dfinity-bot in #3956
- feat(asset-canister): upload and commit in same message by @sesi200 in #3954
- fix(sdk): Asset evidence computation reproducibility fix by @Sawchord in #3958
- chore: add 0.24.2 header by @dfx-json in #3960
- chore: update Motoko version to 0.13.2 by @dfinity-bot in #3962
- chore: Release 0.24.2-beta.0 by @dfx-json in #3961
New Contributors
- @fxgst made their first contribution in #3760
- @olaszakos made their first contribution in #3766
- @raymondk made their first contribution in #3779
- @r-birkner made their first contribution in #3783
- @anchpop made their first contribution in #3814
- @eichhorl made their first contribution in #3809
- @Sawchord made their first contribution in #3869
- @berestovskyy made their first contribution in #3883
- @luc-blaeser made their first contribution in #3890
Full Changelog: 0.20.0-icsystemtest.0...0.24.2-beta.0