Skip to content

Releases: canonical/snapcraft

8.4.1

20 Sep 22:55
8.4.1
145a790
Compare
Choose a tag to compare

What's Changed

  • fix(remotebuild): parse comma-separated architectures by @mr-cal in #5028
  • build(deps): bump craft-parts for hotfix/8.4 by @tigarmo in #5039
  • fix: use correct type for build-on and build-for in build plans by @mr-cal in #5043
  • fix: override _run_inner instead of run to catch exceptions by @sergiusens in #5035
  • build(deps): bump craft-grammar to 2.0.1 by @mr-cal in #5051
  • fix: catch remote build errors by @mr-cal in #5052
  • docs(changelog): add 8.4.1 release notes by @mr-cal in #5055

Full Changelog: 8.4.0...8.4.1

8.3.4

13 Sep 17:58
8.3.4
a24dc3e
Compare
Choose a tag to compare

What's Changed

Full Changelog: 8.3.3...8.3.4

8.4.0

13 Sep 15:32
8.4.0
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump craft-providers to 1.20.1 by @mr-cal in #4462
  • chore: remove deprecated parameter build-base by @mr-cal in #4505
  • build(deps): bump craft-providers to 1.20.2 by @sergiusens in #4675
  • build(deps): bump certifi from 2023.11.17 to 2024.7.4 by @dependabot in #4896
  • fix: setup Python env for tiobe ci by @sergiusens in #4899
  • ci: use correct attribute for tics workflow by @sergiusens in #4906
  • kde-neon-6: Fix long standing theming issues with Qt snaps. by @ScarlettGatelyMoore in #4884
  • ci: use native Ubuntu python for tests by @sergiusens in #4907
  • docs: add explanation, howto, and reference for components by @mr-cal in #4904
  • docs: add explanation, reference, and how to for bases by @mr-cal in #4900
  • build(deps): bump certifi from 2023.7.22 to 2024.7.4 in /docs/.sphinx by @dependabot in #4903
  • build(deps): bump zipp from 3.17.0 to 3.19.1 by @dependabot in #4901
  • tests: disable build-base: devel spread tests by @mr-cal in #4922
  • chore: add issue number to overriding the command_groups property by @mr-cal in #4934
  • tests: add spread tests for validation-sets by @mr-cal in #4924
  • fix: use correct types for validation set models by @mr-cal in #4928
  • Add "-f" for rm to ignore file not found error by @AristoChen in #4915
  • build(deps): use the ruff snap by @mr-cal in #4939
  • docs(changelog): add changelog notes for snapcraft 8.0.0-8.3.1 by @mr-cal in #4947
  • docs: exclude overlay step, bump craft-parts to 1.34.0 by @mr-cal in #4948
  • ci: enable jazzy content sharing arm64 spread test by @artivis in #4940
  • chore(merge): '8.3.2' into 'main' by @mr-cal in #4953
  • feat: allow numbers in component names by @mr-cal in #4945
  • remote-build: add "Pending" as a possible status output by @ohemorange in #4956
  • fix: use proper environment for tics by @sergiusens in #4961
  • tests: update spread tests in hotfix/7.5 by @mr-cal in #4954
  • fix: configure icon for snaps without apps by @mr-cal in #4950
  • chore!: migrate to pydantic 2 by @mr-cal in #4955
  • ci: update renovate config and workflow by @mr-cal in #4962
  • build(deps): update bugfixes (hotfix/7.5) by @renovate in #4974
  • fix(provider): forward proxy variables to core24 build environments by @mr-cal in #4973
  • build(deps): update bugfixes (main) by @renovate in #4976
  • chore(merge): 7.5.6 into 'main' by @mr-cal in #4979
  • style(lint): fix ruff 0.6 linting errors by @lengau in #4981
  • build(deps): update github actions (main) (major) by @renovate in #4988
  • fix(remotebuild): parse '--build-for' and '--platform' by @mr-cal in #4994
  • build(deps): freeze requirements for docs by @mr-cal in #4985
  • ci: make snapcraft.yaml render as YAML in bug reports by @lengau in #5004
  • fix(remotebuild): error early for multiple artifacts per build-on by @mr-cal in #5005
  • build(deps): update dependency cryptography to v43.0.1 [security] (main) by @renovate in #5010
  • refactor(application): commands, pre-run validation by @mr-cal in #5007
  • chore(revert): add content interfaces for qt-common-themes by @mr-cal in #5013
  • build(deps): update dependency craft-cli to v2.7.0 (hotfix/8.4) by @renovate in #5023
  • feat(registries): add list-registries command by @mr-cal in #5014
  • build(deps): update bugfixes (hotfix/8.4) by @renovate in #5024
  • docs(changelog): add 8.4.0 release notes by @mr-cal in #5027

New Contributors

Full Changelog: 8.3.3...8.4.0

8.3.3

06 Sep 15:15
8.3.3
96140ad
Compare
Choose a tag to compare

What's Changed

Full Changelog: 8.3.2...8.3.3

7.5.6

16 Aug 01:10
7.5.6
654871d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 7.5.5...7.5.6

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