Repository navigation
SimpleSQL 1.1.0
SimpleSQL 1.1.0 adds saveSessionPair() for a single-statement, two-session write on SQLite and MySQL InnoDB. Both in-memory balances are applied only after SQL confirms success. A failed statement leaves both sessions unchanged; YAML mirrors are queued after success.
The SQL resource files must come from the same SimpleSQL revision as the virion source. Existing MySQL tables must use InnoDB; the API rejects paired writes on unsupported engines. The table schema is unchanged.
Verification: tag CI 38091865948 passed locked Composer validation, PHPStan at maximum level, SQL regression tests including injected second-row failures on SQLite and MySQL InnoDB, and PHP lint. SimpleEconomy consumer CI 38091745995 passed PHAR build and verification, PHPStan max for producer and example, and isolated Axolotl-PM 5.49.1 runtime checks for successful paired writes and rollback. Connected-player gameplay and live MySQL plugin runtime remain unverified.
Rollback: rebuild a consumer using the previous SimpleSQL v1.0.1 source and matching SQL resources. Back up the database and YAML directory before changing deployed consumer builds.