Skip to content

Releases: doctrine/dbal

Release v2.8.1

04 Dec 07:11
v2.8.1
a9019c1
Compare
Choose a tag to compare

Release v2.8.0

13 Jul 04:52
v2.8.0
5140a64
Compare
Choose a tag to compare

Release v2.8.0

Build Status

This is a minor release of Doctrine DBAL that aggregates over 30 fixes and improvements developed over the last 3 months.

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

Backwards Compatibility Breaks

This doesn't contain any intentional Backwards Compatibility (BC) breaks.

Dependency Changes

Please see details in the UPGRADE.md documentation.

Deprecations

  • The usage of binary fields whose length exceeds the maximum field size on a given platform is deprecated. Please use binary fields of a size which fits all target platforms, or use blob explicitly instead.
  • The usage of DB-generated UUIDs is deprecated. Their format is inconsistent across supported platforms and therefore the feature is not portable. Use a PHP library (e.g. ramsey/uuid) to generate UUIDs on the application side.

New features

  • Initial support of MySQL 8.
  • Initial support of PostgreSQL 11.
  • Ability to evaluate arbitrary SQL expressions via AbstractPlatform::getDummySelectSQL().

Improvements and Fixes

  • Improved support of binary fields on Oracle and IBM DB2.
  • Improved SQL Server configuration capabilities via both sqlsrv and pdo_sqlsrv.
  • Improved handling of AUTOINCREMENTed primary keys in SQLite.
  • Integration tests are run against IBM DB2 on Travis CI.
  • Code coverage is collected for the Oracle platform on continuousphp.

Total issues resolved: 33

Deprecations:

New Features:

Bug Fixes:

Improvements:

Documentation Improvements:

Code Quality Improvements:

Continuous Integration Improvements:

Dependencies

Release v2.7.2

13 Jul 05:19
v2.7.2
c0e5736
Compare
Choose a tag to compare

v2.7.1

08 Apr 05:46
v2.7.1
11037b4
Compare
Choose a tag to compare

Release v2.7.1

Build Status

This release fixes unintentional BC breaks:

  1. It was impossible to use deprecated fetch modes with PDO-based drivers.
  2. An unsupported option passed to the Column object prevented subsequent options from being applied.
  3. Date interval values stored prior to upgrade to v2.7.0 were reported as invalid.

Total issues resolved: 10

Backwards Compatibility Fixes:

Documentation Improvements:

Continuous Integration Improvements:

v2.7.0

04 Apr 06:39
v2.7.0
f76bf5e
Compare
Choose a tag to compare

Build Status

This is a minor release of Doctrine DBAL that aggregates over 80 fixes and improvements developed over the last 8 months.

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

Backwards Compatibility Breaks

This release comes with one potential Backwards Compatibility (BC) break that is to be considered during upgrade.
Please see the details below.

Dependency requirement changes

There are no changes in requirements to runtime dependencies.

Deprecations

  • Direct usage of PDO:: constants in calls to DBAL API is deprecated.
  • Calls to \PDOStatement methods on a \Doctrine\DBAL\Driver\PDOStatement instance are deprecated.
  • A series of enum-like constants are deprecated.
  • Setting unsupported options on a schema column object is deprecated.

Please see details in the UPGRADE.md documentation.

New features

This release introduces the following major additions:

  • MariaDB 10.2 platform support
  • PostgreSQL 10 platform support

Improvements and Fixes

This release comes with a few bug fixes and a significant set of improvements in continuous integration processes, code style and documentation:

  • The code is continuously tested on all supported versions of SQL Server on Windows and Linux.
  • The code is tested with lowest compatible versions of dependencies.
  • New improved code style requirements have been introduced.
  • The codebase has been cleaned up from the fragments required to support the older PHP versions and uses the full power of the PHP 7.1.
  • All pull requests are validated for compliance with the coding standards before getting accepted.
  • Handling of platform-specific features has been improved.

A detailed list of fixes can be found below.

Total issues resolved: 81

BC Breaks:

Deprecations:

New Features:

Bug Fixes:

Improvements:

Documentation Improvements:

Continuous Integration Improvements:

Code Style Improvements:

Read more

v2.6.3

19 Nov 14:03
v2.6.3
e3eed9b
Compare
Choose a tag to compare

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