Skip to content

v1.0.0-rc.1

Pre-release
Pre-release

Choose a tag to compare

@megyptm megyptm released this 12 Nov 22:49
· 3 commits to main since this release
34c3b87

Overview

maatify/php-persistence 1.0.0-rc.1 is the first release candidate for a direct-PDO library offering Transaction, Pagination, and Ordering utilities for MySQL and MariaDB.

What’s included

  • Transaction — run callbacks in a package-owned transaction or participate in a caller-owned transaction. Owned transactions can opt in to bounded deadlock replay.
  • Pagination — normalize page and sort input, apply a sort whitelist, and return a bounded, typed page result. Snapshot consistency depends on the caller’s transaction and isolation level.
  • Ordering — read the next position, lock a scope for inserts, or move a row within an integer ordering scope. See the reference for concurrency behavior and the MariaDB error 1020 hazard.

Installation and compatibility

Install the exact release candidate from Packagist:

composer require maatify/php-persistence:1.0.0-rc.1

Requires PHP ^8.4, ext-pdo, and ext-pdo_mysql. The package can coexist with maatify/persistence; consumer migration requires adapting to the new API. This candidate establishes no Stable support line. Database evidence is limited to the versions and settings documented in the reference.

Packagist · Usage guide · Package reference · License