Skip to content

Releases: doctrine/dbal

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

Release v2.10.1

04 Jan 13:31
v2.10.1
c2b8e6e
Compare
Choose a tag to compare

Build Status

This release fixes regressions introduced in release v2.10.0, implements some CI/testing improvements and introduces updates in the documentation.

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

Regressions:

CI improvements and maintenance:

Test suite improvements:

Documentation updates:

Release v2.10.0

03 Nov 17:59
v2.10.0
0c9a646
Compare
Choose a tag to compare

Release v2.10.0

Build Status

This is a minor release of Doctrine DBAL that aggregates over 70 fixes and improvements developed by 25 contributors over the last year.

This release focuses on internal code quality improvement and deprecating the functionality identified for removal in the next major release.

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

Backwards Compatibility Breaks

This release introduces a minor BC break. Default column values are no longer handled as SQL expressions. They are converted to SQL literals (e.g. escaped). The previous behavior was not portable and was never by design.

Clients must now specify default values in their initial form, not in the form of an SQL literal (e.g. escaped).

Before:

$column->setDefault('Foo\\\\Bar\\\\Baz');

After:

$column->setDefault('Foo\\Bar\\Baz');

Deprecations

  • The usage of the getDriver(), getDatabasePlatform() and getSchemaManager() methods of the ConnectionEventArgs class has been deprecated.
  • The usage of the getDatabasePlatform() method of the SchemaColumnDefinitionEventArgs class has been deprecated.
  • The usage of the getHost(), getPort(), getUsername() and getPassword() methods of the Connection class has been deprecated.
  • Passing multiple SQL statements as an array to SchemaAlterTableAddColumnEventArgs::addSql() and the same method in other SchemaEventArgs-based classes is deprecated.
  • Calling AbstractSchemaManager::tablesExist() with a string argument is deprecated.
  • Calling OracleSchemaManager::createDatabase() without an argument or by passing NULL is deprecated.
  • Unused schema manager methods are deprecated.
    • AbstractSchemaManager::_getPortableFunctionsList(),
    • AbstractSchemaManager::_getPortableFunctionDefinition(),
    • OracleSchemaManager::_getPortableFunctionDefinition(),
    • SqliteSchemaManager::_getPortableTableIndexDefinition().
  • The usage of NULL to indicate empty $username or $password when calling Doctrine\DBAL\Driver::connect() is deprecated.
  • Method Doctrine\DBAL\Platforms::_getAlterTableIndexForeignKeySQL() has been deprecated as no longer used.
  • Property Doctrine\DBAL\Driver\OCI8\OCI8Statement::$_PARAM has been deprecated as not used.
  • Method Doctrine\DBAL\Driver::getName() is deprecated.
  • The usage of user-provided PDO instance is deprecated.
  • Type::* constants are deprecated.
  • The Doctrine\DBAL\Driver\SQLSrv\SQLSrvStatement::LAST_INSERT_ID_SQL constant has been deprecated.
  • The constants in Doctrine\DBAL\SQLParserUtils have been deprecated.
  • The Doctrine\DBAL\Logging\LoggerChain::addLogger method has been deprecated.

Please see the details in the UPGRADE.md documentation.

New Features and Improvements

MySQL-related changes:

Driver level changes:

Schema management:

Types improvements:

Compatibility with Symfony 5:

Query Builder:

Logging:

Code quality improvements:

Test suite improvements:

Documentation improvements:

CI improvements:

Read more