Snapcraft 3.1 is now available as a minor update to the Snapcraft 3.x series, adding build environment improvements to allow you to be once again able to clean parts using the “base” keyword while running the “snapcraft clean ” command, and offering you a more intuitive cleaning of steps from specific parts.
The “cmake” and “rust” plugins have been updated as well in Snapcraft 3.1. While the “cmake” plugin gets two new features to allow you to package more applications in the Snap universal binary format, such as KDE apps, the “rust” plugin was revamped to work better with the non-legacy rustup tool.
Also improved in the Snapcraft 3.1 release is the appstream metadata extractor, which can now properly filter xml:lang and handle tags inside connected nodes. Moreover, Snapcraft will now accurately find desktop files from appstream “launchable” entries, as well as by falling back to legacy mode and fetch it from the appstream id.
Last but not least, this release improves support for the Mac OS X platform when using the Snapcraft tool via Homebrew. As such, users will be prompted to install the “multipass” tool when they launch Snapcraft for the first time if it’s not already installed.
Submitted by: Arnfried Walbrecht