release-notes-snapcraft-6-1¶
The team behind Snapcraft is pleased to announce the release of Snapcraft 6.1.
Among its many updates, fixes and additions, the following are what we consider its highlights:
Git sources can now configure how sub-modules are fetched
Plugin updates to NPM, Autotools, Gradle and ROS2
LZO compression by default for the KDE extension
For general details, including installation instructions, see Snapcraft overview, or take a look at Snapcraft release notes for other Snapcraft releases.
Git Sources
More fine grained source fetching, three new scenarios are supported:
fetching only listed submodules, in the defined
source-submodules
parts:
git-test:
plugin: dump
source-type: git
source: [email protected]...
source-submodules:
- submodule_1
- dir1/submodule_2
excluding all submodules with an empty list
parts:
git-test:
plugin: dump
source-type: git
source: [email protected]...
source-submodules: []
not defined (the default), all submodules are fetched
Plugins
NPM plugin¶
Autotools¶
Autotools Plugin (v1): Fix fatal crash when running autogen.sh or bootstrap by @diddledani in #3628
Gradle¶
ROS¶
ROS plugins v2: respect source-subdir key by @Guillaumebeuzeboc in #3664
Extensions
KDE¶
extension: compose and dead-keys for neon by @sergiusens in #3643
set lzo compression by default in kde-neon extension by @jriddell in #3595
kde extension: new content snap for core20 by @jriddell in #3658
Command Line Interface
dependencies: missing library resolution by @mr-cal in #3634
cli: reintroduce remote-build and promote to snapcraft help by @aritra24 in #3648
Since the /usr
merge with /
the potentially missing stage-packages to add and solve missing dependencies was not working correctly on core20, this has now been fixed
The two command line client commands that were previously hidden, promote
and remote-build
, are now displayed as part of the general help.
core22 parts lifecycle opt-in for core20
lifecycle: core22 lifecycle conditional on build-attributes entry by @sergiusens in #3622
lifecycle: fix behavior for core22-step-dependencies by @facundobatista in #3641
To make use of this feature, something like this is needed
parts:
part1:
source: ....
plugin: make
build-attributes: [core22-step-dependencies]
Schema
schema: add support for activates-on app property to schema by @jhenstridge in #3425
Other fixes
spread: update error when local snap is missing by @sergiusens in #3640
tools: update staging store URL for uploading blobs by @nessita in #3656
build(deps): bump pyyaml from 5.3 to 5.4 by @dependabot in #3490