deprecation-notices¶
This document contains a list of snapcraft deprecation notices and recommendations:
DN1: The
snap
keyword has been replaced byprime
DN2: Custom plugins should now be placed in
snap/plugins
DN3: Assets in
setup/gui
should now be placed insnap/gui
DN4: The
history
command has been renamed tolist-revisions
DN5: Aliases are now handled by the Snap Store, and shouldn’t be placed in the snap
DN6: Use of the
snap
command with a directory has been deprecated in favour of thepack
commandDN7: The
prepare
keyword has been replaced byoverride-build
(oroverride-pull
)DN8: The
build
keyword has been replaced byoverride-build
DN9: The
install
keyword has been replaced byoverride-build
DN10: The
version-script
keyword has been replaced bysnapcraftctl set-version
DN11: The
push
keywords have been replaced byupload
equivalentsDN12: The
registered
andlist-registered
keywords has been replaced bylist
DN13: Support for legacy
core
projects will be removed in Snapcraft 5.0 (expected July 22, 2021)