github canonical/snapcraft 5.0

latest releases: 8.4.4, 7.5.8, 8.4.3...
3 years ago

Special thanks to the contributors that made this release happen: @3v1n0, @Blacksmoke16, @artivis, @cjp256, @cmatsuoka, @jriddell, @kyrofa and @sergiusens

This release has an emphasis on cleaning up the code base to remove the use of core. This will be transparently supported on https://snapcraft.io/build and Launchpad by using Snapcraft's 4.x channel track.

Stories

Snapcraft Metrics command

Add the possibility of viewing the status of a given snaps population segregated by OS/distribution

Documentation for how to retrieve metrics for a snap can be found on https://snapcraft.io/docs/t/snapcraft-metrics/25732

Add Metadata Links to snapcraft.yaml

New feature to add links to snapcraft.yaml in a friendly way that get translated into a more wire protocol friendly syntax for snap.yaml which in turn would be consumed by the Snap Store for presentation purposes. Links would be those like: donation url, contact, issue or bug tracking, etc.

The reference documentation has been updated at https://snapcraft.io/docs/snapcraft-yaml-reference

Tasks

Remove snapcraft-legacy re-exec entry point

Snapcraft has for the longest time, since the introduction of bases, kept two code bases inside the same product. When no base is detected, Snapcraft would have re-executed itself into the old code base. The absence of a base in snapcraft.yaml triggered this behavior for backwards compatibility. Since the absence of a base essentially meant building for an Ubuntu 16.04 target and this target has entered ESM, it is also being removed and another reason for the version bump to 5.0. Publishers needing continued support for base: core will be using the 4.x track.

More information about this transition can be found on https://snapcraft.io/docs/snapcraft-esm

Full list of changes

Don't miss a new snapcraft release

NewReleases is sending notifications on new releases.