Skip to content

Releases: doctrine/dbal

v2.6.2

28 Aug 11:10
v2.6.2
1a4ee83
Compare
Choose a tag to compare

Build Status

This release fixes an incorrect optimisation in
Doctrine\DBAL\Query\Expression\CompositeExpression which
could have led to dropping query expression components.

Also, DBAL was ignoring some important platform settings
when determining which cache keys to use when looking for
result caches: that could have led to sharing caches for
results produced by different DB connections.

Total issues resolved: 2

v2.6.1

28 Jul 10:44
v2.6.1
1a086f8
Compare
Choose a tag to compare

Build Status

This release fixes an unintentional BC break that
prevented using DateTimeImmutable interfaces
in the pre-existing date-related types.

Users are still encouraged to migrate to the newly
introduced immutable date types.

Total issues resolved: 2

v2.6.0

23 Jul 01:06
v2.6.0
498760e
Compare
Choose a tag to compare

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:

Read more

v2.5.13

22 Jul 20:46
v2.5.13
729340d
Compare
Choose a tag to compare

Build Status

This release fixes a number of issues around the PostgreSQL,
OracleDB and MySQL platforms database introspection.

Connection DSN generation fixes were applied for the
SQLAnywhere driver.

Corrections on how record fetching mode have been applied to
the DB2 driver.

Fixes were applied to the handling of cursors and result
caching with pdo_sqlsrv.

Total issues resolved: 16

v2.5.12

08 Feb 12:58
Compare
Choose a tag to compare

Build Status

This release fixes some regressions introduced in OracleDB support in 2.5.11.
Specifically, closing a cursor caused an ORA-01002 exception to be raised
in some scenarios.

Further fixes include:

  • support for dropping "in use" databases in OracleDB and SQL Server (must disconnect first)
  • corrections in how the last insert ID is fetched on SQL Server
  • re-use of parameters bound to an sqlsrv statement via bindValue()

Total issues resolved: 8

v2.5.11

04 Feb 21:45
v2.5.11
Compare
Choose a tag to compare

v2.5.10

23 Jan 23:24
Compare
Choose a tag to compare

Build Status

This release fixes:

  • some PHP 5.3 compatibility issues that caused the test suite to fail
    for the previous release
  • index renaming for indexes that had particular assigned options, and
    that were being added rather than renamed or recreated under a different
    name
  • date and datetimetz OracleDB type introspection: these two types
    were incorrectly recognized as datetime

Total issues resolved: 4

v2.5.9

19 Jan 13:45
v2.5.9
Compare
Choose a tag to compare

Build Status

This release fixes an issue with type information passed to Connection#update(),
which was incorrectly handled if the updated columns and the identifier columns
had equivalent keys.

Also, the generated current date and time SQL expressions for SQL Server were fixed.

Total issues resolved: 4

v2.5.8

17 Jan 21:16
v2.5.8
Compare
Choose a tag to compare

Build Status

This release fixes some issues around LIMIT/OFFSET handling in DB2, OracleDB, SQL Server:

  • Allowing LIMIT/OFFSET modification without LIMIT on OracleDB
  • Allowing LIMIT/OFFSET modification with OFFSET = 0 on DB2
  • Avoiding an accidental infinite loop in LIMIT/OFFSET modification on SQL Server

Total issues resolved: 4

v2.5.7

14 Jan 23:10
v2.5.7
Compare
Choose a tag to compare