Releases: ingenerator/kohana-doctrine2
v2.1.0
Update to doctrine/dbal v3
[BREAKING] Update doctrine/dbal to v3
-
This is a major release that introduces a number of breaking changes and deprecations - see the full upgrade notes
at https://github.com/doctrine/dbal/blob/3.5.x/UPGRADE.md -
Due to changes in the DBAL driver structure,
DoctrineFactory::getRawPDO
and thedoctrine.pdo_connection
service
now return an actual native PDO object, rather than a doctrine-specific wrapper/extension class. The major
difference will be that any calls will now throw native PDOException rather than doctrine exceptions. This should
not affect actual calling code (which presumably expects aPDOException
if it is calling methods on aPDO
).
However, things like loggers and global exception handlers will now potentially get two different classes of
database exceptions. -
The connection config returned when no database is configured (e.g. in an isolated unit-test environment) has
changed. We still use our NullPDO fake database connection, but this is now wrapped in a new FakeMysqlDriver class
as doctrine have split the driver and underlying PDO classes. NullPDO is now hardcoded to report that it is
connected to mysql 5.7.29.
v1.4.0
v1.3.6
Ping doctrine/persistence at <2.4
Require doctrine/annotations
Pin doctrine/dbal at v2
Merge pull request #11 from ingenerator/pin-doctrine-dbal Ping doctrine/dbal at v2 until we're ready to upgrade
Pin doctrine/cache at v1
Pin doctrine/cache at v1 until we follow a migration path to using PSR compatible cache adaptors with doctrine/orm
Support PHP 8.0
Merge pull request #9 from ingenerator/support-php8 Support PHP8
Support PHP 7.4
Merge pull request #8 from ingenerator/support-php74 Support php7.4 and test using Github actions