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’

Last updated 5 days ago. Help improve this document in the forum.