Release v1.6.0
Release v1.6.0
Changelog
Added
dbal_exception_reporter: Doctrine DBAL driver middleware that reports SQL/driver exceptions to Sentry before applicationcatchblocks swallow them (e.g. column not found / SQLSTATE42S22).- Optional
sql_statesfilter, per-connection scoping,max_sql_length, anddeduplicatetoggle. BeforeSendHandlerdeduplicates events when the same SQL exception was already reported by the DBAL middleware.ReportedSqlExceptionRegistrywithkernel.resetfor FrankenPHP worker mode.- Composer
suggest:doctrine/dbal,doctrine/doctrine-bundle. - Demos: Doctrine SQLite + routes
/sentry/sql-caughtand/sentry/sql-uncaught;pdo_sqlitein FrankenPHP Dockerfiles. - Tests: unit tests for SQL reporter, middleware connection wrapper, and extension registration.
Changed
- Flex recipe and generated config templates include
dbal_exception_reporter(enabled by default when Doctrine is present). - Baseline spec and code inventory updated to 18/18 production artifacts.
Full Changelog: v1.3.2...v1.6.0