github canonical/snapcraft 7.3

latest releases: 8.4.4, 7.5.8, 8.4.3...
pre-release20 months ago

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

Extensions

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

  • snap: add remove hook to delete base instances and base images by @mr-cal in #4014

Linters

Command line interface

Classic

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

New Contributors

Full Changelog: 7.2.9...7.3

Don't miss a new snapcraft release

NewReleases is sending notifications on new releases.