Releases: dfinity/icp-cli
Releases · dfinity/icp-cli
v0.1.0-beta.4
Release Notes
- fix: More reliably detect occupied ports' project locations across containers and backgrounded networks
- feat: Bind Docker networks to 127.0.0.1
- feat: Add IC options to network manifest (
ii,nns,subnets,artificial-delay-ms) - feat: Release for Windows
- feat: Add safety controls for
--set-controllerand--remove-controller- Warn and prompt for confirmation when removing yourself from controllers
- Add
-f/--forceflag to skip confirmation prompts
- feat: Show
nameincanister statuscommand - feat:
icp canister metadata <canister> <metadata section>now fetches metadata sections from specified canisters - fix: Validate explicit canister paths and throw an error if
canister.yamlis not found - feat!: Rename the implicit "mainnet" network to "ic"
- The corresponding environment "ic" is defined implicitly which can be overwritten by user configuration.
- The
--mainnetand--icflags are removed. Use-n/--network ic,-e/--environment icinstead.
- feat: Allow overriding the implicit
localnetwork and environment. - chore: get rid of
TCYCLESmentions and replace them withcycles - feat: Add
icp cycles transferas replacement foricp token cycles transfer - chore!: remove support for
cyclesinicp token. Useicp cyclesinstead - chore!: Change display format of token and cycles amounts
- feat: Token and cycles amounts now support new formats. Valid examples:
1_000,1k,1.5m,1_234.5b,4T - feat: Allow installing WASMs that are larger than 2MB
- feat: Add
icp identity account-idcommand to display the ICP ledger account identifier- Supports
--of-principalflag to convert a specific principal instead of the current identity
- Supports
- feat:
icp token transfernow accepts AccountIdentifier hex strings for ICP ledger transfers- Legacy ICP ledger transfers using AccountIdentifier are automatically used when a 64-character hex string is provided
- AccountIdentifier format is only supported for the ICP ledger; other tokens require Principal format
- feat:
icp canister callcan now take arguments in hex - feat: allow specifying paths to files that contain canister arguments:
- in
icp canister call <canister> <function> <argument>the argument can now point to a file that contains hex or Candid - in
icp canister install <canister> <argument>the argument can now point to a file that contains hex or Candid - in
icp.yaml, a canister'sinstall_argsfield can now point to a file that contains hex or Candid
- in
Install icp-cli 0.1.0-beta.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dfinity/icp-cli/releases/download/v0.1.0-beta.4/icp-cli-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/dfinity/icp-cli/releases/download/v0.1.0-beta.4/icp-cli-installer.ps1 | iex"Download icp-cli 0.1.0-beta.4
| File | Platform | Checksum |
|---|---|---|
| icp-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| icp-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| icp-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| icp-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| icp-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
v0.1.0-beta.3
Release Notes
- feat: Remove requirement that the user install
icp-cli-network-launcher, auto-install it on first use - feat: Support keyring storage and password-protected encryption for identity keys (and make keyring the default)
- fix: Use EOP when upgrading motoko canisters
- feat: Network startup verbose output now requires
--debugflag - feat: Add
icp network statuscommand to display network information- Displays port, root key, and candid UI principal (if available)
- Supports
--jsonflag for JSON output
- feat:
icp deploynow displays URLs to interact with the deployed canister(s) - feat: Allow overriding the
localnetwork in the config file- This makes it more convenient to configure the default environment
- feat: Validate call argument against candid interface
- The interface is fetched from canister metadata onchain
- feat: Accept an environment as argument for network commands
- feat: call argument building interactively using candid assist
- feat: specifying canister
init_argsinicp.yaml - fix: overriding canister settings from the
canisterssection oficp.yamlwith settings from theenvironmentssection now works as intended
Install icp-cli 0.1.0-beta.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dfinity/icp-cli/releases/download/v0.1.0-beta.3/icp-cli-installer.sh | shDownload icp-cli 0.1.0-beta.3
| File | Platform | Checksum |
|---|---|---|
| icp-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| icp-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| icp-cli-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| icp-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
v0.1.0-beta.2
What's Changed
- fix: When deleting a canister, also delete the id from id store by @viviveevee in #229
- chore: make the list commands consistent by @raymondk in #230
- chore!: rename
icp network runtoicp network startby @raymondk in #231 - docs: Add more info to the docs by @raymondk in #232
- feat: Docker container integration by @adamspofford-dfinity in #233
- chore: Update CHANGELOG with new features and fixes by @raymondk in #234
- feat: Pull docker image if not found by @adamspofford-dfinity in #235
- chore: Enable linux-arm64 builds by @adamspofford-dfinity in #236
- docs: fix typo in example manifest by @raymondk in #238
- feat: install candid UI when start network by @lwshang in #237
- fix: autodetect alternate sockets with
docker contextby @adamspofford-dfinity in #240 - chore: Add v0.1.0-beta.2 to CHANGELOG by @lwshang in #242
Full Changelog: v0.1.0-beta.1...v0.1.0-beta.2