Changelog¶
0.11.0 (unreleased)¶
Breaking changes¶
When Craft Grammar introduced platform selector grammar, the
*andanyplatform names became standard craft vocabulary. These are now reserved platform names in Craft Platforms, and users are warned if they try and define new platforms using them.
For a complete list of commits, check out the 0.11.0 release on GitHub.
0.10.0 (2025-07-17)¶
Features¶
Add a build planner for bases charms
0.9.0 (2025-05-27)¶
Features¶
Update the
__repr__of DebianArchitectures to produce the representation of the string value, to conform with the common Craft idiom of using a string’s representation in user-facing messages.
0.8.0 (2025-04-16)¶
Features¶
Legacy rockcraft base strings
ubuntu:20.04andubuntu:22.04are now supported.Allow scalar
build-onandbuild-forvalues in Platforms.
0.7.1 (2025-04-10)¶
Bug Fixes¶
The
barebase for Rockcraft was not properly handled. An error will now be raised ifbareis specified with nobuild-base.
0.7.0 (2025-04-02)¶
Features¶
Add a module of Hypothesis strategies to assist when testing code that uses craft-platforms.
Bug Fixes¶
Pass the correct type when obtaining a Snapcraft build plan.
0.6.0 (2025-02-11)¶
Features¶
Improve presentation of invalid architecture error messages.
Add a generic
get_build_planfunction that takes the application name and the basic project file dictionary and returns a build plan.
0.5.0 (2024-12-18)¶
Features¶
Add multi-base support for charm build plans
0.4.0 (2024-10-17)¶
Bug Fixes¶
Correctly validate arguments for Snapcraft build plans.
Features¶
Drop minimum required python version from 3.10 to 3.8.
0.3.1 (2024-Sep-26)¶
Bug Fixes¶
Make series comparison less strict.
Make Platform and PlatformDict public.
Documentation¶
Add basic reference documentation.
For a complete list of commits, check out the 0.3.1 release on GitHub.
0.3.0 (2024-Sep-09)¶
Features¶
Add ‘build-for: [all]’ support to generic build planner.
Add support for Snapcraft build plans.
For a complete list of commits, check out the 0.3.0 release on GitHub.
0.2.0 (2024-Aug-29)¶
Features¶
Add support for Rockcraft build plans.
For a complete list of commits, check out the 0.2.0 release on GitHub.
0.1.1 (2024-Jul-24)¶
Bug Fixes¶
Mark the
craft_platformpackage as typed.
For a complete list of commits, check out the 0.1.1 release on GitHub.
0.1.0 (2024-Jul-01)¶
New Features¶
This initial release has support for Charmcraft build plans.
For a complete list of commits, check out the 0.1.0 release on GitHub.