diff --git a/docs/BUILD_ACCEPTANCE.md b/docs/BUILD_ACCEPTANCE.md index 55ea119..e94785d 100644 --- a/docs/BUILD_ACCEPTANCE.md +++ b/docs/BUILD_ACCEPTANCE.md @@ -27,8 +27,8 @@ Target agent: Codex. ## Published-release evidence -- GitHub publishes stable release `v20.0.0`, dated 25 November 2026. -- Packagist resolves `ph7software/ph7builder` `v20.0.0` to the tagged release +- GitHub publishes stable release `v20.0.1`, dated 26 November 2026. +- Packagist resolves `ph7software/ph7builder` `v20.0.1` to the tagged release commit. - The package supports PHP 8.3 through 8.5 and declares its required PHP extensions. diff --git a/scripts/build-prompt.test.mjs b/scripts/build-prompt.test.mjs index d6abb2f..bdc922e 100644 --- a/scripts/build-prompt.test.mjs +++ b/scripts/build-prompt.test.mjs @@ -3,11 +3,18 @@ import test from "node:test"; import ts from "typescript"; const sourcePath = new URL("../src/lib/build-prompt.ts", import.meta.url); +const siteSourcePath = new URL("../src/data/site.ts", import.meta.url); const source = await (await import("node:fs/promises")).readFile(sourcePath, "utf8"); +const siteSource = await (await import("node:fs/promises")).readFile(siteSourcePath, "utf8"); +const latestRelease = siteSource.match(/latestRelease:\s*"([^"]+)"/)?.[1]; +assert.ok(latestRelease, "site metadata must declare the latest release"); const compiled = ts.transpileModule(source, { compilerOptions: { module: ts.ModuleKind.ESNext, target: ts.ScriptTarget.ES2022 }, }).outputText - .replace('import { site } from "../data/site";', 'const site = { origin: "https://ph7builder.com", githubUrl: "https://github.com/pH7Software/pH7-Social-Dating-CMS", latestRelease: "20.0.0" };'); + .replace( + 'import { site } from "../data/site";', + `const site = { origin: "https://ph7builder.com", githubUrl: "https://github.com/pH7Software/pH7-Social-Dating-CMS", latestRelease: ${JSON.stringify(latestRelease)} };`, + ); const moduleUrl = `data:text/javascript;base64,${Buffer.from(compiled).toString("base64")}`; const { generateBuildBlueprint, @@ -56,7 +63,7 @@ test("excessive input is bounded in both generated artefacts", () => { test("the portable blueprint records the published foundation without claiming deployment", () => { const blueprint = generateBuildBlueprint({ idea: "A serious matchmaking service", agentId: "codex" }); - assert.match(blueprint, /published_version_at_generation: "20\.0\.0"/); + assert.match(blueprint, new RegExp(`published_version_at_generation: "${latestRelease.replaceAll(".", "\\.")}"`)); assert.match(blueprint, /The application runs locally/); assert.doesNotMatch(blueprint, /production-ready in minutes/i); }); diff --git a/scripts/verify-build.mjs b/scripts/verify-build.mjs index 597e16a..c71b8f0 100644 --- a/scripts/verify-build.mjs +++ b/scripts/verify-build.mjs @@ -309,7 +309,7 @@ if (await exists(path.join(dist, "index.html"))) { if (!homepage.includes("Build it yourself") || !homepage.includes("Work with the creator")) failures.add("Homepage does not expose the independent and professional paths"); if (!homepage.includes("pH7Builder, formerly pH7CMS") || !homepage.includes("PHP 8.3–8.5") || !homepage.includes("MySQL 8.0+")) failures.add("Homepage does not expose the current product identity and requirements"); if (!homepage.includes('"SoftwareApplication"') || !homepage.includes('"SoftwareSourceCode"') || !homepage.includes('"Organization"')) failures.add("Homepage structured data does not identify the software and publisher entities"); - if (!homepage.includes('"alternateName":"pH7CMS"') || !homepage.includes('"softwareVersion":"20.0.0"')) failures.add("Homepage structured data does not identify the former name and published version"); + if (!homepage.includes('"alternateName":"pH7CMS"') || !currentRelease || !homepage.includes(`"softwareVersion":"${currentRelease}"`)) failures.add("Homepage structured data does not identify the former name and published version"); } if (await exists(path.join(dist, "build/index.html"))) { diff --git a/src/content/articles/0002-create-dating-web-app.md b/src/content/articles/0002-create-dating-web-app.md index e8fc414..ef631fa 100644 --- a/src/content/articles/0002-create-dating-web-app.md +++ b/src/content/articles/0002-create-dating-web-app.md @@ -27,7 +27,7 @@ composer create-project ph7software/ph7builder my-dating-app This creates an independent application copy. It is not the same as adding a library that will later replace the whole application through `composer update`. Keep your project in Git from the beginning so upstream changes and customer changes remain visible. -The latest published release is **pH7Builder 20.0.0**. It supports PHP 8.3 through 8.5. Use its versioned documentation and locked dependencies rather than assuming another branch or release has the same runtime requirements. +The latest published release is **pH7Builder 20.0.1**. It supports PHP 8.3 through 8.5. Use its versioned documentation and locked dependencies rather than assuming another branch or release has the same runtime requirements. ## Give the agent a product brief diff --git a/src/content/articles/9013-release-notes-20-0-1.md b/src/content/articles/9013-release-notes-20-0-1.md new file mode 100644 index 0000000..7096a3e --- /dev/null +++ b/src/content/articles/9013-release-notes-20-0-1.md @@ -0,0 +1,32 @@ +--- +title: "pH7Builder 20.0.1 — Security Release" +description: "pH7Builder 20.0.1 updates Symfony Mailer and MIME after two upstream TLS security advisories." +slug: "release-notes-20-0-1" +publishedAt: "2026-11-26T00:00:00Z" +sourceType: "release" +releaseStatus: "published" +sourceUrl: "https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/20.x/docs/RELEASE_NOTES_20.0.1.md" +categories: ["Release notes"] +tags: ["Security", "Symfony Mailer", "PHP 8.3"] +historical: false +featured: true +draft: false +--- +pH7Builder 20.0.1 updates the locked production mail dependencies after two +upstream Symfony Mailer security advisories. It replaces Symfony Mailer and +MIME 7.4.22 with 7.4.24. + +The update closes CVE-2026-133751, which could allow mandatory TLS to be +bypassed by a network attacker, and CVE-2026-133755, which could allow a reply +to be injected immediately after a STARTTLS command. + +There is no database migration from 20.0.0. The SQL schema remains `1.6.7`, and +PHP 8.3 through 8.5 remain supported. + +Operators should deploy the complete 20.0.1 package, preserve configuration and +user data, remove or block the installer, and clear application, template and +browser/CDN caches. Source deployments should run `composer install` from the +tagged tree so Composer installs the patched lock file. + +Download the release and its verification artefacts from the +[v20.0.1 GitHub release](https://github.com/pH7Software/pH7-Social-Dating-CMS/releases/tag/v20.0.1). diff --git a/src/data/site.ts b/src/data/site.ts index 3e309c8..01e52a4 100644 --- a/src/data/site.ts +++ b/src/data/site.ts @@ -20,9 +20,9 @@ export const site = { }, sponsorUrl: "https://github.com/sponsors/pH-7", contactEmail: "hello@ph7builder.com", - latestRelease: "20.0.0", - latestReleaseDate: "25 November 2026", - latestReleaseUrl: "https://github.com/pH7Software/pH7-Social-Dating-CMS/releases/tag/v20.0.0", + latestRelease: "20.0.1", + latestReleaseDate: "26 November 2026", + latestReleaseUrl: "https://github.com/pH7Software/pH7-Social-Dating-CMS/releases/tag/v20.0.1", latestReleaseRequirements: "PHP 8.3 through 8.5, MySQL 8.0 or newer, HTTPS, URL rewriting, and Apache or nginx", } as const;