Core
core24
build-base: devel
is no longer required for core24
snaps.
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
- Project variables (such as
$CRAFT_ARCH_BUILD_FOR
) are not evaluated in a snapcraft.yaml (#4704) - Snaps using the
gnome-extension
can only be built in environments where thecore24
snap is already installed because thecore24
snap is still in beta. - Remote builds of snaps with PPAs may fail to build (#4740)
Remote build
The new remote-builder introduced in snapcraft 8.0 has been upstreamed to 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-idsnapcraft 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.
What's Changed
- chore(deps): update dependency idna to v3.7 [security] by @renovate in #4726
- feat(remote)!: use craft-application remote build for core22 by @syu-w in #4724
- chore(deps): update dependency pytest-cov to v5 by @renovate in #4730
- chore(deps): update dependency craft-grammar to v1.2.0 by @renovate in #4731
- fix(providers): do not install snapd from edge by @mr-cal in #4733
- feat: drop
build-base: devel
requirement for core24 by @mr-cal in #4734 - tests: expand regex for
hello
package by @mr-cal in #4739 - chore(deps): update dependency craft-application to v2.5.0 by @renovate in #4738
- chore: mark gnome-extension experimental for core24 by @mr-cal in #4736
Full Changelog: 8.1.0...8.2.0