Skip to content

Pair starter 4.0.0 — Stable Pair 4 applications

Latest

Choose a tag to compare

@viames viames released this 07 Nov 11:29
· 4 commits to main since this release

Starter 4.0.0 is the stable starting point for new Pair 4 applications and requires Pair ^4.1.12. The normal Composer create-project path now resolves the corrected framework without dev-main or a second dependency update.

  • Declare PHP 8.4.1+ and the starter's required extensions; remove the obsolete template lock. Generated applications receive and should commit their own composer.lock.
  • Correct fresh-installer DDL handling, reject populated databases before writes, use cryptographic administrator-password generation and remove the installer after success.
  • Align the initial schema and seed with Pair 4 superusers, passkey storage and both migration baselines. Correct guest login detection, superuser checks, user-list date formatting and pagination.
  • Repair the Self test's runtime/logger/ORM checks, inspect both migration sources and check owned database/session settings without requiring server-wide collation changes. Web Push storage remains optional.
  • Add real Composer installation tests and six PHP/MySQL CI combinations, plus regression coverage for login and installed pages.

Validation: 38 configured starter tests / 3,852 assertions with no skips on each PHP 8.4/8.5 × MySQL 8.0/8.4/26.10 combination. Browser acceptance on a fresh MySQL 26.10 schema verified installer completion and self-removal, generated credentials, protected users page, all nine Self test checks, logout and anonymous-access redirection. Pair's framework suite passed separately.

Installation: composer create-project viames/pair_boilerplate my-project

Compatibility and rollback: this is a fresh-application template; it does not migrate existing applications or convert their user schemas. Use a new or empty database. Existing applications retain their own lock and deployment process. For an unused test installation, remove only its disposable application/schema; preserve any application data before replacement. Published tags remain immutable; release a patch for subsequent corrections.