Changelog¶
1.6.0 (2024-Oct-17)¶
Core¶
Rockcraft 1.6.0 updates Pydantic, the internal library used to process
rockcraft.yaml
files, to a new major version. This change should not have any user-visible consequences, but please report any issues on GitHub.Managed (non-destructive) runs now fail as expected if the build plan is empty. For example, trying to build a project with only
amd64
in itsplatforms
will now fail when building on a non-amd64 machine.package-repositories
entries now supportseries
andpocket
forapt
repositories, andkey-id
for PPAs.
Bases¶
bare
¶
bare
-based rocks now have a defaultPATH
value set on the image, following the behaviour ofPebble
services.
Plugins¶
poetry
¶
Add a new plugin for Python projects that use the Poetry build system.
Extensions¶
fastapi-framework¶
Add a new
fastapi-framework
extension for FastAPI-based projects.
flask-framework¶
On
bare
-based rocks, the extension now uses Chisel slices for the Python interpreter.Add support for the
ubuntu@24.04
base.
django-framework¶
The
django-framework
extension is now stable and no longer requires theROCKCRAFT_ENABLE_EXPERIMENTAL_EXTENSIONS
environment variable.Add support for the
ubuntu@24.04
base.
go-framework¶
Add a new
go-framework
extension for Go-based projects.
Command line¶
Improve reporting of builds that fail because they match multiple platforms.
Improve error messages for invalid
rockcraft.yaml
files.The
pack
command now supports--shell
and--shell-after
, and correctly handles cases where the packing itself fails and the--debug
argument is passed.The
clean
command now supports the--platform
argument to filter which build environments to clean.Positional arguments are now correctly displayed on the
help
output of commands.The terminal cursor is now hidden during execution.
Init¶
Add new
--profile
argument options forgo-framework
andfastapi-framework
.
Documentation¶
Add reference documentation for the new
poetry
plugin.Add a how-to guide on adding internal users to rocks.
Improve the
flask-framework
tutorial based on user feedback.Add a tutorial for the
django-framework
extension.Add a tutorial for the
fastapi-framework
extension.
For a complete list of commits, check out the 1.6.0 release on GitHub.