Call for testing: Snapcraft 8.4.0

Snapcraft 8.4.0 is in the latest/candidate and 8.x/candidate channels. The tentative release date is 2024-09-17T05:00:00Z.

Snapcraft 8.4 brings lots of improvements to CLI presentation and error messages, a small but steady increase in readthedocs documentation, and many fixes to the remote-builder.

See the full changelog here, which now has release notes for all 8.x releases!

While most of these changes could have been in a patch release of 8.3, I’ve decided to do a minor release for two reasons:

  1. The remote builder has gotten lots of fixes, including for regressions. Some invalid uses of the remote-builder will now raise an error. This may be a surprising change in a patch release.
  2. We have completed a large refactoring to upgrade from pydantic v1 to v2 and released major version updates to all our craft libraries. This refactoring carries a minor risk of regressions, so it’s also going into a minor release.
1 Like

Possibly true, but I think it should read, lots of fixes including for regressions :wink:

1 Like

:laughing: Whoops.

Fixed, thanks!

1 Like

The release of 8.4 to stable will be delayed until next week as some regressions have been reported related to the upgrade to pydantic 2.

  1. Regression with unquoted numbers in a snapcraft.yaml
  2. Regression when a platforms entry in a snapcraft.yaml does not include a build-for
    • source
    • fix
    • workaround: use snapcraft 8.3 or define a build-for for every platforms entry
  3. Regression where store credentials expire after a day because the macaroon isn’t properly refreshed

Thank you to everyone who uses snapcraft on the candidate channel!

1 Like

Snapcraft 8.4.1 is now in the candidate channel and includes fixes for the 3 regressions above, more error message improvements, and additional fixes to support --debug, --shell, and --shell-after when packing.

See the full changelog here.

The tentative release date of Snapcraft 8.4.1 to stable is 2024-09-24T05:00:00Z.

3 Likes