Skip to content

v2.10.1

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Aug 00:27
Immutable release. Only release title and notes can be modified.
8a97da4

Fixed

  • Plugin activation no longer throws There is no active transaction on MySQL/MariaDB (#333) — PluginManager::activate() ran the plugin's migrations inside a DB::transaction(). On MySQL/MariaDB a plugin migration's CREATE TABLE triggers an implicit commit, ending that transaction, so when the wrapper then calls commit() PDO throws There is no active transaction — after the table was already created, leaving a half-applied activation. (SQLite has transactional DDL, so the path was never tripped by the suite.) The in-memory autoloader registration and the DDL migrations now run before the transaction, which wraps only the genuinely transactional writes (permission seeding and the is_active flip). Rollback semantics are unchanged: the PSR-4 snapshot and migrationsAttempted still drive rollbackFailedActivation(), which already rolled migrations back itself.