Skip to content

v2.6.0

Compare
Choose a tag to compare
@Ocramius Ocramius released this 23 Jul 01:06
· 4773 commits to 4.2.x since this release
v2.6.0
498760e

Build Status

This is a minor release of Doctrine DBAL that aggregates over 200 fixes
and improvements that we have tested, checked, reviewed and stabilised
over the last year.

This release includes all changes of the 2.5.x series, as well as
feature additions and improvements that couldn't land in patch releases.

Backwards Compatibility Breaks

This release comes with few potential Backwards Compatibility (BC)
breaks that, while unlikely affecting consumers of the library, are
to be considered.
Please take some time to read the UPGRADE.md documentation.
The issues related to these BC breaks are listed below.

Dependency requirement changes

The dependency requirements for DBAL 2.6.0 onwards have also changed:

  • HHVM is no longer officially supported
  • PHP 7.1.0 is the minimum supported PHP version
  • The PDO extension is now a required dependency

Deprecations

  • The json_array type is now to be considered deprecated
  • The Doctrine\DBAL\Schema\Table#renameColumn() API is deprecated
    and disabled
  • The Doctrine\DBAL\Connection#getDatabasePlatform() may
    now trigger database connections, if a platform version
    isn't provided upfront

New features

This release introduces a few major additions:

  • PostgreSQL 9.4+ platform support
  • MySQL 5.7.9 (GA) platform support
  • A JsonType that maps to JSON column types when supported
    by the underlying RDBMS
  • DateIntervalType
  • DateTimeImmutableType
  • DateTimeTzImmutableType
  • DateImmutableType
  • TimeImmutableType
  • PDO::FETCH_OBJ emulation for mysqli and oci8
    statements
  • SSL root certificate configuration support for pdo_pgsql
  • SSL support for mysqli

Improvements and Fixes

This release comes with a myriad of improvements and
bug-fixes that should improve both compatibility with
exotic database engines and overall performance.
We focused on stability and reliability of
existing features, and improved the overall consistency
of cross-platform behavior of the library.

A detailed list of fixes can be found below.

Total issues resolved: 224

BC Breaks:

Deprecations:

New Features:

Bug Fixes:

Improvements:

Documentation Improvements:

Chore: