Repository navigation
v1.0.0-rc.2
Pre-release
Pre-release
Overview
maatify/php-persistence 1.0.0-rc.2 fixes PDO error handling in Ordering. A failed read can no longer appear as an empty scope or a missing row, and a failed move write enters the rollback path. Issue #32
Fixed
- Ordering preserves the caller's PDO error mode. A statement failure reported through a return value raises
OrderingExecutionException. Exceptions thrown by PDO propagate unchanged. - If a range shift or target update fails, Ordering attempts to roll back a transaction it owns. When the caller owns the transaction, Ordering attempts to undo its writes through the operation's savepoint while the transaction remains active.
- Ordering rejects stored positions outside PHP's integer range and rejects next-position overflow with
OrderingExecutionException. Ordering contract
Changed
- Maatify Ltd. is named as the copyright holder and licensor. The proprietary license documents free written authorization and license-holder registration for security advisories and critical update notices. License terms
Installation and compatibility
composer require maatify/php-persistence:1.0.0-rc.2PHP ^8.4, ext-pdo, and ext-pdo_mysql remain required. If your application uses silent or warning mode, handle OrderingExecutionException where a failed Ordering statement previously produced a normal result. Review the documented database behavior and verification scope.