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