From c4d914a466a177b91d0a934e151adaf38c98749b Mon Sep 17 00:00:00 2001 From: Philip Iezzi Date: Thu, 21 Mar 2024 23:21:17 +0100 Subject: [PATCH] prepare CHANGELOG for v1.2.2 --- CHANGELOG.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6d0425..0c488d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,17 @@ # CHANGELOG -## [v1.2.x (Unreleased)](https://github.com/onlime/laravel-sql-reporter/compare/v1.2.1...main) +## [v1.2.x (Unreleased)](https://github.com/onlime/laravel-sql-reporter/compare/v1.2.2...main) - ... +## [v1.2.2 (2024-03-21)](https://github.com/onlime/laravel-sql-reporter/compare/v1.2.1...v1.2.2) + +- The `Writer` object now has a static `shouldReportSqlQuery()` method to define a custom callback for filtering queries included in the `QueryLogWritten` event. by @pascalbaljet in #4 +- The `SqlQuery` object is now a `readonly` class, and all the getter methods have been removed. **This is a breaking change.** +- The `SqlQuery` object now includes the unprepared query and bindings. +- Added tests for the reporting mechanism and the `QueryLogWritten` event +- Drops support for 8.1 + ## [v1.2.1 (2024-03-14)](https://github.com/onlime/laravel-sql-reporter/compare/v1.2.0...v1.2.1) - Fix | It now runs the whole test suite with a single `vendor/bin/pest` command. by @pascalbaljet in #3