You are on page 1of 1

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
Last updated 2 months ago. Help improve this document in the forum.

Release notes: Snapcraft 4.2


The team behind Snapcraft is pleased to announce the release of Snapcraft 4.2.
Highlights for this release include:
 new ROS 2 (Foxy Fitzroy) support
 cmake Ninja generator with core20
 improved track and channel listing
For general details, including installation instructions, see Snapcraft overview, or take a look at Snapcraft release
notes for other Snapcraft releases.
Special thanks to the contributors that helped to make this release
happen: @GamePad64, @Saviq, @cjp256, @igorljubuncic and @sergiusens.

New Features
ROS 2 Foxy Fitzroy extension and updated colcon plugin
Snapcraft 4.2 includes experimental support for Robot Operating System (ROS 2) Foxy Fitzroy LTS with a
new extension and colcon plugin when used with core20.
For example, ROS 2 applications can now be built with a snapcraft.yaml as simple as:
name: ros2-talker-listener
version: '0.1'
summary: ROS2 Talker/Listener Example
description: |
This example launches a ROS2 talker and listener.

grade: devel
confinement: strict
base: core20

parts:
ros-demos:

You might also like