dfx canister install and dfx deploy takes options --skip-pre-upgrade and --wasm-memory-persistence.
dfx deploy --mode now takes the same possible values as dfx canister install --mode: install, reinstall, upgrade, auto.
To maintain backward compatibility, a minor difference between the two commands remains.
If the --mode is not set, dfx deploy defaults to "auto", while dfx canister install defaults to "install".
SDK-1779
Description
dfx canister install
anddfx deploy
takes options--skip-pre-upgrade
and--wasm-memory-persistence
.dfx deploy --mode
now takes the same possible values asdfx canister install --mode
: install, reinstall, upgrade, auto.To maintain backward compatibility, a minor difference between the two commands remains. If the
--mode
is not set,dfx deploy
defaults to "auto", whiledfx canister install
defaults to "install".How Has This Been Tested?
e2e tests in install.bash and deploy.bash.
Checklist: