Skip to content

Releases: canonical/snapcraft

Snapcraft 2.25 has been released

19 Jan 02:44
Compare
Choose a tag to compare

Hello snapcrafters!

We are pleased to announce the release of version 2.25 of snapcraft has been released:
https://launchpad.net/snapcraft/+milestone/2.25

Contributions

This release has seen some contributions from outside of the snapcraft core team, so we want to give a shout out to these folks, here's a team thank you for:

  • Chris Holcombe
  • Jonathon Love
  • Kit Randel
  • Marco Trevisan
  • Matthew Aguirre
  • Olivier Tilloy

New in this release

Support for hooks

Hooks support has arrived. There are currently two ways to use them, either with a by-convention path or by using a part and installing into an expected path in the part's install directory.

Find out more about this feature at https://github.com/snapcore/snapcraft/blob/master/docs/hooks.md

Desktop file support

Aside from the by-convention functionality already in place, you can now declare a desktop file from your app within an apps entry using a path relative to the prime directory pointing to a desktop file, snapcraft will take care of the rest. So if your project already has a desktop file, say in ./prime/usr/share/applications/my-app.desktop all you need to do is something like this:

apps:
    my-app:
        command: my-app
        desktop: usr/share/applications/my-app.desktop

That said, it is worth mentioning that the by-convention mechanism is still supported.

rust plugin

The rust plugin has seen an improvement and a couple of bug fixes.

The added feature allow for one to set rust-features which is a list of strings used to build optional dependencies (run snapcraft help rust for a bit more details).

The bug fixes relate to:

  • Allowing to build with Cargo.toml not in the base source directory.
  • Repecting the other rust plugin properties: rust-channel and rust-revision.

nodejs plugin

The plugin now correctly downloads dependencies in package.json to the correct location.

godeps plugin

This plugin is now no longer affected by GOBIN being set in the environment.

deb sources

deb sources are now being handled with python-debian which does incorrecly handle symlinks.

More modes for daemon's in apps

You can now set the daemon property in an apps entry to notify (and it will follow systemd's expected behavior for this service type).

Deprecations

Some new deprecations have been introduced, for parts the prime keyword is now favored over the snap one. When using the snap keyword a link to http://snapcraft.io/docs/deprecation-notices/dn1 will be presented with more information and the migration path.

Plugins that are part of snapcraft that were displaying DEPRECATED notices have all been updated to use the newer plugin API.

Classic confinement

Some improvements were made to classic confinement with a more comprehensive error when the prerequisites to build a classic confined snap are not met.

parts

Improvements were made to the core parts management of snapcraft:

  • stage entries now don't need to be replicated in prime.
  • cleaning all parts works correctly even if snapcraft.yaml is broken.

Others

For the full list of things available on 2.25 feel free to check https://launchpad.net/snapcraft/+milestone/2.25

Final Notes

To get the source for this release check it out at
https://github.com/snapcore/snapcraft/releases/tag/2.25

A great place to collaborate and discuss features, bugs and ideas on
snapcraft is [email protected] mailing list or on the snapcraft
channel on Rocket Chat https://rocket.ubuntu.com/channel/snapcraft

To file bugs, please go to https://bugs.launchpad.net/snapcraft/+filebug.

Happy snapcrafting!
-- Sergio and the team

Snapcraft 2.24 has been released

22 Dec 11:31
Compare
Choose a tag to compare

Hello snapcrafters!

We are pleased to announce the release of version 2.24 of snapcraft has been released:
https://launchpad.net/snapcraft/+milestone/2.24

Here's the list of features that you can find in this new release:

  • Experimental classic confinement allowing to create snaps for non pure snappy systems and have them see the full file system.
  • alias support for app entries in apps, which allows multiple top level commands per snap.
  • New core part atrritbures, prepare, build and install, which support scriptlets to run before, replacing and after the build step of a plugin respectively (snapcraft help plugins for more details).
  • New command, list-registered, to have a view of your snaps on the store and some relevant attributes.

Many minor fixes are available as well:

  • ldd crawling for system libraries have been improved with more standard library paths to check within the stage directory.
  • Multiple core plugins have been updated to not show deprecation messages.
  • Multiple parser improvements for shared parts on the wiki.

This release has seen some contributions from outside of the snapcraft core team, so we want to give a shout out to these folks, here's a team thank you for:

  • Albert Astals Cil
  • Celso Providelo
  • Chris MacNaughton
  • Larry Price
  • Mathew Aguirre

To get the source for this release check it out at
https://github.com/ubuntu-core/snapcraft/releases/tag/2.24

A great place to collaborate and discuss features, bugs and ideas on
snapcraft is [email protected] mailing list or on the snapcraft
channel on Rocket Chat https://rocket.ubuntu.com/channel/snapcraft

To file bugs, please go to https://bugs.launchpad.net/snapcraft/+filebug.

Happy snapcrafting!
-- Sergio and the team

Snapcraft 2.23 has been released

13 Dec 01:18
Compare
Choose a tag to compare

Hello snapcrafters!

We are pleased to announce the release of version 2.23 of snapcraft has been released:
https://launchpad.net/snapcraft/+milestone/2.23

Here's the list of features that you can find in this new release:

  • General cache mechanism for future features that require it.
  • Plumbing layer in place for pushing deltas instead of full sized snaps.
  • Source management for parts is now in the core making it much more robust (and core).
  • FTP is now a valid source.
  • New command snapcraft enable-ci to make it easy for developers to enable continuous delivery when using travis for continuous integration to push to a store development channel.

Many minor fixes are available as well:

  • The nodejs plugin now correctly manages run statements.
  • The cmake plugin now includes the capabilities of the make plugin.
  • The parts parser now supports remote dependencies correctly.
  • build-packages are now apt marked as automatically installed.
  • bash completion improvements when autocompleting commands that take snap files.
  • Proper change tracking for all core properties of a part.
  • Improved terminal support when TERM=dumb is set or not on a tty.
  • Store error improvements for registering and login.

Some testing improvements have been made too:

  • Migrated to testtools for more comprehensive test suites.
  • Replaced subTests with testscenarios.
  • Added tooling to build external snaps as part of our release process

This release has seen some contributions from outside of the snapcraft core team, so we want to give a shout out to these folks, here's a team thank you for:

  • Celso Providelo
  • Kelvin Li
  • Kit Randel
  • Larry Price
  • Marco Trevisan
  • Parameswaran Sivatharman

To get the source for this release check it out at
https://github.com/ubuntu-core/snapcraft/releases/tag/2.23

A great place to collaborate and discuss features, bugs and ideas on
snapcraft is [email protected] mailing list or on the snapcraft
channel on Rocket Chat https://rocket.ubuntu.com/channel/snapcraft

To file bugs, please go to https://bugs.launchpad.net/snapcraft/+filebug.

Happy snapcrafting!
-- Sergio and the team

Snapcraft 2.22 has been released

15 Nov 13:44
Compare
Choose a tag to compare

Hello snapcrafters!

We are pleased to announce the release of version 2.22 of snapcraft has been released:
https://launchpad.net/snapcraft/+milestone/2.22

Here's the list of features that you can find in this new release:

  • Support for building gadget snaps.
  • RPM as a source entry.

Some bugs and minor improvements have been made in this micro release as well.

This release has seen some contributions from outside of the snapcraft core team, so we want to give a shout out to these folks, here's a team thank you for:

  • Neal Gompa
  • Kit Randel
  • Stéphane Graber

To get the source for this release check it out at
https://github.com/ubuntu-core/snapcraft/releases/tag/2.22

A great place to collaborate and discuss features, bugs and ideas on
snapcraft is [email protected] mailing list or on the snapcraft
channel on Rocket Chat https://rocket.ubuntu.com/channel/snapcraft

To file bugs, please go to https://bugs.launchpad.net/snapcraft/+filebug.

Happy snapcrafting!
-- Sergio and the team

Snapcraft 2.21 has been released

04 Nov 10:02
Compare
Choose a tag to compare

Hello snapcrafters!

We are pleased to announce the release of version 2.21 of snapcraft has been released:
https://launchpad.net/snapcraft/+milestone/2.21

Here's the list of features that you can find in this new release:

  • More bash completion goodness
  • source-commit allows specifying a revision number/hash for source entries in parts.

Some bugs and minor improvements have been made in this micro release as well.

This release has seen some contributions from outside of the snapcraft core team, so we want to give a shout out to these folks, here's a team thank you for:

  • Chris Wayne
  • Stéphane Graber

To get the source for this release check it out at
https://github.com/ubuntu-core/snapcraft/releases/tag/2.21

A great place to collaborate and discuss features, bugs and ideas on
snapcraft is [email protected] mailing list or directly in
the #snappy channel on irc.freenode.net.

To file bugs, please go to https://bugs.launchpad.net/snapcraft/+filebug.

Happy snapcrafting!
-- Sergio and the team

Snapcraft 2.20 has been released

01 Nov 06:28
Compare
Choose a tag to compare

Hello snapcrafters!

We are pleased to announce the release of version 2.20 of snapcraft has been released:
https://launchpad.net/snapcraft/+milestone/2.20

Here's the list of features that you can find in this new release:

  • A new waf plugin. Run snapcraft help waf to learn more about it.
  • More store integration:
    • channel closing is now possible,
    • you can now look at the status channel map of your snap with the status commad,
    • and check the revision history of the snap with the history command.
  • It is now possible to create keys directly from snapcraft.

There has been a plethora of bug fixes in this release related to the go, python and catkin plugins, documentation updates, user experience and messaging improvements. More information about the specifics for these can be read about on the milestone page https://launchpad.net/snapcraft/+milestone/2.20

This release has seen many contributions from outside of the snapcraft core team, so we want to give a shout out to these folks, here's a team thank you for:

  • Colin Watson
  • Daniel Holbach
  • Domas Monkus
  • Celso Providelo
  • Maximiliano Bertacchini
  • Stéphane Graber
  • Roberto Alsina

To get the source for this release check it out at
https://github.com/ubuntu-core/snapcraft/releases/tag/2.20

A great place to collaborate and discuss features, bugs and ideas on
snapcraft is [email protected] mailing list or directly in
the #snappy channel on irc.freenode.net.

To file bugs, please go to https://bugs.launchpad.net/snapcraft/+filebug.

Happy snapcrafting!
-- Sergio and the team

Snapcraft 2.19 has been released

05 Oct 21:39
Compare
Choose a tag to compare

Hello snapcrafters!

We are pleased to announce the release of version 2.19 of snapcraft has been tagged:
https://launchpad.net/snapcraft/+milestone/2.19

Here's the list of features:

  • The catkin plugin now support kinetic.
  • The nodejs plugin can now make use of run commands.
  • Build signing has now been implemented with a top-level sign-build command
  • Support for gating and validating snaps has been added through the gated and validate commands.

The latter make use of all the assertions work that has been worked on on the snapd, snapcraft and store side.
As usual there are a handful of bugs fixed in the release which can be referred to on the milestone page.

This release has seen many contributions from outside of the snapcraft core team, so we want to give a shout out to these folks, here's a team thank you for:

  • Celso Providelo
  • Chris Halse Rogers
  • Roberto Alsina

To get the source for this release check it out at
https://github.com/ubuntu-core/snapcraft/releases/tag/2.19

A great place to collaborate and discuss features, bugs and ideas on
snapcraft is [email protected] mailing list or directly in
the #snappy channel on irc.freenode.net.

To file bugs, please go to https://bugs.launchpad.net/snapcraft/+filebug.

Happy snapcrafting!
-- Sergio and the team

Release changelog for 2.18.1

28 Sep 20:55
Compare
Choose a tag to compare

Hello snapcrafters!

We are pleased to announce the release of version 2.18.1 of snapcraft:
https://launchpad.net/snapcraft/+milestone/2.18.1

It is still spring (in some hemispheres), in this point release we bring in:

  • Fixes to the way ordered dicts are used in the parts loader.
  • The python plugin does not filter out .pth files anymore.
  • snapcraft search now returns an ordered list of mathing remote parts.

Details can be seen on the milestones page.

This release has seen many contributions from outside of the snapcraft
core team, so we want to give a shout out to these folks, here's a team
thank you for:

  • Carlo Lobrano
  • Sam Yaple

To consume the latest snapcraft release on Xenial Xerus (16.04), we
suggest you install the snapcraft package from the Ubuntu Archives:

sudo apt update
sudo apt install snapcraft

To get the source for this release check it out at
https://github.com/ubuntu-core/snapcraft/releases/tag/2.18.1

A great place to collaborate and discuss features, bugs and ideas on
snapcraft is [email protected] mailing list or directly in
the #snappy channel on irc.freenode.net.

To file bugs, please go to https://bugs.launchpad.net/snapcraft/+filebug.

Happy snapcrafting,
-- Sergio and the team

Snapcraft 2.18 has been released

28 Sep 20:49
Compare
Choose a tag to compare

Hello snapcrafters!

We are pleased to announce the release of version 2.18 of snapcraft:
https://launchpad.net/snapcraft/+milestone/2.18

With the coming of spring (in some hemispheres), the focus switched to a spring
cleaning mode; there are some reasons though for the version bump due to this
feature: deb files can now be used as sources.

Among the fixes worth mentioning are:

  • the lifecycle for parts is now faster when it comes to calculating part dependencies.
  • less time spent during priming.
  • macaroons are now refreshed every time you talk to the store.
  • cleanbuild now uses the built-in image remotes.
  • replacement of deprecated store apis in use.
  • filesets now work with remote parts.
  • general fixes to match the UX.
  • general fixes to the following plugins: make, dump, python and nodejs.

Details can be seen on the milestones page.

This release has seen many contributions from outside of the snapcraft
core team, so we want to give a shout out to these folks, here's a team
thank you for:

  • Celso Providelo
  • Colin Watson
  • Enrique Hernández Bello
  • Evan Dandrea
  • James Lucas
  • Jonathon Love
  • Sam Yaple

To consume the latest snapcraft release on Xenial Xerus (16.04), we
suggest you install the snapcraft package from the Ubuntu Archives:

sudo apt update
sudo apt install snapcraft

To get the source for this release check it out at
https://github.com/ubuntu-core/snapcraft/releases/tag/2.18

A great place to collaborate and discuss features, bugs and ideas on
snapcraft is [email protected] mailing list or directly in
the #snappy channel on irc.freenode.net.

To file bugs, please go to https://bugs.launchpad.net/snapcraft/+filebug.

Happy snapcrafting,
-- Sergio and the team

Snapcraft 2.17 has been released

15 Sep 17:08
Compare
Choose a tag to compare

Hello snapcrafters!

We are pleased to announce the release of version 2.17 of snapcraft:
https://launchpad.net/snapcraft/+milestone/2.17

The highlights in this release are:

  • A python plugin rewrite, combining the python2 and python3 plugins into one. This new plugin creates
    leaner snaps, works better with regards to build environments, separates stage-packages from package brought
    in with pip and solves many latent bugs from the previous incantation of the python plugins.
  • More assertion related goodies, snapcraft-register-key and snapcraft list-keys are new commands added
    to this release.
  • The organize keyword for parts now supports globbing.

As usual there is a regular set of bugfixes in this release too. Those can be seen in the milestone referred to.

This release has seen many contributions from outside of the snapcraft
core team, so we want to give a shout out to these folks, here's a team
thank you for:

  • Alexandre Abreu
  • Colin Watson
  • Sam Yaple

To consume the latest snapcraft release on Xenial Xerus (16.04), we
suggest you install the snapcraft package from the Ubuntu Archives:

sudo apt update
sudo apt install snapcraft

To get the source for this release check it out at
https://github.com/ubuntu-core/snapcraft/releases/tag/2.17

A great place to collaborate and discuss features, bugs and ideas on
snapcraft is [email protected] mailing list or directly in
the #snappy channel on irc.freenode.net.

To file bugs, please go to https://bugs.launchpad.net/snapcraft/+filebug.

Happy snapcrafting,
-- Sergio and the team