Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/BUILD_ACCEPTANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
11 changes: 9 additions & 2 deletions scripts/build-prompt.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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);
});
Expand Down
2 changes: 1 addition & 1 deletion scripts/verify-build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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"))) {
Expand Down
2 changes: 1 addition & 1 deletion src/content/articles/0002-create-dating-web-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
32 changes: 32 additions & 0 deletions src/content/articles/9013-release-notes-20-0-1.md
Original file line number Diff line number Diff line change
@@ -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).
6 changes: 3 additions & 3 deletions src/data/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down