github canonical/snapcraft 6.0
Snapcraft 6.0

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

Changes to take notice of

Snapcraft on core20

In itself, this is not a significant change to users of Snapcraft if it not were for the fact that this means that Snapcraft can now create snaps for RISCV and as of this version, no longer can target i386 for which users requiring support for i386 would need to switch to using Snapcraft's 5.0 track as announced on https://snapcraft.io/blog/snapcraft-6-0-is-around-the-corner. If using the Snapcraft build service, this task is mostly handled as described on the post.

Experimental --offline

When using --offline with Snapcraft, caching will be much more aggressive for which everything that can be solved without network access, will be. This works well for already pulled projects where dependency on the network may not be required.

What's Changed

  • schema: add "microk8s" to the list of allowed system users by @mardy in #3545
  • schema: add environment support for hooks (CRAFT-424) by @cjp256 in #3565
  • lint: disable new shellcheck warnings (CRAFT-482) by @cjp256 in #3574
  • snaps: eliminate extra call to query snap info (CRAFT-479) by @cjp256 in #3573
  • extensions: preload bindtextdomain from content snap if it exists by @kenvandine in #3569
  • cli & providers: pass part names for lifecycle commands (CRAFT-481) by @cjp256 in #3572
  • ROS V2 plugins: resolve conditional dependencies by @artivis in #3570
  • ROS 2 plugins v2 misc fixes by @artivis in #3566
  • cli: add experimental --offline option (CRAFT-480) by @cjp256 in #3577
  • snap: move base to core20 (CRAFT-509) by @sergiusens in #3579
  • github: update snapcore/action-build dep by @sergiusens in #3582
  • environment-setup-local: do not build rust by @xnox in #3580
  • packaging: load the correct libraries on riscv64 by @xnox in #3581
  • build providers: snapcraft's new base is core20 (CRAFT-544) by @sergiusens in #3583
  • repo: use host state for apt cache (CRAFT-488) by @cmatsuoka in #3585
  • yaml: detect and log warning on duplicate keys in snapcraft.yaml (CRAFT-553) by @cjp256 in #3518
  • lifecycle: init with core20 (CRAFT-517) by @sergiusens in #3587
  • snap: patch patchelf on riscv64 (CRAFT-566) by @sergiusens in #3588
  • snap: correct patch apply for patchelf by @sergiusens in #3589
  • snap: correct patch path quotes by @sergiusens in #3590
  • extensions: conditionally prepend to LIBVA_DRIVERS_PATH instead of overriding it by @oSoMoN in #3591
  • Ported font rendering fix from the desktop helpers. by @kenvandine in #3586
  • extensions/desktop: do not export a fixed QT_QPA_PLATFORM_THEME by @sergiusens in #3594
  • lifecycle, providers: skip network operations in offline mode (CRAFT-587) by @cmatsuoka in #3593

New Contributors

Full Changelog: 5.0.1...6.0

Don't miss a new snapcraft release

NewReleases is sending notifications on new releases.