The latest version of snapd, the service powering snaps, has just landed in Ubuntu 16.04, here are some of the highlights of this release.
New commands: buy, find private, disable, revert
A lot of new commands are available, allowing you, for example, to downgrade, disable and buy snaps:
- When logged into a store,
snap find --privatelets you see snaps that have been shared with you privately.
- The new
buycommand presents you a choice of payment backends for non-free snaps.
snap disableallows you to disable specific snaps. A disabled snap won't be updated or launched anymore. It can be enabled with the
snap revertallows you to revert a snap to its previous installed version.
refreshcommand now works with snaps installed in
Snap try and broken states handling
When using the
snap try command to mount a folder containing a snap tree as an installed snap, you can end up with a broken snap if you happen to delete the folder without removing the snap first.
This "broken" state is now acknowledged as a potential snap state and handled gracefully by the system. The
broken tag now appears next to the snap in the
snap list output and you can remove it with
getsockopthas been allowed for connected
/usr/bin/localeaccess is now part of the default confinement policy.
- A new
hardware-observeinterface that gives snaps read access to hardware information from the system. See the implementation for details.
Snapcraft has also seen a new release (2.13) that brings:
- Enhanced Ubuntu Store integration with the introduction of
snapcraft push(which deprecates
snapcraft release. These are very important pieces to the Continuous Integration aspect of snapcraft, you will have more to read on this front very soon!
- A new
plainboxplugin which allows parts containing a Plainbox test collection.
- Many improvements on sanitizing cloud parts declarations.
There has also been a strong focus on improving Java plugins with, for example:
- Improvements to the
mavenplugins (support for targets).
- Introduction of a
To learn how to use these plugins, the easiest way is to run
snapcraft help ant,
snapcraft help maven and
snapcraft help gradle.