Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades the persistence stack to
byjg/micro-orm7.0 (which requiresbyjg/anydataset-db7.0). The AuthUser public API is unchanged — since 6.0 the library was already wired exclusively throughDatabaseExecutor, the API that became mandatory in anydataset-db 7.0.Changes
byjg/micro-ormto^7.0(resolves7.0.x-devuntil the upstream 7.0.0 tags exist)$dbDriver->execute()toDatabaseExecutor::using()(4 test files)Factory::getDbRelationalInstancewithFactory::getDbInstance^12.5, psalm^6.13CHANGELOG-7.0.mdNot affected
src/— no code changes needed (no observers, noRepositorysubclassing, already onDatabaseExecutor)docs/— examples already show theDatabaseExecutor::using()wiringTest plan
vendor/bin/psalm— no errorsvendor/bin/phpunit— 167 tests, 2318 assertions, all passing (PHP 8.5.7, phpunit 12.5)