Deprecation notices

This document contains a list of snapcraft deprecation notices and recommendations:

  • DN1: The snap keyword has been replaced by prime
  • DN2: Custom plugins should now be placed in snap/plugins
  • DN3: Assets in setup/gui should now be placed in snap/gui
  • DN4: The history command has been renamed to list-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 the pack command
  • DN7: The prepare keyword has been replaced by override-build (or override-pull)
  • DN8: The build keyword has been replaced by override-build
  • DN9: The install keyword has been replaced by override-build
  • DN10: The version-script keyword has been replaced by snapcraftctl set-version
  • DN11: The push keywords have been replaced by upload equivalents
  • DN12: The registered and list-registered keywords has been replaced by list
  • DN13: Support for legacy core projects will be removed in Snapcraft 5.0 (expected July 22, 2021)

Last updated 2 years ago.