From d8680a748d20e2032ebd44883da1307f6460307d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brian=20Sch=C3=A4ffner?= Date: Mon, 16 Nov 2026 13:10:25 +0100 Subject: [PATCH 1/2] fix(deps): require doctrine-bundle 1.0.5 so purges skip WordPress tables doctrine-bundle 1.0.5 hides WordPress tables from every DBAL schema filter. The fixtures purger respects that filter, so requiring 1.0.5 guarantees `doctrine:fixtures:load` can no longer truncate `wp_*` tables in a shared database. The filter fails closed when it cannot determine the WordPress table prefix, so the test suite, which runs without WordPress, now sets DB_TABLE_PREFIX. --- composer.json | 2 +- composer.lock | 16 ++++++++-------- phpunit.xml.dist | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index 1d3be8e..faf5e07 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "doctrine/data-fixtures": "^2.2", "doctrine/dbal": "^4.5", "doctrine/doctrine-fixtures-bundle": "^4.3.1", - "sympress/doctrine-bundle": "^1.0.3", + "sympress/doctrine-bundle": "^1.0.5", "sympress/kernel": "^1.1.14" }, "require-dev": { diff --git a/composer.lock b/composer.lock index d531904..8da4fb1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e8adeb16460830fa1b82f79624f3b573", + "content-hash": "621a695c3b2cdf2b4a7e8dee4a6d24d5", "packages": [ { "name": "doctrine/collections", @@ -4283,16 +4283,16 @@ }, { "name": "sympress/doctrine-bundle", - "version": "v1.0.3", + "version": "v1.0.5", "source": { "type": "git", "url": "https://github.com/SymPress/doctrine-bundle.git", - "reference": "7beacb89ddec16b84b59ba910623d5e50458452e" + "reference": "588f3e92d260cfee4d084d82044dafe99793776a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/SymPress/doctrine-bundle/zipball/7beacb89ddec16b84b59ba910623d5e50458452e", - "reference": "7beacb89ddec16b84b59ba910623d5e50458452e", + "url": "https://api.github.com/repos/SymPress/doctrine-bundle/zipball/588f3e92d260cfee4d084d82044dafe99793776a", + "reference": "588f3e92d260cfee4d084d82044dafe99793776a", "shasum": "" }, "require": { @@ -4353,10 +4353,10 @@ "description": "Native Doctrine ORM, DBAL and Symfony Doctrine bridge integration for SymPress.", "support": { "issues": "https://github.com/SymPress/doctrine-bundle/issues", - "source": "https://github.com/SymPress/doctrine-bundle/tree/v1.0.3" + "source": "https://github.com/SymPress/doctrine-bundle/tree/v1.0.5" }, - "time": "2026-11-06T08:47:51+00:00", - "published-time": "2026-11-06T08:48:03+00:00" + "time": "2026-11-15T19:09:20+00:00", + "published-time": "2026-11-15T19:10:45+00:00" }, { "name": "sympress/framework-bundle", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 32f61f9..eddc9ec 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -8,5 +8,5 @@ tests/Integration src - + From 6b5ca71e46f42f10d3997cf302a8638aad773624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brian=20Sch=C3=A4ffner?= Date: Mon, 16 Nov 2026 13:10:25 +0100 Subject: [PATCH 2/2] chore(release): prepare 1.1.1 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b7762b..f0bf6c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.1.1 + +- Requires `sympress/doctrine-bundle` 1.0.5: purges never touch tables with the + WordPress prefix. Outside WordPress, set `DB_TABLE_PREFIX` before running + fixture commands. + ## 1.1.0 - Migration-style fixtures: `doctrine:fixtures:status`, `doctrine:fixtures:up`