From c929dce8e4fb58762d0ff8326d07e7a3f1692687 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sun, 15 Nov 2026 02:16:07 +0100 Subject: [PATCH] docs(packaging): add the 6.4.0 release entry 6.4.0 lets a project.cpp return several configurations from CrafterBuildConfigurations, which are all built, lets a GitProject or LocalProject spec pick one of a sibling's configurations by name, keeps the Configuration of a project loaded through either of them where its project file built it, and builds a wasm32 library that two configurations of one build share once when its project file sets the target itself. A minor, by the version rule: the notes have New and Fixes and nothing Breaking. --- .../net.catcrafts.CrafterBuild.metainfo.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml b/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml index 3e638bd..33429c4 100644 --- a/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml +++ b/packaging/flatpak/net.catcrafts.CrafterBuild.metainfo.xml @@ -26,6 +26,20 @@ + + +

New

+
    +
  • A project.cpp can describe several configurations that need not have anything to do with each other, such as a library and the tool that comes with it, or the programs of one repository. It defines CrafterBuildConfigurations, which returns a pointer to each of them, in place of CrafterBuildProject, which returns one configuration as before. crafter-build builds all of them in one pass, and one that fails does not stop the others. test runs the tests and run offers the scripts of every one the file made itself, -r runs the executable when exactly one of them is one, and install and bundle export the one that is packaged as a Flatpak; with more than one to choose from they stop and name them. The README's new "Several configurations" section has the details.
  • +
  • A GitProject or LocalProject spec picks one of a sibling's configurations by its name with .configuration, and gets the first one without it.
  • +
+

Fixes

+
    +
  • A project loaded through GitProject or LocalProject keeps the pointers its project.cpp took to the Configuration it returns, as a test declared with cfg.AddTest("T").Dependencies({ &cfg }) holds one. The loader moved that Configuration after the project file had returned it, which left such a pointer dangling, and crafter-build lint followed it for a sibling inside the project's own directory when a rule needed an AST.
  • +
  • A wasm32 library that two configurations of one build are built on is built once when its project.cpp sets the target without calling ApplyStandardArgs. The directories such a library is built into had one name until its build started and another from then on, so a configuration that asked for the library after that did not find the build already under way and started a second one.
  • +
+
+

New