v1.2.1
Fixed
- Postgres compatibility for the Reports endpoint (#60, fixes #59) —
ReportingServiceandReportController::avgFirstResponseHourspreviously emitted MySQL-onlyTIMESTAMPDIFF(HOUR, …)andDATE_FORMAT(…)SQL, which Postgres rejects withcolumn "hour" does not exist. Helpers nowmatchon the driver acrosssqlite | pgsql | mysqland emitEXTRACT(EPOCH FROM (to - from)) / 3600/to_char(…, 'YYYY-MM')etc. on Postgres. 16 new unit tests assert exact SQL per driver.
Internal
- New Docker dev/demo environment under
docker/(#58).docker compose up --buildfromdocker/boots a 3-container Postgres-backed Laravel host (PHP 8.3 + Postgres 16 + Mailpit) with the package installed and a/democlick-to-login picker. Excluded from the Composer dist viaarchive.exclude— won't appear invendor/. - Added
Escalated\Laravel\Database\Factories\to the production PSR-4 autoload soModel::factory()resolves at runtime in real installs (same class of bug as #55).
Full changelog: v1.2.0...v1.2.1