Skip to content

Upgrade to byjg/micro-orm 7.0 and anydataset-db 7.0 - #16

Open
byjg wants to merge 1 commit into
masterfrom
7.0
Open

Upgrade to byjg/micro-orm 7.0 and anydataset-db 7.0#16
byjg wants to merge 1 commit into
masterfrom
7.0

Conversation

@byjg

@byjg byjg commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Summary

Upgrades the persistence stack to byjg/micro-orm 7.0 (which requires byjg/anydataset-db 7.0). The AuthUser public API is unchanged — since 6.0 the library was already wired exclusively through DatabaseExecutor, the API that became mandatory in anydataset-db 7.0.

Changes

  • Bump byjg/micro-orm to ^7.0 (resolves 7.0.x-dev until the upstream 7.0.0 tags exist)
  • Migrate test DDL from the removed $dbDriver->execute() to DatabaseExecutor::using() (4 test files)
  • Replace deprecated Factory::getDbRelationalInstance with Factory::getDbInstance
  • Update dev dependencies: phpunit ^12.5, psalm ^6.13
  • Add CHANGELOG-7.0.md

Not affected

  • src/ — no code changes needed (no observers, no Repository subclassing, already on DatabaseExecutor)
  • docs/ — examples already show the DatabaseExecutor::using() wiring

Test plan

  • vendor/bin/psalm — no errors
  • vendor/bin/phpunit — 167 tests, 2318 assertions, all passing (PHP 8.5.7, phpunit 12.5)

Note: tag 7.0.0 only after micro-orm and anydataset-db publish their 7.0.0 tags, otherwise the stable release resolves against dev branches.

- Bump byjg/micro-orm to ^7.0 (pulls byjg/anydataset-db ^7.0)
- Migrate test DDL from removed $dbDriver->execute() to DatabaseExecutor
- Replace deprecated Factory::getDbRelationalInstance with getDbInstance
- Update dev dependencies: phpunit ^12.5, psalm ^6.13
- Add CHANGELOG-7.0.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant