Unverified Commit 2fb9115c authored by Benjamin Morel's avatar Benjamin Morel Committed by Sergei Morozov

Update UPGRADE.md

parent b130d983
......@@ -9,11 +9,6 @@ The Doctrine\DBAL\Version class is no longer available: please refrain from chec
1. The support of `PDO::PARAM_*`, `PDO::FETCH_*`, `PDO::CASE_*` and `PDO::PARAM_INPUT_OUTPUT` constants in the DBAL API is removed.
2. `\Doctrine\DBAL\Driver\PDOStatement` does not extend `\PDOStatement` anymore.
## BC BREAK: the SQLLogger interface has changed
The methods are the same but use scalar type hints, return types, and non-nullable arrays.
SQLLogger implementations are now final.
Before:
use Doctrine\DBAL\Portability\Connection;
......@@ -45,6 +40,12 @@ After:
The Drizzle project is abandoned and is therefore not supported by Doctrine DBAL anymore.
## BC BREAK: SQLLogger changes
- The SQLLogger interface has changed; the methods are the same but use scalar type hints, return types, and non-nullable arrays.
- SQLLogger implementations: `DebugStack`, `EchoSQLLogger`, `LoggerChain` are now final.
- `Configuration::getSQLLogger()` does not return `null` anymore, but a `NullLogger` implementation.
# Upgrade to 2.9
## Deprecated `Configuration::getFilterSchemaAssetsExpression()`, `::setFilterSchemaAssetsExpression()` and `AbstractSchemaManager::getFilterSchemaAssetsExpression()`.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment