Skip to content

Latest commit

 

History

History
108 lines (72 loc) · 4.59 KB

CHANGELOG.md

File metadata and controls

108 lines (72 loc) · 4.59 KB

Unreleased

v2.1.0 (2024-09-25)

  • Support PHP 8.3

v2.0.0 (2022-10-28)

  • [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 the doctrine.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 a PDOException if it is calling methods on a PDO). 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 (2022-10-14)

  • Support PHP 8.1 and PHP 8.2

v1.3.6 (2022-03-28)

  • Add support for doctrine/persistence >= 2.4

v1.3.5 (2022-03-17)

  • Pin doctrine/persistence at < v2.4

v1.3.4 (2022-01-12)

  • Require doctrine/annotations at v1.13

v1.3.3 (2021-10-05)

  • Pin doctrine/dbal at v2 until we are ready to migrate to v3

v1.3.2 (2021-06-23)

  • Pin doctrine/cache at v1 until we follow a migration path to using PSR compatible cache adaptors with doctrine/orm

v1.3.1 (2021-04-21)

  • Support php 8.0

v1.3.0 (2020-11-02)

  • Support php 7.4

v1.2.0 (2020-05-28)

  • Require / support doctrine/common:3 and doctrine/persistence:2 - interface and class namespaces have been changed upstream. This is nominally breaking, but as per the doctrine/orm release it is primarily due to weak composer constraints allowing the major releases of doctrine/common and persistence - consuming projects can set an explicit require for the older doctrine versions to also opt out of these changes.

v1.1.1 (2020-05-28)

  • Restrict doctrine/common and doctrine/persistence versions - the latest minor release of doctrine/orm allows a breaking release in these packages but we directly use classes and interfaces that have now been renamed.

v1.1.0 (2020-02-14)

  • Add support for configuring database connection timeout, with 5 second default

v1.0.0 (2019-04-03)

  • Drop php5 support
  • Run php-cs-fixer native_function_invocation fix to potentially improve performance

v0.2.0 (2018-12-06)

  • Move default entity proxy namespace / path to APPPATH/DoctrineEntityProxy - not in the classes path at all
  • Switch to using autoloader directly to autoload doctrine annotations instead of having to find and register the annotations entrypoint file.
  • Add new mechanism for injecting event subscribers
  • Add new factories and kohana-dependencies service definitions for all services. Switch to using factories with inbuilt default config so that this package does not have to be registered as a kohana module in its own right.
  • Add new ConnectionConfigProvider to parse Kohana database.php config and return doctrine array, including with a NullPDO if there's no hostname.
  • Add new NullPDO that can be passed around to classes that need a PDO injected but don't need to do anything with it - e.g. to allow setup of the Doctrine build tools in an environment that can't actually speak to a DB
  • Switch package to generic library type rather than kohana module (so no need to override install path)
  • Add new ExplicitClasslistAnnotationDriver for listing pre-configured entity class types
  • Remove old Doctrine_EMFactory - will be replaced with new dependency factories and DI container definitions
  • Remove factory support for anything other than the simple annotation reader - you'll be able to inject own reader in DI container.
  • Remove factory support for the use_underscore_naming option - you'll be able to inject your own naming strategies in the DI container.
  • Remove the KohanaAnnotationDriver - we no longer support automagically loading entities from the CFS
  • Require ingenerator fork of kohana, use phpunit direct instead of kohana/unittest, update config of koharness and test paths.

v0.1.1 (2018-12-04)

  • Fix travis build config, drop support for PHP < 5.5

v0.1.0 (2018-12-04)

  • Release the old dev-master branch as a 0.1 release