Changelog¶
1.6.0 (2024-Oct-17)¶
Core¶
- Rockcraft 1.6.0 updates Pydantic, the internal library used to process - rockcraft.yamlfiles, 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 - amd64in its- platformswill now fail when building on a non-amd64 machine.
- package-repositoriesentries now support- seriesand- pocketfor- aptrepositories, and- key-idfor PPAs.
Bases¶
bare¶
- bare-based rocks now have a default- PATHvalue set on the image, following the behaviour of- Pebbleservices.
Plugins¶
poetry¶
- Add a new plugin for Python projects that use the Poetry build system. 
Extensions¶
fastapi-framework¶
- Add a new - fastapi-frameworkextension 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.04base.
django-framework¶
- The - django-frameworkextension is now stable and no longer requires the- ROCKCRAFT_ENABLE_EXPERIMENTAL_EXTENSIONSenvironment variable.
- Add support for the - ubuntu@24.04base.
go-framework¶
- Add a new - go-frameworkextension for Go-based projects.
Command line¶
- Improve reporting of builds that fail because they match multiple platforms. 
- Improve error messages for invalid - rockcraft.yamlfiles.
- The - packcommand now supports- --shelland- --shell-after, and correctly handles cases where the packing itself fails and the- --debugargument is passed.
- The - cleancommand now supports the- --platformargument to filter which build environments to clean.
- Positional arguments are now correctly displayed on the - helpoutput of commands.
- The terminal cursor is now hidden during execution. 
Init¶
- Add new - --profileargument options for- go-frameworkand- fastapi-framework.
Documentation¶
- Add reference documentation for the new - poetryplugin.
- Add a how-to guide on adding internal users to rocks. 
- Improve the - flask-frameworktutorial based on user feedback.
- Add a tutorial for the - django-frameworkextension.
- Add a tutorial for the - fastapi-frameworkextension.
For a complete list of commits, check out the 1.6.0 release on GitHub.
