This document contains a list of snapcraft deprecation notices and recommendations:
-
DN1: The
snapkeyword has been replaced byprime -
DN2: Custom plugins should now be placed in
snap/plugins -
DN3: Assets in
setup/guishould now be placed insnap/gui -
DN4: The
historycommand 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
snapcommand with a directory has been deprecated in favour of thepackcommand -
DN7: The
preparekeyword has been replaced byoverride-build(oroverride-pull) -
DN8: The
buildkeyword has been replaced byoverride-build -
DN9: The
installkeyword has been replaced byoverride-build -
DN10: The
version-scriptkeyword has been replaced bysnapcraftctl set-version -
DN11: The
pushkeywords have been replaced byuploadequivalents -
DN12: The
registeredandlist-registeredkeywords has been replaced bylist -
DN13: Support for legacy
coreprojects will be removed in Snapcraft 5.0 (expected July 22, 2021)