Releases: canonical/snapcraft
Releases · canonical/snapcraft
7.4.1
What's Changed
- tests: remove arch_triplet from unit test (#4160) by @cmatsuoka in #4172
- snap: use rustup on risc-v by @lengau in #4163
- requirements: update craft-parts to 1.19.5 by @cmatsuoka in #4173
- fix(linter-ros2-humble-mixed): change expected output since new pytho… by @Guillaumebeuzeboc in #4184
- fix(ROS-core18): distro-info-data is not available by default in LXD by @Guillaumebeuzeboc in #4178
Full Changelog: 7.4.0...7.4.1
7.4.0
Noticeable improvements
Snap file linting
Kernel plugins for core20 and core22
- plugins: kernel plugin: fix core20 base builds by @kubiko in #4112
- plugins: kernel: remove use of deprecated config.common.ports config by @kubiko in #4116
- kernel plugin: call deb rules clean by @kubiko in #4117
- plugins: merge kernel plugin by @cmatsuoka in #4111
Python plugin robustness for core22
- plugins: add snapcraft python plugin by @cmatsuoka in #4044
build-base devel and core24
Apt Pinning
Snapcraft Parallel installations
- providers: inject current snapcraft snap into instances by @mr-cal in #4084
- providers: allow parallel installations when not running as a snap by @mr-cal in #4088
- snapcraft_legacy: inject current snapcraft snap into instances by @mr-cal in #4090
build-for architecture all
Fixes and Maintenance
- Fix typo from 'unkown' to 'unknown' by @AristoChen in #4045
- doc: fix docstring for accuracy by @dboddie in #4043
- Legacy _deb: Add option to specify packages to unmark by @artivis in #4026
- core22 colcon plugin: re-source environment after installation by @Guillaumebeuzeboc in #3994
- grammar fixes: a number of grammar-type cleanups, no functional mods by @rpjday in #4071
- snapcraft commands: change "snap on snap store" to "snap in snap store" by @rpjday in #4070
- commands: various semantic cleanups and corrections, no functional ch… by @rpjday in #4074
- accounts.py: tweak for grammatical effect a couple comments by @rpjday in #4072
- Update kde content snap version and update regex to reflect change. by @ScarlettGatelyMoore in #4069
- colgon_plugin.py: rename colcon.py to colcon_plugin.py for consistency by @rpjday in #4082
- requirements: update craft-parts to 1.19.0 by @cmatsuoka in #4083
- requirements: update craft-providers to 1.10.0 by @mr-cal in #4086
- _options.py: use short form variables for listing providers by @rpjday in #4099
- specifications/core20-plugins.org: typo fix, "PARALELL" -> "PARALLEL" by @rpjday in #4098
- projects: warn on "global" assign of plugs and slots by @tigarmo in #4097
- legacy: fix deprecation warning about
multipass --mem
by @abitrolly in #4103 - meta: disallow Snap channel in default_provider by @syu-w in #4096
- extensions: parse snapcraft.yaml before expanding extensions by @mr-cal in #4110
- docker: remove outdated Dockerfile by @abitrolly in #4109
- docs: import Sphinx scaffolding for documentation work by @dboddie in #4055
- requirements: update craft-parts to 1.19.3 by @cmatsuoka in #4120
- init: use core22 base for
snapcraft init
by @mr-cal in #4118 - neon extension: content snap update by @ScarlettGatelyMoore in #4121
- docs: set sphinx autobuild-docs to watch the correct directories by @lengau in #4128
- ros plugin: add ros command wrappers by @artivis in #4094
- repo: Migrate to craft-archives by @lengau in #4037
Quality
- ci: update deprecated node12-based actions by @lengau in #4047
- ci: remove deleted set-output GH Action command by @lengau in #4048
- tests: remove unused go dependencies in generated hook spread tests by @mr-cal in #4052
- tools: move to the starbase tox configuration by @lengau in #4046
- spread: core24 testing infra by @sergiusens in #4056
- tox: fix linters and makefile by @lengau in #4058
- lint: update and freeze codespell by @lengau in #4059
- ci: ensure workflows are cancellable by @lengau in #4061
- cli: fix help message for the "upload" command by @cjdcordeiro in #4065
- lint: ignore files in .gitignore for black by @mr-cal in #4067
- lint: fix multi-part imports by @mr-cal in #4078
- tests: mock dependency loading for patch elf test by @mr-cal in #4075
- lint: reintroduce pylint in tox by @lengau in #4073
- linters: allow "categories" for subfiltering by @tigarmo in #4077
- lint: initialize retcode to satisfy pyright by @tigarmo in #4080
- spread: increase parallel-install kill timeout for 18.04 by @lengau in #4108
- tests: update linter-ros2-humble-mixed spread test by @mr-cal in #4113
- tests: check for submodules before running spread by @mr-cal in #4105
- lint: prepare instance for linting a snap file by @mr-cal in #4101
- spread: bump storage for Google 22.04 spread hosts by @lengau in #4102
- lint: lint snap files inside an instance by @mr-cal in #4115
- ci: add issue templates and workflow for JIRA by @sergiusens in #4100
- github: issue template by @sergiusens in #4137
- github: update issue sync action by @sergiusens in #4139
- ci: update download-artifact action version by @lengau in #4134
- tools: update tox config to latest starbase by @lengau in #4131
- github: use labels that match the JIRA GHA by @sergiusens in #4146
- tests: ensure test_status tests are self-contained by @lengau in #4133
- spread: let the core18 base test run longer by @lengau in #4141
- github: disable blank issues and provide alternative comms by @sergiusens in #4153
New Contributors
- @dboddie made their first contribution in #4043
- @AristoChen made their first contribution in #4045
- @cjdcordeiro made their first contribution in #4065
- @syu-w made their first contribution in #4096
Full Changelog: 7.3.2...7.4.0
7.3.2
What's Changed
- meta: include project provided assumes in snapd.yaml by @sergiusens in #4152
Full Changelog: 7.3.1...7.3.2
7.3.1
What's Changed
- core22 colcon plugin: re-source environment after installation (#3994) by @sergiusens in #4054
- lint: update and freeze codespell (#4059) by @sergiusens in #4063
- extensions: fix neon-extension issues for core22 by @sergiusens in #4060
Full Changelog: 7.3...7.3.1
7.3
Build Providers
- providers: set environment according to directory inside instances by @mr-cal in #3951
- providers: pass SNAPCRAFT_MAX_PARALLEL_BUILD_COUNT to instance by @mr-cal in #3997
Library Updates
Craft Parts
- Add SCons plugin
- Add Ant plugin
- Add Maven plugin
- Fix lifecycle work directory cleaning
- Make stage package tracking optional
- Improve missing local source error message
- Allow plus symbol in git url scheme
- Add plain file source handler
Craft Providers
- Disable automatic snap refreshes inside instances
- LXD instances launch from a cached base instance rather than a base image. This reduces disk usage and launch time.
- For the LXD launch function launched_environment, the parameter use_snapshots has been replaced by use_base_instance. use_snapshots still works but logs a deprecation notice.
- Expire and recreate base instances older than 3 months (90 days)
- Check for network connectivity after network-related commands fails
- Set LXD id maps after launching or copying an instance
- Raise BaseConfigurationError for snap refresh failures
- Check LXD id map before starting an existing instance. If the id map does not match, the instance will be auto cleaned or an error will be raised.
Plugins
- flutter: new core22 plugin by @sergiusens in #3952
Extensions
- extensions: new content snap for kde neon by @ScarlettGatelyMoore in #3991
- extensions: new content snap for kf5 5.98 and qt 5.15.6 by @ScarlettGatelyMoore in
- extensions: kde-neon for core22 by @ScarlettGatelyMoore in #4023
- extensions: remove experimental flag by @giusebar in #3988
- extension: use minimum necessary build packages for ros foxy extension (core20) by @artivis in #4019
Metadata
- schema: add support for new system usernames by @alexclewontin in #3964
- meta: support top-level
provenance
keyword for on-prem support by @mr-cal in #3963
Installation
Linters
- linters: add linter check for unused libraries by @mr-cal in #4028
- linters: add help urls by @mr-cal in #3954
Command line interface
- cli: set default verbosity level with environment variable by @mr-cal in #3958
- cli: accept snap file in legacy upload-metadata command by @merlijn-sebrechts in #3975
- cli: pass
--verbose
and-v
to snapcraft_legacy by @mr-cal in #4024 - cli: improve docstring for get_build_provider_flags by @mr-cal in #4025
- cli: fix StoreLegacyRegisterKeyCommand's overview. by @facundobatista in #3984
- cli: provide snapcraft try for core22 by @tigarmo in #3981
Classic
- elf: patch elf files for classic mode by @cmatsuoka in #3985
Fixes
- repo: raise error when populating the apt cache directory fails by @mr-cal in #3983
- providers: log message when changing environment variables by @mr-cal in #3956
#3925 - plugins: parse snapcraft.yaml before listing plugins by @mr-cal in #4035
- utils: log envvar SNAPCRAFT_MAX_PARALLEL_BUILD_COUNT when invalid by @mr-cal in #4041
Quality
- tests: retry installing lxd snap by @mr-cal in #3957
- tests: backport ruby and flutter test fixes by @cmatsuoka in #4034
- tests: ensure coverage is set per tox env by @lengau in #4036
- tests: allow local git submodules by @mr-cal in #3953
- tests: update ruby bundle v1 spread test by @mr-cal in #4013
- tests: Lint and test using Tox by @lengau in #4005
- tests: unit tests for
confirm_with_user()
by @mr-cal in #3977 - tests: Make test_patcher not require a real patchelf in /usr/bin by @lengau in #4003
- lint: use
git ls-files
for shellcheck by @mr-cal in #4040 - lint: migrate to ruff by @tigarmo in #4012
- lint: ignore snapd-testing-tools, venv by @mr-cal in #4022
- lint: reformat for black 23.1.0 by @mr-cal in #4029
- ci: move to latest snapcore/action-build by @sergiusens in #3995
- ci: remove non-tox CI tests and linting by @lengau in #4018
- ci: freeze ruff version by @lengau in #4016
- spread: update flutter test by @sergiusens in #4015
- requirements: pin setuptools<66 by @mr-cal in #4031
New Contributors
- @alexclewontin made their first contribution in #3964
- @ScarlettGatelyMoore made their first contribution in #3925
- @giusebar made their first contribution in #3988
- @lengau made their first contribution in #4003
Full Changelog: 7.2.9...7.3
7.2.11
What's Changed
- tests: backport ruby and flutter test fixes by @cmatsuoka in #4034
- requirements: update craft-parts to 1.15.3 by @cmatsuoka in #4030
Full Changelog: 7.2.10...7.2.11
7.2.10
7.2.9
What's Changed
- ci: remove docker before building snap by @mr-cal in #3990
- linters: don't list dynamic linker as missing library by @cmatsuoka in #3989
- dependencies: update craft-parts to 1.15.2 by @cmatsuoka in #3993
Full Changelog: 7.2.8...7.2.9
7.2.8
What's Changed
- tests: allow local git submodules by @cmatsuoka in #3979
- lifecycle: fix double emit.pause() call by @mr-cal in #3982
- linters: fix classic linter interpreter warning by @cmatsuoka in #3978
Full Changelog: 7.2.7...7.2.8
7.2.7
What's Changed
Full Changelog: 7.2.6...7.2.7