Repository navigation
4.7.3
Changed
- Refresh the bundled WordPress core PHPUnit test includes.
- Refresh the bundled
sqlite-database-integrationplugin to version 3.1.3 (#823). - The scaffold snapshots include the
.htaccessandindex.phpfiles the plugin creates in the SQLite database directory (#823).
Fixed
- The core PHPUnit updater reports failures and leaves existing includes untouched if generation fails.
- The core PHPUnit updater falls back to installed PHP 8.3 when the default PHP is incompatible.
- The SQLite plugin updater downloads and extracts the plugin in a staging directory, so a failed download leaves the bundled plugin intact and files removed upstream are not left behind (#823).
- The SQLite plugin updater fails when a required transformation no longer applies, instead of silently shipping an unpatched plugin (#823).
- The SQLite plugin updater requires
vendor/bin/phpcbfand refuses to run without it, instead of leaving the generated files unformatted (#823). - SQLite database dumps skip the
_wp_sqlite_*tables the database integration plugin derives from the schema: version 3.1 creates them asSTRICTtables and a dumpedNULL(an empty string) is rejected by theirINTEGERcolumns on import (#823).
Breaking change
- Core PHPUnit factories can now throw
WP_UnitTest_Factory_Exceptioninstead of returningWP_Error,null, or other failure values. This also affects factories used throughWPLoader::factory()andWPTestCase::factory().