canonical/snapcraft (canonical/snapcraft)
### [`v8.3.2`](https://togithub.com/canonical/snapcraft/releases/tag/8.3.2)
[Compare Source](https://togithub.com/canonical/snapcraft/compare/8.3.1...8.3.2)
#### What's Changed
- chore: cherry-pick fixes to hotfix/8.3 by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4949](https://togithub.com/canonical/snapcraft/pull/4949)
- fix: fix Python venv in core24 classic snaps by [@tigarmo](https://togithub.com/tigarmo) in [https://github.com/canonical/snapcraft/pull/4946](https://togithub.com/canonical/snapcraft/pull/4946)
For a summary of changes, see the [changelog](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/reference/changelog.html#aug-05).
**Full Changelog**: https://github.com/canonical/snapcraft/compare/8.3.1...8.3.2
### [`v8.3.1`](https://togithub.com/canonical/snapcraft/releases/tag/8.3.1)
[Compare Source](https://togithub.com/canonical/snapcraft/compare/8.3.0...8.3.1)
#### Core
##### Bases
##### `core24`
- Support `all` as a target with `build-for: [all]` ([https://github.com/canonical/snapcraft/issues/4854](https://togithub.com/canonical/snapcraft/issues/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](https://togithub.com/canonical/snapcraft/issues/4890))
#### Remote build
- Allow building core22 snaps with `build-for: [all]`
- Support reading Launchpad credentials from the previous location ([#4889](https://togithub.com/canonical/snapcraft/issues/4889))
- If launchpad credentials do not exist in the new location (`$XDG_DATA_DIR/snapcraft/launchpad-credentials`) introduced in [8.2.0](https://togithub.com/canonical/snapcraft/releases/tag/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](https://togithub.com/canonical/snapcraft/issues/4886))
#### Documentation
- Add an [explanation](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/explanation/remote-build.html) for the remote builders ([#4842](https://togithub.com/canonical/snapcraft/issues/4842))
- Update [reference](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/reference/architectures.html), [how-to](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/howto/architectures.html), and [explanation](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/explanation/architectures.html) for platforms and architectures
#### What's Changed
- build(deps): bump urllib3 from 1.26.18 to 1.26.19 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/canonical/snapcraft/pull/4859](https://togithub.com/canonical/snapcraft/pull/4859)
- chore: use strtobool from craft-application by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4875](https://togithub.com/canonical/snapcraft/pull/4875)
- docs: add explanation for remote build by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4882](https://togithub.com/canonical/snapcraft/pull/4882)
- feat: support "build-for: \[all]" in core24 by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4873](https://togithub.com/canonical/snapcraft/pull/4873)
- build(deps): bump urllib3 from 1.26.18 to 1.26.19 in /docs/.sphinx by [@dependabot](https://togithub.com/dependabot) in [https://github.com/canonical/snapcraft/pull/4887](https://togithub.com/canonical/snapcraft/pull/4887)
- meta: override the links if project links are set and check the links from appstream by [@soumyaDghosh](https://togithub.com/soumyaDghosh) in [https://github.com/canonical/snapcraft/pull/4888](https://togithub.com/canonical/snapcraft/pull/4888)
- fix(remotebuild): use legacy launchpad credentials if they exist by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4892](https://togithub.com/canonical/snapcraft/pull/4892)
- fix(remotebuild): require core20 snaps to use the legacy remote builder by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4895](https://togithub.com/canonical/snapcraft/pull/4895)
- build(deps): add 'validators' to install_requires by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4898](https://togithub.com/canonical/snapcraft/pull/4898)
**Full Changelog**: https://github.com/canonical/snapcraft/compare/8.3.0...8.3.1
### [`v8.3.0`](https://togithub.com/canonical/snapcraft/releases/tag/8.3.0)
[Compare Source](https://togithub.com/canonical/snapcraft/compare/8.2.12...8.3.0)
#### Core
##### Bases
Fixes a bug where snaps using bases `core22-desktop` and `core24-desktop` could not be built ([#4818](https://togithub.com/canonical/snapcraft/issues/4818)).
##### Core22
Warns when multiple snaps are going to be built in destructive mode because it may cause unexpected behavior ([#4685](https://togithub.com/canonical/snapcraft/issues/4685), [#4356](https://togithub.com/canonical/snapcraft/issues/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](https://togithub.com/canonical/snapcraft/issues/4804)).
##### ROS 2 Jazzy
Adds support for the new ROS 2 Jazzy extension which lets you snap ROS 2 applications on `core24` ([#4791](https://togithub.com/canonical/snapcraft/issues/4791)). Similar to ROS 2 Humble for `core22`, content-sharing is supported ([#4828](https://togithub.com/canonical/snapcraft/issues/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 ([https://github.com/canonical/craft-parts/issues/717](https://togithub.com/canonical/craft-parts/issues/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](https://togithub.com/canonical/snapcraft/issues/4830)).
Updates `snapcraft list-plugins` to show a list of `core24` plugins instead of `core22` plugins when not in a project directory ([#4830](https://togithub.com/canonical/snapcraft/issues/4830)).
##### Extensions
##### Gnome
The `gnome` extension is now stable for `core24` and integrates with the `gpu-2404` SDK ([#4744](https://togithub.com/canonical/snapcraft/issues/4744)). See [here](https://mir-server.io/docs/the-gpu-2404-snap-interface#heading--consuming-the-interface) for more information.
Fixes `GI_TYPELIB_PATH` and `XDG_DATA_DIRS` paths in the Gnome extension's build environment ([#4798](https://togithub.com/canonical/snapcraft/issues/4798)).
##### KDE Neon 6
Fixes paths to `QtWebEngineProcess` in the desktop launcher ([#4745](https://togithub.com/canonical/snapcraft/issues/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](https://togithub.com/canonical/snapcraft/issues/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](https://togithub.com/canonical/snapcraft/issues/4735)).
#### Names
Adds output formatting to `snapcraft names` with `--format`. Supported formats are `table` and `json` ([#4778](https://togithub.com/canonical/snapcraft/issues/4778)).
#### Init
Updates `snapcraft init` create a `core24` project instead of a `core22` project ([#4830](https://togithub.com/canonical/snapcraft/issues/4830)).
#### Documentation
Updates Snapcraft's [documentation](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/) to use the [`canonical-sphinx`](https://togithub.com/canonical/canonical-sphinx) theme.
Adds reference documentation for more plugins ([#4811](https://togithub.com/canonical/snapcraft/issues/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](https://togithub.com/canonical/snapcraft/issues/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](https://snapcraft.io/docs/snapcraft-top-level-metadata#heading--plugs-and-slots-for-an-entire-snap) to new documentation ([#4765](https://togithub.com/canonical/snapcraft/issues/4765)).
#### What's Changed
- feat(lint): migrate lint command by [@syu-w](https://togithub.com/syu-w) in [https://github.com/canonical/snapcraft/pull/4732](https://togithub.com/canonical/snapcraft/pull/4732)
- chore(merge): '8.2.1' into 'main' by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4760](https://togithub.com/canonical/snapcraft/pull/4760)
- tests: remove core24 snap workarounds ([#4761](https://togithub.com/canonical/snapcraft/issues/4761)) by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4763](https://togithub.com/canonical/snapcraft/pull/4763)
- Activate installed_base_by_architecture metrics by [@DanielDewberry](https://togithub.com/DanielDewberry) in [https://github.com/canonical/snapcraft/pull/4735](https://togithub.com/canonical/snapcraft/pull/4735)
- Sgmoore/fix qtwebengineprocess by [@ScarlettGatelyMoore](https://togithub.com/ScarlettGatelyMoore) in [https://github.com/canonical/snapcraft/pull/4745](https://togithub.com/canonical/snapcraft/pull/4745)
- chore: update link for top level plug and slots warning by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4765](https://togithub.com/canonical/snapcraft/pull/4765)
- feat: support refresh-mode: ignore-running by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4749](https://togithub.com/canonical/snapcraft/pull/4749)
- docs: use canonical-sphinx by [@tigarmo](https://togithub.com/tigarmo) in [https://github.com/canonical/snapcraft/pull/4766](https://togithub.com/canonical/snapcraft/pull/4766)
- chore(merge): '8.2.2' into 'main' by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4777](https://togithub.com/canonical/snapcraft/pull/4777)
- chore: merge hotfix 8.2 into main by [@sergiusens](https://togithub.com/sergiusens) in [https://github.com/canonical/snapcraft/pull/4786](https://togithub.com/canonical/snapcraft/pull/4786)
- chore(deps): update dependency jinja2 to v3.1.4 \[security] by [@renovate](https://togithub.com/renovate) in [https://github.com/canonical/snapcraft/pull/4789](https://togithub.com/canonical/snapcraft/pull/4789)
- chore: merge 8.2 hotfix branch by [@cmatsuoka](https://togithub.com/cmatsuoka) in [https://github.com/canonical/snapcraft/pull/4792](https://togithub.com/canonical/snapcraft/pull/4792)
- build(deps): bump setuptools from 59.6.0 to 65.5.1 in /docs by [@dependabot](https://togithub.com/dependabot) in [https://github.com/canonical/snapcraft/pull/4775](https://togithub.com/canonical/snapcraft/pull/4775)
- build(deps): bump pip from 22.0.2 to 23.3 in /docs by [@dependabot](https://togithub.com/dependabot) in [https://github.com/canonical/snapcraft/pull/4776](https://togithub.com/canonical/snapcraft/pull/4776)
- chore: add issue for using `ld` from the base snap by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4752](https://togithub.com/canonical/snapcraft/pull/4752)
- tests: fix remote-build tests by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4767](https://togithub.com/canonical/snapcraft/pull/4767)
- chore(merge): '8.2.7' into 'main' by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4803](https://togithub.com/canonical/snapcraft/pull/4803)
- chore(deps): update documentation dependencies by [@renovate](https://togithub.com/renovate) in [https://github.com/canonical/snapcraft/pull/4728](https://togithub.com/canonical/snapcraft/pull/4728)
- extension: fix issues and depreciated vars in gnome extension by [@soumyaDghosh](https://togithub.com/soumyaDghosh) in [https://github.com/canonical/snapcraft/pull/4798](https://togithub.com/canonical/snapcraft/pull/4798)
- flutter: add missing `curl` build-package by [@Saviq](https://togithub.com/Saviq) in [https://github.com/canonical/snapcraft/pull/4804](https://togithub.com/canonical/snapcraft/pull/4804)
- chore: merge 8.2.8 into main by [@sergiusens](https://togithub.com/sergiusens) in [https://github.com/canonical/snapcraft/pull/4819](https://togithub.com/canonical/snapcraft/pull/4819)
- linter updates by [@lengau](https://togithub.com/lengau) in [https://github.com/canonical/snapcraft/pull/4815](https://togithub.com/canonical/snapcraft/pull/4815)
- build(deps): bump craft-parts to 1.31.0 by [@tigarmo](https://togithub.com/tigarmo) in [https://github.com/canonical/snapcraft/pull/4811](https://togithub.com/canonical/snapcraft/pull/4811)
- chore: merge 8.2.9 hotfixes by [@sergiusens](https://togithub.com/sergiusens) in [https://github.com/canonical/snapcraft/pull/4824](https://togithub.com/canonical/snapcraft/pull/4824)
- feat: adopt more fields from the appstream metadata file(part 2) by [@soumyaDghosh](https://togithub.com/soumyaDghosh) in [https://github.com/canonical/snapcraft/pull/4652](https://togithub.com/canonical/snapcraft/pull/4652)
- extension: add ROS 2 Jazzy (core24) by [@artivis](https://togithub.com/artivis) in [https://github.com/canonical/snapcraft/pull/4791](https://togithub.com/canonical/snapcraft/pull/4791)
- tests: drop `grade: devel` from core24 spread tests by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4750](https://togithub.com/canonical/snapcraft/pull/4750)
- fix(tox): use requirements-devel for linters by [@lengau](https://togithub.com/lengau) in [https://github.com/canonical/snapcraft/pull/4820](https://togithub.com/canonical/snapcraft/pull/4820)
- feat(names) add --format option by [@DanielDewberry](https://togithub.com/DanielDewberry) in [https://github.com/canonical/snapcraft/pull/4778](https://togithub.com/canonical/snapcraft/pull/4778)
- chore(merge): '8.2.10' into 'main' by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4838](https://togithub.com/canonical/snapcraft/pull/4838)
- refactor: migrate commands to craft-application by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4830](https://togithub.com/canonical/snapcraft/pull/4830)
- fix(schema): add ROS 2 core22 extensions for remote-build by [@Guillaumebeuzeboc](https://togithub.com/Guillaumebeuzeboc) in [https://github.com/canonical/snapcraft/pull/4756](https://togithub.com/canonical/snapcraft/pull/4756)
- feat: warn when multiple snaps will be built in the same environment by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4839](https://togithub.com/canonical/snapcraft/pull/4839)
- Add ROS 2 Jazzy content-sharing support by [@artivis](https://togithub.com/artivis) in [https://github.com/canonical/snapcraft/pull/4828](https://togithub.com/canonical/snapcraft/pull/4828)
- style: remove pylint by [@lengau](https://togithub.com/lengau) in [https://github.com/canonical/snapcraft/pull/4817](https://togithub.com/canonical/snapcraft/pull/4817)
- chore(deps): update dependency pytz to v2023.4 by [@renovate](https://togithub.com/renovate) in [https://github.com/canonical/snapcraft/pull/4833](https://togithub.com/canonical/snapcraft/pull/4833)
- style: remove pylint comments by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4848](https://togithub.com/canonical/snapcraft/pull/4848)
- refactor: change PackCommand parent by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4797](https://togithub.com/canonical/snapcraft/pull/4797)
- chore(deps): update dependency tornado to v6.4.1 \[security] by [@renovate](https://togithub.com/renovate) in [https://github.com/canonical/snapcraft/pull/4847](https://togithub.com/canonical/snapcraft/pull/4847)
- fix: allow coreXX-desktop bases by [@lengau](https://togithub.com/lengau) in [https://github.com/canonical/snapcraft/pull/4850](https://togithub.com/canonical/snapcraft/pull/4850)
- gnome: add gpu-2404 integration by [@Saviq](https://togithub.com/Saviq) in [https://github.com/canonical/snapcraft/pull/4744](https://togithub.com/canonical/snapcraft/pull/4744)
- feat: write provenance to component metadata by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4849](https://togithub.com/canonical/snapcraft/pull/4849)
- chore(merge): '8.2.11' into 'main' by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4852](https://togithub.com/canonical/snapcraft/pull/4852)
- ci: enable TiCS integration by [@sergiusens](https://togithub.com/sergiusens) in [https://github.com/canonical/snapcraft/pull/4855](https://togithub.com/canonical/snapcraft/pull/4855)
- chore: move gnome-extension to stable by [@jssotomdz](https://togithub.com/jssotomdz) in [https://github.com/canonical/snapcraft/pull/4799](https://togithub.com/canonical/snapcraft/pull/4799)
- chore(merge): '8.2.12' into 'main' by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4872](https://togithub.com/canonical/snapcraft/pull/4872)
#### New Contributors
- [@DanielDewberry](https://togithub.com/DanielDewberry) made their first contribution in [https://github.com/canonical/snapcraft/pull/4735](https://togithub.com/canonical/snapcraft/pull/4735)
- [@jssotomdz](https://togithub.com/jssotomdz) made their first contribution in [https://github.com/canonical/snapcraft/pull/4799](https://togithub.com/canonical/snapcraft/pull/4799)
**Full Changelog**: https://github.com/canonical/snapcraft/compare/8.2.12...8.3.0
### [`v8.2.12`](https://togithub.com/canonical/snapcraft/releases/tag/8.2.12)
[Compare Source](https://togithub.com/canonical/snapcraft/compare/8.2.11...8.2.12)
#### Core
Fixes an issue where core24 snaps would stage python packages already included in the `core24` base snap ([#4865](https://togithub.com/canonical/snapcraft/issues/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](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/?badge=latest) documentation.
#### What's Changed
- build(docs): fix version in rtd builds by [@tigarmo](https://togithub.com/tigarmo) in [https://github.com/canonical/snapcraft/pull/4864](https://togithub.com/canonical/snapcraft/pull/4864)
- fix(cli): properly capture store errors by [@sergiusens](https://togithub.com/sergiusens) in [https://github.com/canonical/snapcraft/pull/4863](https://togithub.com/canonical/snapcraft/pull/4863)
- tests: add a test for package filtering in core24 by [@tigarmo](https://togithub.com/tigarmo) in [https://github.com/canonical/snapcraft/pull/4862](https://togithub.com/canonical/snapcraft/pull/4862)
**Full Changelog**: https://github.com/canonical/snapcraft/compare/8.2.11...8.2.12
### [`v8.2.11`](https://togithub.com/canonical/snapcraft/releases/tag/8.2.11)
[Compare Source](https://togithub.com/canonical/snapcraft/compare/8.2.10...8.2.11)
#### Core
##### Plugins
##### Dotnet
Fixes a regression where the dotnet plugin could not be used for core22 snaps.
#### What's Changed
- fix: re-register dotnet for core22 by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4841](https://togithub.com/canonical/snapcraft/pull/4841)
**Full Changelog**: https://github.com/canonical/snapcraft/compare/8.2.10...8.2.11
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
8.2.10
->8.3.2
Release Notes
canonical/snapcraft (canonical/snapcraft)
### [`v8.3.2`](https://togithub.com/canonical/snapcraft/releases/tag/8.3.2) [Compare Source](https://togithub.com/canonical/snapcraft/compare/8.3.1...8.3.2) #### What's Changed - chore: cherry-pick fixes to hotfix/8.3 by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4949](https://togithub.com/canonical/snapcraft/pull/4949) - fix: fix Python venv in core24 classic snaps by [@tigarmo](https://togithub.com/tigarmo) in [https://github.com/canonical/snapcraft/pull/4946](https://togithub.com/canonical/snapcraft/pull/4946) For a summary of changes, see the [changelog](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/reference/changelog.html#aug-05). **Full Changelog**: https://github.com/canonical/snapcraft/compare/8.3.1...8.3.2 ### [`v8.3.1`](https://togithub.com/canonical/snapcraft/releases/tag/8.3.1) [Compare Source](https://togithub.com/canonical/snapcraft/compare/8.3.0...8.3.1) #### Core ##### Bases ##### `core24` - Support `all` as a target with `build-for: [all]` ([https://github.com/canonical/snapcraft/issues/4854](https://togithub.com/canonical/snapcraft/issues/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](https://togithub.com/canonical/snapcraft/issues/4890)) #### Remote build - Allow building core22 snaps with `build-for: [all]` - Support reading Launchpad credentials from the previous location ([#4889](https://togithub.com/canonical/snapcraft/issues/4889)) - If launchpad credentials do not exist in the new location (`$XDG_DATA_DIR/snapcraft/launchpad-credentials`) introduced in [8.2.0](https://togithub.com/canonical/snapcraft/releases/tag/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](https://togithub.com/canonical/snapcraft/issues/4886)) #### Documentation - Add an [explanation](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/explanation/remote-build.html) for the remote builders ([#4842](https://togithub.com/canonical/snapcraft/issues/4842)) - Update [reference](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/reference/architectures.html), [how-to](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/howto/architectures.html), and [explanation](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/explanation/architectures.html) for platforms and architectures #### What's Changed - build(deps): bump urllib3 from 1.26.18 to 1.26.19 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/canonical/snapcraft/pull/4859](https://togithub.com/canonical/snapcraft/pull/4859) - chore: use strtobool from craft-application by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4875](https://togithub.com/canonical/snapcraft/pull/4875) - docs: add explanation for remote build by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4882](https://togithub.com/canonical/snapcraft/pull/4882) - feat: support "build-for: \[all]" in core24 by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4873](https://togithub.com/canonical/snapcraft/pull/4873) - build(deps): bump urllib3 from 1.26.18 to 1.26.19 in /docs/.sphinx by [@dependabot](https://togithub.com/dependabot) in [https://github.com/canonical/snapcraft/pull/4887](https://togithub.com/canonical/snapcraft/pull/4887) - meta: override the links if project links are set and check the links from appstream by [@soumyaDghosh](https://togithub.com/soumyaDghosh) in [https://github.com/canonical/snapcraft/pull/4888](https://togithub.com/canonical/snapcraft/pull/4888) - fix(remotebuild): use legacy launchpad credentials if they exist by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4892](https://togithub.com/canonical/snapcraft/pull/4892) - fix(remotebuild): require core20 snaps to use the legacy remote builder by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4895](https://togithub.com/canonical/snapcraft/pull/4895) - build(deps): add 'validators' to install_requires by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4898](https://togithub.com/canonical/snapcraft/pull/4898) **Full Changelog**: https://github.com/canonical/snapcraft/compare/8.3.0...8.3.1 ### [`v8.3.0`](https://togithub.com/canonical/snapcraft/releases/tag/8.3.0) [Compare Source](https://togithub.com/canonical/snapcraft/compare/8.2.12...8.3.0) #### Core ##### Bases Fixes a bug where snaps using bases `core22-desktop` and `core24-desktop` could not be built ([#4818](https://togithub.com/canonical/snapcraft/issues/4818)). ##### Core22 Warns when multiple snaps are going to be built in destructive mode because it may cause unexpected behavior ([#4685](https://togithub.com/canonical/snapcraft/issues/4685), [#4356](https://togithub.com/canonical/snapcraft/issues/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](https://togithub.com/canonical/snapcraft/issues/4804)). ##### ROS 2 Jazzy Adds support for the new ROS 2 Jazzy extension which lets you snap ROS 2 applications on `core24` ([#4791](https://togithub.com/canonical/snapcraft/issues/4791)). Similar to ROS 2 Humble for `core22`, content-sharing is supported ([#4828](https://togithub.com/canonical/snapcraft/issues/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 ([https://github.com/canonical/craft-parts/issues/717](https://togithub.com/canonical/craft-parts/issues/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](https://togithub.com/canonical/snapcraft/issues/4830)). Updates `snapcraft list-plugins` to show a list of `core24` plugins instead of `core22` plugins when not in a project directory ([#4830](https://togithub.com/canonical/snapcraft/issues/4830)). ##### Extensions ##### Gnome The `gnome` extension is now stable for `core24` and integrates with the `gpu-2404` SDK ([#4744](https://togithub.com/canonical/snapcraft/issues/4744)). See [here](https://mir-server.io/docs/the-gpu-2404-snap-interface#heading--consuming-the-interface) for more information. Fixes `GI_TYPELIB_PATH` and `XDG_DATA_DIRS` paths in the Gnome extension's build environment ([#4798](https://togithub.com/canonical/snapcraft/issues/4798)). ##### KDE Neon 6 Fixes paths to `QtWebEngineProcess` in the desktop launcher ([#4745](https://togithub.com/canonical/snapcraft/issues/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](https://togithub.com/canonical/snapcraft/issues/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](https://togithub.com/canonical/snapcraft/issues/4735)). #### Names Adds output formatting to `snapcraft names` with `--format`. Supported formats are `table` and `json` ([#4778](https://togithub.com/canonical/snapcraft/issues/4778)). #### Init Updates `snapcraft init` create a `core24` project instead of a `core22` project ([#4830](https://togithub.com/canonical/snapcraft/issues/4830)). #### Documentation Updates Snapcraft's [documentation](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/) to use the [`canonical-sphinx`](https://togithub.com/canonical/canonical-sphinx) theme. Adds reference documentation for more plugins ([#4811](https://togithub.com/canonical/snapcraft/issues/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](https://togithub.com/canonical/snapcraft/issues/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](https://snapcraft.io/docs/snapcraft-top-level-metadata#heading--plugs-and-slots-for-an-entire-snap) to new documentation ([#4765](https://togithub.com/canonical/snapcraft/issues/4765)). #### What's Changed - feat(lint): migrate lint command by [@syu-w](https://togithub.com/syu-w) in [https://github.com/canonical/snapcraft/pull/4732](https://togithub.com/canonical/snapcraft/pull/4732) - chore(merge): '8.2.1' into 'main' by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4760](https://togithub.com/canonical/snapcraft/pull/4760) - tests: remove core24 snap workarounds ([#4761](https://togithub.com/canonical/snapcraft/issues/4761)) by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4763](https://togithub.com/canonical/snapcraft/pull/4763) - Activate installed_base_by_architecture metrics by [@DanielDewberry](https://togithub.com/DanielDewberry) in [https://github.com/canonical/snapcraft/pull/4735](https://togithub.com/canonical/snapcraft/pull/4735) - Sgmoore/fix qtwebengineprocess by [@ScarlettGatelyMoore](https://togithub.com/ScarlettGatelyMoore) in [https://github.com/canonical/snapcraft/pull/4745](https://togithub.com/canonical/snapcraft/pull/4745) - chore: update link for top level plug and slots warning by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4765](https://togithub.com/canonical/snapcraft/pull/4765) - feat: support refresh-mode: ignore-running by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4749](https://togithub.com/canonical/snapcraft/pull/4749) - docs: use canonical-sphinx by [@tigarmo](https://togithub.com/tigarmo) in [https://github.com/canonical/snapcraft/pull/4766](https://togithub.com/canonical/snapcraft/pull/4766) - chore(merge): '8.2.2' into 'main' by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4777](https://togithub.com/canonical/snapcraft/pull/4777) - chore: merge hotfix 8.2 into main by [@sergiusens](https://togithub.com/sergiusens) in [https://github.com/canonical/snapcraft/pull/4786](https://togithub.com/canonical/snapcraft/pull/4786) - chore(deps): update dependency jinja2 to v3.1.4 \[security] by [@renovate](https://togithub.com/renovate) in [https://github.com/canonical/snapcraft/pull/4789](https://togithub.com/canonical/snapcraft/pull/4789) - chore: merge 8.2 hotfix branch by [@cmatsuoka](https://togithub.com/cmatsuoka) in [https://github.com/canonical/snapcraft/pull/4792](https://togithub.com/canonical/snapcraft/pull/4792) - build(deps): bump setuptools from 59.6.0 to 65.5.1 in /docs by [@dependabot](https://togithub.com/dependabot) in [https://github.com/canonical/snapcraft/pull/4775](https://togithub.com/canonical/snapcraft/pull/4775) - build(deps): bump pip from 22.0.2 to 23.3 in /docs by [@dependabot](https://togithub.com/dependabot) in [https://github.com/canonical/snapcraft/pull/4776](https://togithub.com/canonical/snapcraft/pull/4776) - chore: add issue for using `ld` from the base snap by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4752](https://togithub.com/canonical/snapcraft/pull/4752) - tests: fix remote-build tests by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4767](https://togithub.com/canonical/snapcraft/pull/4767) - chore(merge): '8.2.7' into 'main' by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4803](https://togithub.com/canonical/snapcraft/pull/4803) - chore(deps): update documentation dependencies by [@renovate](https://togithub.com/renovate) in [https://github.com/canonical/snapcraft/pull/4728](https://togithub.com/canonical/snapcraft/pull/4728) - extension: fix issues and depreciated vars in gnome extension by [@soumyaDghosh](https://togithub.com/soumyaDghosh) in [https://github.com/canonical/snapcraft/pull/4798](https://togithub.com/canonical/snapcraft/pull/4798) - flutter: add missing `curl` build-package by [@Saviq](https://togithub.com/Saviq) in [https://github.com/canonical/snapcraft/pull/4804](https://togithub.com/canonical/snapcraft/pull/4804) - chore: merge 8.2.8 into main by [@sergiusens](https://togithub.com/sergiusens) in [https://github.com/canonical/snapcraft/pull/4819](https://togithub.com/canonical/snapcraft/pull/4819) - linter updates by [@lengau](https://togithub.com/lengau) in [https://github.com/canonical/snapcraft/pull/4815](https://togithub.com/canonical/snapcraft/pull/4815) - build(deps): bump craft-parts to 1.31.0 by [@tigarmo](https://togithub.com/tigarmo) in [https://github.com/canonical/snapcraft/pull/4811](https://togithub.com/canonical/snapcraft/pull/4811) - chore: merge 8.2.9 hotfixes by [@sergiusens](https://togithub.com/sergiusens) in [https://github.com/canonical/snapcraft/pull/4824](https://togithub.com/canonical/snapcraft/pull/4824) - feat: adopt more fields from the appstream metadata file(part 2) by [@soumyaDghosh](https://togithub.com/soumyaDghosh) in [https://github.com/canonical/snapcraft/pull/4652](https://togithub.com/canonical/snapcraft/pull/4652) - extension: add ROS 2 Jazzy (core24) by [@artivis](https://togithub.com/artivis) in [https://github.com/canonical/snapcraft/pull/4791](https://togithub.com/canonical/snapcraft/pull/4791) - tests: drop `grade: devel` from core24 spread tests by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4750](https://togithub.com/canonical/snapcraft/pull/4750) - fix(tox): use requirements-devel for linters by [@lengau](https://togithub.com/lengau) in [https://github.com/canonical/snapcraft/pull/4820](https://togithub.com/canonical/snapcraft/pull/4820) - feat(names) add --format option by [@DanielDewberry](https://togithub.com/DanielDewberry) in [https://github.com/canonical/snapcraft/pull/4778](https://togithub.com/canonical/snapcraft/pull/4778) - chore(merge): '8.2.10' into 'main' by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4838](https://togithub.com/canonical/snapcraft/pull/4838) - refactor: migrate commands to craft-application by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4830](https://togithub.com/canonical/snapcraft/pull/4830) - fix(schema): add ROS 2 core22 extensions for remote-build by [@Guillaumebeuzeboc](https://togithub.com/Guillaumebeuzeboc) in [https://github.com/canonical/snapcraft/pull/4756](https://togithub.com/canonical/snapcraft/pull/4756) - feat: warn when multiple snaps will be built in the same environment by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4839](https://togithub.com/canonical/snapcraft/pull/4839) - Add ROS 2 Jazzy content-sharing support by [@artivis](https://togithub.com/artivis) in [https://github.com/canonical/snapcraft/pull/4828](https://togithub.com/canonical/snapcraft/pull/4828) - style: remove pylint by [@lengau](https://togithub.com/lengau) in [https://github.com/canonical/snapcraft/pull/4817](https://togithub.com/canonical/snapcraft/pull/4817) - chore(deps): update dependency pytz to v2023.4 by [@renovate](https://togithub.com/renovate) in [https://github.com/canonical/snapcraft/pull/4833](https://togithub.com/canonical/snapcraft/pull/4833) - style: remove pylint comments by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4848](https://togithub.com/canonical/snapcraft/pull/4848) - refactor: change PackCommand parent by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4797](https://togithub.com/canonical/snapcraft/pull/4797) - chore(deps): update dependency tornado to v6.4.1 \[security] by [@renovate](https://togithub.com/renovate) in [https://github.com/canonical/snapcraft/pull/4847](https://togithub.com/canonical/snapcraft/pull/4847) - fix: allow coreXX-desktop bases by [@lengau](https://togithub.com/lengau) in [https://github.com/canonical/snapcraft/pull/4850](https://togithub.com/canonical/snapcraft/pull/4850) - gnome: add gpu-2404 integration by [@Saviq](https://togithub.com/Saviq) in [https://github.com/canonical/snapcraft/pull/4744](https://togithub.com/canonical/snapcraft/pull/4744) - feat: write provenance to component metadata by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4849](https://togithub.com/canonical/snapcraft/pull/4849) - chore(merge): '8.2.11' into 'main' by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4852](https://togithub.com/canonical/snapcraft/pull/4852) - ci: enable TiCS integration by [@sergiusens](https://togithub.com/sergiusens) in [https://github.com/canonical/snapcraft/pull/4855](https://togithub.com/canonical/snapcraft/pull/4855) - chore: move gnome-extension to stable by [@jssotomdz](https://togithub.com/jssotomdz) in [https://github.com/canonical/snapcraft/pull/4799](https://togithub.com/canonical/snapcraft/pull/4799) - chore(merge): '8.2.12' into 'main' by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4872](https://togithub.com/canonical/snapcraft/pull/4872) #### New Contributors - [@DanielDewberry](https://togithub.com/DanielDewberry) made their first contribution in [https://github.com/canonical/snapcraft/pull/4735](https://togithub.com/canonical/snapcraft/pull/4735) - [@jssotomdz](https://togithub.com/jssotomdz) made their first contribution in [https://github.com/canonical/snapcraft/pull/4799](https://togithub.com/canonical/snapcraft/pull/4799) **Full Changelog**: https://github.com/canonical/snapcraft/compare/8.2.12...8.3.0 ### [`v8.2.12`](https://togithub.com/canonical/snapcraft/releases/tag/8.2.12) [Compare Source](https://togithub.com/canonical/snapcraft/compare/8.2.11...8.2.12) #### Core Fixes an issue where core24 snaps would stage python packages already included in the `core24` base snap ([#4865](https://togithub.com/canonical/snapcraft/issues/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](https://canonical-snapcraft.readthedocs-hosted.com/en/latest/?badge=latest) documentation. #### What's Changed - build(docs): fix version in rtd builds by [@tigarmo](https://togithub.com/tigarmo) in [https://github.com/canonical/snapcraft/pull/4864](https://togithub.com/canonical/snapcraft/pull/4864) - fix(cli): properly capture store errors by [@sergiusens](https://togithub.com/sergiusens) in [https://github.com/canonical/snapcraft/pull/4863](https://togithub.com/canonical/snapcraft/pull/4863) - tests: add a test for package filtering in core24 by [@tigarmo](https://togithub.com/tigarmo) in [https://github.com/canonical/snapcraft/pull/4862](https://togithub.com/canonical/snapcraft/pull/4862) **Full Changelog**: https://github.com/canonical/snapcraft/compare/8.2.11...8.2.12 ### [`v8.2.11`](https://togithub.com/canonical/snapcraft/releases/tag/8.2.11) [Compare Source](https://togithub.com/canonical/snapcraft/compare/8.2.10...8.2.11) #### Core ##### Plugins ##### Dotnet Fixes a regression where the dotnet plugin could not be used for core22 snaps. #### What's Changed - fix: re-register dotnet for core22 by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4841](https://togithub.com/canonical/snapcraft/pull/4841) **Full Changelog**: https://github.com/canonical/snapcraft/compare/8.2.10...8.2.11Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.