Skip to content

Release v1.6.0

Choose a tag to compare

@github-actions github-actions released this 14 Jul 15:42
· 69 commits to main since this release

Release v1.6.0

Changelog

Added

  • dbal_exception_reporter: Doctrine DBAL driver middleware that reports SQL/driver exceptions to Sentry before application catch blocks swallow them (e.g. column not found / SQLSTATE 42S22).
  • Optional sql_states filter, per-connection scoping, max_sql_length, and deduplicate toggle.
  • BeforeSendHandler deduplicates events when the same SQL exception was already reported by the DBAL middleware.
  • ReportedSqlExceptionRegistry with kernel.reset for FrankenPHP worker mode.
  • Composer suggest: doctrine/dbal, doctrine/doctrine-bundle.
  • Demos: Doctrine SQLite + routes /sentry/sql-caught and /sentry/sql-uncaught; pdo_sqlite in 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