These are the release notes for Snapcraft 3.4.
For general details, including installation instructions, see Snapcraft overview, or take a look at Snapcraft release notes for other Snapcraft releases.
LXD can now be used as a build provider.
To use LXD, the snapcraft lifecycle commands, pull, build, stage and prime, together with clean and snapcraft itself, need use the --use-lxd option.
$ snapcraft --use-lxd
With LXD, you can perform many of the same operations you can when working with Multipass, such as:
--shell
--shell-after
--debug
LXD support is currently under-construction. Future snapcraft releases by break storage setups, default profiles and LXD-based projects.
When triggering builds in a clean environment, it is sometimes desirable to run snap try prime
from a local prime directory.
If it hasn’t been run before, snapcraft try
runs through the lifecycle up to the prime stage and offers the prime directory locally.
The go plugin now works more broadly when using classic
confinement. This helps avoid specifying no-patchelf
for parts that fail to patch correctly.
The catkin plugin has been enhanced to support stage-snaps to satisfy dependencies.
A detailed write up can be found on the Snapcraft blog.
The issues and features worked on for 3.4 can be seen on the 3.4 launchpad milestone which are reflected in the following change list:
Last updated 5 years ago.