Skip to content

Releases: canonical/snapcraft

8.3.2

05 Aug 16:37
8.3.2
952a8e0
Compare
Choose a tag to compare

What's Changed

  • chore: cherry-pick fixes to hotfix/8.3 by @mr-cal in #4949
  • fix: fix Python venv in core24 classic snaps by @tigarmo in #4946

For a summary of changes, see the changelog.

Full Changelog: 8.3.1...8.3.2

8.3.1

08 Jul 13:43
8.3.1
1d17810
Compare
Choose a tag to compare

Core

Bases

core24

  • Support all as a target with build-for: [all] (#4854)
  • Ensure Craft Providers provider (LXD or Multipass) is available before launching a build environment
  • Improve presentation of snapcraft.yaml model errors

Metadata

  • Validate that update_contact, donation, vcs-browser, bugtracker, and homepage fields adopted from an appstream metadata file are valid URLs or email addresses
  • Ensure that contact, donation, source-code, issues, and website fields in a snapcraft.yaml take priority over appstream metadata (#4890)

Remote build

  • Allow building core22 snaps with build-for: [all]
  • Support reading Launchpad credentials from the previous location (#4889)
    • If launchpad credentials do not exist in the new location ($XDG_DATA_DIR/snapcraft/launchpad-credentials) introduced in 8.2.0, then load credentials from the previous location ($XDG_DATA_DIR/snapcraft/provider/launchpad/credentials) and emit a deprecation notice
    • This behavior applies to the new and legacy remote builders
  • Require core20 snaps to use the legacy remote builder (#4886)

Documentation

What's Changed

  • build(deps): bump urllib3 from 1.26.18 to 1.26.19 by @dependabot in #4859
  • chore: use strtobool from craft-application by @mr-cal in #4875
  • docs: add explanation for remote build by @mr-cal in #4882
  • feat: support "build-for: [all]" in core24 by @mr-cal in #4873
  • build(deps): bump urllib3 from 1.26.18 to 1.26.19 in /docs/.sphinx by @dependabot in #4887
  • meta: override the links if project links are set and check the links from appstream by @soumyaDghosh in #4888
  • fix(remotebuild): use legacy launchpad credentials if they exist by @mr-cal in #4892
  • fix(remotebuild): require core20 snaps to use the legacy remote builder by @mr-cal in #4895
  • build(deps): add 'validators' to install_requires by @mr-cal in #4898

Full Changelog: 8.3.0...8.3.1

8.3.0

27 Jun 15:08
8.3.0
d379de3
Compare
Choose a tag to compare

Core

Bases

Fixes a bug where snaps using bases core22-desktop and core24-desktop could not be built (#4818).

Core22

Warns when multiple snaps are going to be built in destructive mode because it may cause unexpected behavior (#4685, #4356).

Stage packages

Improves logging shows which package is being fetched.

Sources

Adds support for parts to source 7z archives.

Improves error messages when sources can not be fetched.

Plugins

Flutter

Adds curl as a build-package for flutter parts (#4804).

ROS 2 Jazzy

Adds support for the new ROS 2 Jazzy extension which lets you snap ROS 2 applications on core24 (#4791). Similar to ROS 2 Humble for core22, content-sharing is supported (#4828). For more information, see https://snapcraft.io/docs/ros2-jazzy-extension and https://snapcraft.io/docs/ros2-jazzy-content-extension.

NPM

Adds various improvements to the NPM plugin for core22 and core24:

  • The npm-node-version option now accepts an NVM-style version identifier
  • Verify SHA256 checksums after node.js download (canonical/craft-parts#717)
  • Use new-style npm-install commands if the npm version is newer than 8.x
  • Set NODE_ENV to production by default

List plugins

Fixes a bug where snapcraft list-plugins would fail to run in a core24 project directory (#4830).

Updates snapcraft list-plugins to show a list of core24 plugins instead of core22 plugins when not in a project directory (#4830).

Extensions

Gnome

The gnome extension is now stable for core24 and integrates with the gpu-2404 SDK (#4744). See here for more information.

Fixes GI_TYPELIB_PATH and XDG_DATA_DIRS paths in the Gnome extension's build environment (#4798).

KDE Neon 6

Fixes paths to QtWebEngineProcess in the desktop launcher (#4745).

Expand extensions

Fixes a bug where snapcraft expand-extensions could not parse a snapcraft.yaml file containing the platforms keyword.

Components

Component metadata now includes the provenance keyword from a snapcraft.yaml file (#4827).

Metadata

Adds support for adopting more metadata fields from a project's appstream file:

  • license
  • contact
  • source-code
  • issues
  • websites
  • donations

Metrics

Adds support for snapcraft metrics to retrieve the metrics installed_base_by_architecture and weekly_installed_base_by_architecture (#4735).

Names

Adds output formatting to snapcraft names with --format. Supported formats are table and json (#4778).

Init

Updates snapcraft init create a core24 project instead of a core22 project (#4830).

Documentation

Updates Snapcraft's documentation to use the canonical-sphinx theme.

Adds reference documentation for more plugins (#4811):

  • dotnet
  • ant
  • autotools
  • cmake
  • go
  • make
  • meson
  • nil
  • npm
  • qmake
  • scons

Updates reference documentation for lifecycle commands to be based on core24 lifecycle commands instead of core22 lifecycle commands (#4830).

Implicit slot and plug assignment

Improves the warning for implicit slot and plug assignment from top-level slot and plug definitions now includes a link to new documentation (#4765).

What's Changed

New Contributors

Full Changelog: 8.2.12...8.3.0

8.2.12

21 Jun 20:33
8.2.12
Compare
Choose a tag to compare

Core

Fixes an issue where core24 snaps would stage python packages already included in the core24 base snap (#4865)

Store

Fixes an issue where store-related error messages would be presented as an internal Snapcraft error.

Additionally, keyring errors now suggest a resolution and link to documentation

Documentation

Fixes Snapcraft's version in the readthedocs documentation.

What's Changed

Full Changelog: 8.2.11...8.2.12

8.2.11

13 Jun 15:30
8.2.11
f8cf313
Compare
Choose a tag to compare

Core

Plugins

Dotnet

Fixes a regression where the dotnet plugin could not be used for core22 snaps.

What's Changed

Full Changelog: 8.2.10...8.2.11

8.2.10

03 Jun 21:21
8.2.10
00fa0ac
Compare
Choose a tag to compare

This hotfix release addresses many bugs with the new remote builder.

Remote builder

The new remote builder will now:

  • accept comma-separated architectures via snapcraft remote-build --build-for <arch1>,<arch2>,... (#4780)
  • handle core22 architectures in a snapcraft.yaml (#4780)
  • produce correctly-named log files (#4781)
  • retry Launchpad API calls with an exponential backoff (canonical/craft-application#355)
  • fail if they do not create any artifacts (#4783)

What's Changed

  • fix(remote-build): fail if no artifacts are created by @lengau in #4826
  • build(deps): bump craft-application to 2.8.0 by @mr-cal in #4837

Full Changelog: 8.2.9...8.2.10

8.2.9

28 May 13:40
8.2.9
Compare
Choose a tag to compare

What's Changed

  • Multiple fixes for the kde-neon-6 extension to allow for web processes to work correctly.
  • Expose libplas and liblapack in the kde-neon-6 extension provided by the kf6-core22{-sdk} snap

Full Changelog: 8.2.8...8.2.9

8.2.8

17 May 09:12
8.2.8
Compare
Choose a tag to compare

Core

This release fixes a behavior with patchelf for core24 snaps and temporarily disables the dotnet plugin for core24 snaps.

core24

Patchelf behavior has been corrected so shared libraries from the host system are not loaded for core24 snaps with classic confinement. This is done with patchelf --no-default-lib when patchelf is enabled.

Plugins

dotnet

The dotnet plugin for core24 is being redesigned and has been temporarily disabled until the rewrite is complete.

What's Changed

  • tests: fix flutter spread test by @mr-cal in #4808
  • do not load system libraries for classic core24 snaps, bump craft-parts, unregister dotnet by @mr-cal in #4809

Full Changelog: 8.2.7...8.2.8

8.2.7

09 May 20:26
8.2.7
53ec55c
Compare
Choose a tag to compare

Core

apps.<app-name>.refresh-mode in a snapcraft.yaml can accept the value ignore-running (#4747).

Remote build

Fixes a regression where remote-build would fail to parse some architectures definitions (#4780).

What's Changed

Full Changelog: 8.2.6...8.2.7

8.2.6

09 May 13:20
8.2.6
48483c4
Compare
Choose a tag to compare

Core

Snapcraft 8.2.6 fixes a regression where a directory could not be packaged as a snap (#4769).

What's Changed

  • tests: update chisel-base test to use core24 by @mr-cal in #4795
  • build(deps): bump craft-application to 2.7.0 by @mr-cal in #4796
  • feat: allow packing a directory by @mr-cal in #4794

Full Changelog: 8.2.5...8.2.6