Skip to content

Releases: doctrine/dbal

Release 3.0.0

15 Nov 22:39
3.0.0
ee6d126
Compare
Choose a tag to compare

Release 3.0.0

This is a major release of Doctrine DBAL that focuses on API improvements and removal of deprecated APIs.

Major release highlights

  1. Integration with PDO has been reworked. The php_pdo extension is no longer a hard dependency of the doctrine/dbal package. The PDO API is not longer the standard for DBAL APIs.
  2. The wrapper-level connection and statement classes no longer implement the corresponding driver-level interfaces.
  3. Instead of being available in certain states of the Statement class, the statement result is explicitly returned as a separate value.
  4. A new dedicated API has been introduced for unique constraints.
  5. The prepared statement portability layer has been reworked on top of the newly introduced Driver Middleware API.
  6. The logic of conversion of driver-specific error codes and exceptions has been extracted into the Exception Converter API.
  7. The SQL parser has been completely reworked to allow for better compatibility with the SQL syntax.
  8. The following database platforms are no longer supported:
    • Drizzle,
    • MariaDB 10.0 and older,
    • Microsoft Azure,
    • PostgreSQL 9.3 and older,
    • SQL Anywhere,
    • SQL Server 2008 and older.
  9. The following drivers are no longer supported:
    • pdo_ibm,
    • sasql.
  10. Passing a PDO instance initialized outside of the DBAL is no longer supported.
  11. The support for UUID generation on the database side has been dropped.
  12. The MasterSlaveConnection class has been renamed to PrimaryReplicaConnection.
  13. The executeUpdate() method has been renamed to executeStatement().
  14. All driver classes and driver-level connection and statement classes are now consistently named and declared as final.
  15. All PDO-based drivers have been moved under the PDO namespace.
  16. The Doctrine\DBAL\DBALException and Doctrine\DBAL\Driver\DriverException have been renamed to Doctrine\DBAL\Exception and Doctrine\DBAL\Driver\Exception respectively.
  • Total issues resolved: 26
  • Total pull requests resolved: 99
  • Total contributors: 13

PHP 8 support

API improvements

Legacy platform and driver removal

Deprecated API removal

Other breaking changes

Read more

Release 2.12.1

14 Nov 20:51
2.12.1
adce7a9
Compare
Choose a tag to compare

2.12.0

22 Oct 18:29
2.12.0
c6d37b4
Compare
Choose a tag to compare

Release 2.12.0

2.12.0

  • Total issues resolved: 1
  • Total pull requests resolved: 7
  • Total contributors: 5

Documentation,Static Analysis

CI

Bug,Static Analysis

Documentation,Error Handling

CI,PHP

PHP

Release 2.11.3

20 Oct 14:53
2.11.3
fb5d5f2
Compare
Choose a tag to compare

Release 2.11.3

  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 2

Regression in PostgreSQL Schema Manager

Release 2.11.2

19 Oct 02:18
2.11.2
b88a45c
Compare
Choose a tag to compare

Release 2.11.2

  • Total issues resolved: 5
  • Total pull requests resolved: 16
  • Total contributors: 10

Backward compatibility fixes

Upgrade path improvements

Bug fixes

Documentation improvements

Test suite improvements

Static analysis improvements

Continuous integration improvements

Release 2.11.1

27 Sep 04:35
2.11.1
6e6903c
Compare
Choose a tag to compare

Release 2.11.0

20 Sep 23:47
2.11.0
0d4e1a8
Compare
Choose a tag to compare

Release 2.11.0

Build Status

This release focuses on deprecating the functionality identified for removal in the next major release and adds a few improvements.

Changes in fetching data from prepared statements

The previous API was inherited from PDO and allowed to specify the fetch mode by passing ones of the FetchMode constants to the fetch*() methods of the Statement interface. Now, there is a dedicated method for each of the modes.

Added ASCII parameter binding

For those database platforms that support columns of the ASCII character set (currently, SQL Server), it is now possible to bind the corresponding prepared statement parameters using the ASCII parameter type and avoid unnecessary value conversion.

Note that PHP 7.3 is now the minimum supported PHP version.

  • Total issues resolved: 7
  • Total pull requests resolved: 55
  • Total contributors: 8

Deprecations

Improvements in Prepared Statements

Driver Improvements

Improvements in CLI Tools

Improvements in QueryBuilder

Error Handling Improvements

Static Analysis Improvements

Other Changes

Release 2.10.4

12 Sep 21:44
2.10.4
4743319
Compare
Choose a tag to compare

Release 2.10.4

Build Status

  • Total issues resolved: 2
  • Total pull requests resolved: 3
  • Total contributors: 3

Regressions

Bug fixes

CI improvements

Release 2.10.3

02 Sep 02:05
2.10.3
03ca23a
Compare
Choose a tag to compare

Release 2.10.3

Build Status

  • Total issues resolved: 3
  • Total pull requests resolved: 42
  • Total contributors: 9

Bug Fixes

Other Code Improvements

Static Analysis Improvements

CI Improvements

Documentation Improvements

Test Suite Improvements

Code Style Improvements

Release 2.10.2

20 Apr 17:59
2.10.2
aab745e
Compare
Choose a tag to compare

Release 2.10.2

Build Status

  • Total issues resolved: 4
  • Total pull requests resolved: 19
  • Total contributors: 10

Bug Fixes

Static Analysis Improvements

CI Improvements

Documentation Improvements

Test Suite Improvements