docs(packaging): add the 6.4.2 release entry
All checks were successful
Flatpak / flatpak (push) Successful in 14m6s

6.4.2 reads what each .cppm and .cpp declares and imports with
clang-scan-deps, which preprocesses the source with its compile command,
where it searched the source's text with regular expressions (#45), and
so refuses a module built twice for one program, and interface units
that import each other, once the dependencies are built.

A patch, by the version rule: the notes have Fixes and nothing New or
Breaking. The range takes ResolvePendingImports off Configuration, and
the pendingImports members off Module, ModulePartition and
Implementation, all of which interfaces/ exports, and leaves a
configuration's interfaces and implementations empty until a build has
read its sources. All of it is the build's own bookkeeping of a
configuration's units, as Compile() and `compiled` were, which 6.3.0
took off the same unit classes as "internal and not user facing"
(12e8b90), and no project.cpp of this checkout or of the Catcrafts
checkouts beside it names any of it (callers.txt in the review's
evidence).
This commit is contained in:
Jorijn van der Graaf 2026-11-27 09:25:54 +01:00
commit 578a1da600
Signed by: jorijnvdgraaf
GPG key ID: 2937E59CDCC1BCFB

View file

@ -26,6 +26,15 @@
</provides>
<content_rating type="oars-1.1"/>
<releases>
<release version="6.4.2" date="2026-11-27">
<description>
<p>Fixes</p>
<ul>
<li>What a <code>.cppm</code> or <code>.cpp</code> declares and imports is read by clang-scan-deps, which preprocesses the source with the command it is compiled with, where crafter-build searched its text (#45). An import in a comment that spans lines, in a string literal or in a branch that <code>#if</code> leaves out no longer counts; one written with two spaces after <code>import</code>, or with a space before its semicolon, is no longer missed, which let a unit be compiled before the module it imports; and a define or a header decides an import as it does for the compile. A string literal that holds <code>export module std;</code> no longer stops the build. What was read is kept in the build directory, and read again when the source, a file it includes or its compile command changes. The refusal of interface units that import each other, and of a module built twice for one program, comes once the configuration's dependencies are built, before any of its own <code>.cppm</code> and <code>.cpp</code> is compiled, where it came before the configuration built anything.</li>
<li>A project that exports modules and that two paths load with the same flags of its own in two orders is built once where the two orders give it one build directory. The build stopped, taking it for two builds of the project's modules.</li>
</ul>
</description>
</release>
<release version="6.4.1" date="2026-11-19">
<description>
<p>Fixes</p>