diff --git a/components/Home/WhatsNew.tsx b/components/Home/WhatsNew.tsx index aaddb4a..fb5aba4 100644 --- a/components/Home/WhatsNew.tsx +++ b/components/Home/WhatsNew.tsx @@ -20,16 +20,16 @@ import classes from './WhatsNew.module.css'; * l'accento sulle nuove feature che abbiamo introdotto nelle ultime versioni * -- scava a fondo -- tipo ad esempio i test"). Every line is the release * notes' or the docs' own (github.com/wpbones/WPBones/releases, v2.0.0 to - * v3.1.0) and every figure was measured, not read off a note: the test counts - * by running PHPUnit at each tag (`--list-tests`) and at v3.1.0 in full - * ("OK (360 tests, 993 assertions)": 224 unit, 136 console), as on CI. They are - * figures AT v3.1.0, said so on the page, so a later release does not make + * v3.2.0) and every figure was measured, not read off a note: the test counts + * by running PHPUnit at each tag (`--list-tests`) and at v3.2.0 in full + * ("OK (366 tests, 1020 assertions)": 224 unit, 142 console), as on CI. They are + * figures AT v3.2.0, said so on the page, so a later release does not make * them false. */ const RELEASE = (tag: string) => `https://github.com/wpbones/WPBones/releases/tag/${tag}`; -/** v2.0.0 to v3.1.0, as `gh release list -R wpbones/WPBones` lists them. */ -const RELEASES = 19; +/** v2.0.0 to v3.2.0, as `gh release list -R wpbones/WPBones` lists them. */ +const RELEASES = 20; /** * The suite at the four tags that grew it most, by `phpunit --list-tests` on the tag's tree. The @@ -43,8 +43,8 @@ const GROWTH: [string, number][] = [ ['v2.1.2', 200], ['v3.0.0', 350], ]; -const TESTS = 360; -const ASSERTIONS = 993; +const TESTS = 366; +const ASSERTIONS = 1020; /** .github/workflows/tests.yml's matrix. */ const PHP = ['8.1', '8.2', '8.3', '8.4']; @@ -80,8 +80,8 @@ const CARDS = [ { icon: IconPackageExport, title: 'Packages ready for WordPress.org', - tags: ['v2.0.6', 'v2.0.7'], - body: 'A broken build stops the deploy. What git ignores and Composer’s dev packages stay out of the package, and your working copy is never touched.', + tags: ['v2.0.6', 'v2.0.7', 'v3.2.0'], + body: 'A broken build stops the deploy. What git ignores, Composer’s dev packages and your test suites stay out of the package, and your working copy is never touched.', href: '/docs/bones-console/bones-console#what-the-deploy-leaves-out', }, { @@ -155,7 +155,7 @@ export function WhatsNew() {

Tested on every pull request

224 unit tests check the SQL the framework builds and who may open its pages, with no - WordPress and no database. 136 more run the real{' '} + WordPress and no database. 142 more run the real{' '} bones file against throwaway plugins. Every pull request and every push to master runs them on PHP 8.1 to 8.4, and a deprecation fails the build. @@ -163,7 +163,7 @@ export function WhatsNew() {

-
tests at v3.1.0
+
tests at v3.2.0
diff --git a/package.json b/package.json index 367eca2..79b35a4 100644 --- a/package.json +++ b/package.json @@ -78,5 +78,5 @@ "test": "yarn next typegen && yarn format:test && yarn lint && yarn typecheck && yarn jest", "typecheck": "tsc --noEmit" }, - "version": "3.1.0" + "version": "3.2.0" } diff --git a/public/newsletter/wpbones-3.2.0-deploy-tests.png b/public/newsletter/wpbones-3.2.0-deploy-tests.png new file mode 100644 index 0000000..a007049 Binary files /dev/null and b/public/newsletter/wpbones-3.2.0-deploy-tests.png differ diff --git a/public/wpkirk-api-boilerplate.zip b/public/wpkirk-api-boilerplate.zip index bdcde63..69cb262 100644 Binary files a/public/wpkirk-api-boilerplate.zip and b/public/wpkirk-api-boilerplate.zip differ diff --git a/public/wpkirk-blade-boilerplate.zip b/public/wpkirk-blade-boilerplate.zip index 8572e8d..7383c2e 100644 Binary files a/public/wpkirk-blade-boilerplate.zip and b/public/wpkirk-blade-boilerplate.zip differ diff --git a/public/wpkirk-boilerplate.zip b/public/wpkirk-boilerplate.zip index 278450d..a3d6725 100644 Binary files a/public/wpkirk-boilerplate.zip and b/public/wpkirk-boilerplate.zip differ diff --git a/public/wpkirk-cpt-boilerplate.zip b/public/wpkirk-cpt-boilerplate.zip index 98de462..1ddabc5 100644 Binary files a/public/wpkirk-cpt-boilerplate.zip and b/public/wpkirk-cpt-boilerplate.zip differ diff --git a/public/wpkirk-cron-boilerplate.zip b/public/wpkirk-cron-boilerplate.zip index ad7ba9b..5031dae 100644 Binary files a/public/wpkirk-cron-boilerplate.zip and b/public/wpkirk-cron-boilerplate.zip differ diff --git a/public/wpkirk-database-boilerplate.zip b/public/wpkirk-database-boilerplate.zip index f8e0a27..1f792f8 100644 Binary files a/public/wpkirk-database-boilerplate.zip and b/public/wpkirk-database-boilerplate.zip differ diff --git a/public/wpkirk-hooks-boilerplate.zip b/public/wpkirk-hooks-boilerplate.zip index 16ca9d3..1334e0d 100644 Binary files a/public/wpkirk-hooks-boilerplate.zip and b/public/wpkirk-hooks-boilerplate.zip differ diff --git a/public/wpkirk-internationalization-boilerplate.zip b/public/wpkirk-internationalization-boilerplate.zip index c03c167..4f0089a 100644 Binary files a/public/wpkirk-internationalization-boilerplate.zip and b/public/wpkirk-internationalization-boilerplate.zip differ diff --git a/public/wpkirk-mantine-boilerplate.zip b/public/wpkirk-mantine-boilerplate.zip index 33bc49b..cae9565 100644 Binary files a/public/wpkirk-mantine-boilerplate.zip and b/public/wpkirk-mantine-boilerplate.zip differ diff --git a/public/wpkirk-options-boilerplate.zip b/public/wpkirk-options-boilerplate.zip index 496a4df..0df52a3 100644 Binary files a/public/wpkirk-options-boilerplate.zip and b/public/wpkirk-options-boilerplate.zip differ diff --git a/public/wpkirk-packages-boilerplate.zip b/public/wpkirk-packages-boilerplate.zip index 659aa3c..e99c291 100644 Binary files a/public/wpkirk-packages-boilerplate.zip and b/public/wpkirk-packages-boilerplate.zip differ diff --git a/public/wpkirk-reactjs-boilerplate.zip b/public/wpkirk-reactjs-boilerplate.zip index 8a9d65b..dd9df97 100644 Binary files a/public/wpkirk-reactjs-boilerplate.zip and b/public/wpkirk-reactjs-boilerplate.zip differ diff --git a/public/wpkirk-routes-boilerplate.zip b/public/wpkirk-routes-boilerplate.zip index a15f5e5..86ca666 100644 Binary files a/public/wpkirk-routes-boilerplate.zip and b/public/wpkirk-routes-boilerplate.zip differ diff --git a/public/wpkirk-typescript-boilerplate.zip b/public/wpkirk-typescript-boilerplate.zip index b7f24c5..0caf5b2 100644 Binary files a/public/wpkirk-typescript-boilerplate.zip and b/public/wpkirk-typescript-boilerplate.zip differ