Closed renovate[bot] closed 3 months ago
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
This PR contains the following updates:
8.0.5
->8.2.2
Release Notes
canonical/snapcraft (canonical/snapcraft)
### [`v8.2.2`](https://togithub.com/canonical/snapcraft/releases/tag/8.2.2) [Compare Source](https://togithub.com/canonical/snapcraft/compare/8.2.1...8.2.2) #### Core ##### core24 Snapcraft 8.2.2 fixes two regressions with advanced grammar in core24 snaps: - Advanced grammar could not be used in root-level part keywords `build-packages` and `build-snaps` ([LP#2061603](https://bugs.launchpad.net/snapcraft/+bug/2061603)) - Advanced grammar could not be combined with other data ([https://github.com/canonical/snapcraft/issues/4764](https://togithub.com/canonical/snapcraft/issues/4764)) #### Known issues - Project variables `CRAFT_PROJECT_NAME` and `CRAFT_PROJECT_VERSION` are not evaluated in core24 ([https://github.com/canonical/craft-application/issues/320](https://togithub.com/canonical/craft-application/issues/320)). - `snapcraft list-plugins` does not work in core24 project directories ([https://github.com/canonical/snapcraft/issues/4742](https://togithub.com/canonical/snapcraft/issues/4742)) - Snapcraft does not evaluate project variables added by extensions in core24 ([https://github.com/canonical/snapcraft/issues/4771](https://togithub.com/canonical/snapcraft/issues/4771)) - `CRAFT_ARCH_BUILD_FOR` and `CRAFT_ARCH_TRIPLET_BUILD_FOR` use the build on architecture ([https://github.com/canonical/snapcraft/issues/4770](https://togithub.com/canonical/snapcraft/issues/4770)) #### What's Changed - tests: remove core24 snap workarounds by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4761](https://togithub.com/canonical/snapcraft/pull/4761) - tests(spread): regression test for grammar and non-grammar lists by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4768](https://togithub.com/canonical/snapcraft/pull/4768) **Full Changelog**: https://github.com/canonical/snapcraft/compare/8.2.1...8.2.2 ### [`v8.2.1`](https://togithub.com/canonical/snapcraft/releases/tag/8.2.1) [Compare Source](https://togithub.com/canonical/snapcraft/compare/8.2.0...8.2.1) #### Core The release of `8.2.1` fixes some regressions with `core24` snaps and some improvements to the remote-builder. ##### core24 - [Project variables](https://snapcraft.io/docs/parts-environment-variables) are now evaluated in a `snapcraft.yaml` and available as environment variables in the build environment. - Root-level part keywords `build-packages` and `build-snaps` support [advanced grammar.](https://snapcraft.io/docs/snapcraft-advanced-grammar) - Local key assets in `snap/keys` are used when installing [package repositories](https://snapcraft.io/docs/package-repositories). #### Remote build - `gpg` and `dirmngr` are installed at runtime for projects with package repositories. This allows remote builds of core24 snaps with package repositories. #### Known issues - Project variables `CRAFT_PROJECT_NAME` and `CRAFT_PROJECT_VERSION` are not evaluated ([https://github.com/canonical/craft-application/issues/320](https://togithub.com/canonical/craft-application/issues/320)). - `snapcraft list-plugins` does not work in core24 project directories ([https://github.com/canonical/snapcraft/issues/4742](https://togithub.com/canonical/snapcraft/issues/4742)) - Advanced grammar cannot be used alongside other data types ([https://github.com/canonical/snapcraft/issues/4764](https://togithub.com/canonical/snapcraft/issues/4764)) - Snapcraft does not evaluate project variables added by extensions in core24 ([https://github.com/canonical/snapcraft/issues/4771](https://togithub.com/canonical/snapcraft/issues/4771)) - `CRAFT_ARCH_BUILD_FOR` and `CRAFT_ARCH_TRIPLET_BUILD_FOR` use the build on architecture ([https://github.com/canonical/snapcraft/issues/4770](https://togithub.com/canonical/snapcraft/issues/4770)) #### What's Changed - tests: fix devel base snap test by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4755](https://togithub.com/canonical/snapcraft/pull/4755) - fix: install gpg and dirmngr in core24 builds by [@tigarmo](https://togithub.com/tigarmo) in [https://github.com/canonical/snapcraft/pull/4754](https://togithub.com/canonical/snapcraft/pull/4754) - fix: set project variables for core24 by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4757](https://togithub.com/canonical/snapcraft/pull/4757) - tests: add tests for advanced grammar in root keywords by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4753](https://togithub.com/canonical/snapcraft/pull/4753) - fix: use local keys for package-repos in core24 by [@tigarmo](https://togithub.com/tigarmo) in [https://github.com/canonical/snapcraft/pull/4758](https://togithub.com/canonical/snapcraft/pull/4758) **Full Changelog**: https://github.com/canonical/snapcraft/compare/8.2.0...8.2.1 ### [`v8.2.0`](https://togithub.com/canonical/snapcraft/releases/tag/8.2.0) [Compare Source](https://togithub.com/canonical/snapcraft/compare/8.1.0...8.2.0) #### Core ##### `core24` `build-base: devel` is no longer required for `core24` snaps. [Advanced grammar](https://snapcraft.io/docs/snapcraft-advanced-grammar) has been extended and can be used for all part keywords except plugin-specific keywords. ##### `core24` known issues - Root level part keywords do not support grammar [LP#2061603](https://bugs.launchpad.net/snapcraft/+bug/2061603) - Project variables (such as `$CRAFT_ARCH_BUILD_FOR`) are not evaluated in a snapcraft.yaml ([https://github.com/canonical/snapcraft/issues/4704](https://togithub.com/canonical/snapcraft/issues/4704)) - Snaps using the `gnome-extension` can only be built in environments where the `core24` snap is already installed because the `core24` snap is still in beta. - Remote builds of snaps with PPAs may fail to build ([https://github.com/canonical/snapcraft/issues/4740](https://togithub.com/canonical/snapcraft/issues/4740)) #### Remote build The new remote-builder introduced in snapcraft 8.0 has been upstreamed to [craft-application](https://togithub.com/canonical/craft-application) and improved. ##### Remote build changes - Only one remote build is allowed per project. Previously, multiple builds could run for a project. - `snapcraft remote-build --recover` does not accept a build-id - `snapcraft remote-build` does not accept the deprecated `--build-on` parameter. Use `--build-for` instead. - Launchpad credentials have moved from `$XDG_DATA_DIR/snapcraft/provider/launchpad/credentials` to `$XDG_DATA_DIR/snapcraft/launchpad-credentials`. - Instead of falling back to the legacy remote-builder, snapcraft will fail if a project is not in the top level of a git repository or is shallowly clone. Reminder: Legacy remote-build behavior can be used for bases `core22` and older with the environment variable `SNAPCRAFT_REMOTE_BUILD_STRATEGY="force-fallback"`. See more information in the [documentation](https://snapcraft.io/docs/remote-build). #### What's Changed - chore(deps): update dependency idna to v3.7 \[security] by [@renovate](https://togithub.com/renovate) in [https://github.com/canonical/snapcraft/pull/4726](https://togithub.com/canonical/snapcraft/pull/4726) - feat(remote)!: use craft-application remote build for core22 by [@syu-w](https://togithub.com/syu-w) in [https://github.com/canonical/snapcraft/pull/4724](https://togithub.com/canonical/snapcraft/pull/4724) - chore(deps): update dependency pytest-cov to v5 by [@renovate](https://togithub.com/renovate) in [https://github.com/canonical/snapcraft/pull/4730](https://togithub.com/canonical/snapcraft/pull/4730) - chore(deps): update dependency craft-grammar to v1.2.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/canonical/snapcraft/pull/4731](https://togithub.com/canonical/snapcraft/pull/4731) - fix(providers): do not install snapd from edge by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4733](https://togithub.com/canonical/snapcraft/pull/4733) - feat: drop `build-base: devel` requirement for core24 by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4734](https://togithub.com/canonical/snapcraft/pull/4734) - tests: expand regex for `hello` package by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4739](https://togithub.com/canonical/snapcraft/pull/4739) - chore(deps): update dependency craft-application to v2.5.0 by [@renovate](https://togithub.com/renovate) in [https://github.com/canonical/snapcraft/pull/4738](https://togithub.com/canonical/snapcraft/pull/4738) - chore: mark gnome-extension experimental for core24 by [@mr-cal](https://togithub.com/mr-cal) in [https://github.com/canonical/snapcraft/pull/4736](https://togithub.com/canonical/snapcraft/pull/4736) **Full Changelog**: https://github.com/canonical/snapcraft/compare/8.1.0...8.2.0 ### [`v8.1.0`](https://togithub.com/canonical/snapcraft/releases/tag/8.1.0) [Compare Source](https://togithub.com/canonical/snapcraft/compare/8.0.5...8.1.0) #### New features ##### Core ##### Finalized support for core24 Snapcraft builds `core24` snaps via [craft-application](https://togithub.com/canonical/craft-application/). The integration of craft-application into Snapcraft is complete, which means the build behavior for `core24` snaps is finalized. See more details on deprications and changes in the [`core24` migration guide](https://forum.snapcraft.io/t/micro-howto-migrate-to-core24/39393). ##### Snap Components Components are parts of a snap that can be built and uploaded in conjunction with a snap and later optionally installed beside it. Components are defined with a top-level `components` keyword in a `snapcraft.yaml`. Snapcraft allows building and uploading components. Documentation and ecosystem-wide support (i.e. snapd and the Snap Store) are still in progress, so components are not ready for production use. ##### Remote build The remote-builder supports user-defined Launchpad projects (including private projects) for `core24` snaps. This is configured via `snapcraft remote-build --projectConfiguration
📅 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 has been generated by Mend Renovate. View repository job log here.