Version 5.7.1
May 21, 2026
Fixed
- Cache-miss and stale-cache warnings produced by
cachedViaCronnow carry the samenameandlabel(e.g.Security Vulnerabilities,Abandoned Packages) as a successfully computed result, instead of the fully-qualified class name. Also fixedCheck::getName()to return the short class name on Linux, wherebasename()did not split on backslashes.
Version 5.7.0
May 21, 2026
Added
- The CVE and Abandoned Packages health checks can opt into cron-refreshed caching via
->cachedViaCron(int $staleAfterSeconds). When enabled, the health-check endpoint reads the cached result instead of spawning composer subprocesses inline (which can take several seconds per advisory). Runcraft ohdear/health-check/refreshon cron to populate the cache. - New console command
craft ohdear/health-check/refreshiterates registered checks and refreshes the cached result for those that opted intocachedViaCron.
Changed
CveCheckandAbandonedPackagesChecknow share a singlecomposer auditinvocation when both run in the same process (refresh command, or one HTTP request with caching disabled), eliminating the duplicate audit subprocess.
Version 5.6.3
May 20, 2026
Fixed
- The CVE and Abandoned Packages health checks now copy
composer.pharto a unique per-call path and validate the copy succeeded. This prevents concurrent checks from clobbering each other's phar (which surfaced asCannot open phar archiveerrors) and surfaces a clear warning if the phar can't be prepared.
Version 5.6.0
April 24, 2026
Added
- Added a health check that calls the
backup/monitorcraft command to monitor backups managed by the Craft Backup plugin.
Version 5.5.0
April 20, 2026
Fixed
- The CVE and Abandoned Packages health checks no longer crash with a cryptic TypeError when
composer auditproduces non-JSON output. They now return a warning result carrying Composer's actual error message.
Version 5.4.0
March 17, 2026
Added
- Added a health check for whether the
allowAdminChangesgeneral config setting is enabled.
Version 5.3.1
August 29, 2025
Fixed
- Fixed and improved the handling of errors related to the plugin settings.
Version 5.3.0
August 28, 2025
Added
- Support the latest version of the Oh Dear API and PHP SDK.
Version 5.2.3
June 2, 2025
Fixed
- Prevent unnecessary API calls against the Oh Dear API.
Version 5.2.2
May 13, 2025
Added
- Added default description to queue health check job
Version 5.2.1
November 21, 2024
Changed
- Moved plugin registrations depending on Craft's initialization into onInit() method
Version 5.2.0
July 23, 2024
Added
- New health check: CVE (Monitor installed packages for known vulnerabilities using Composer Audit)
- New health check: Abandoned (Monitor installed packages for abandoned packages using Composer Audit)
Changed
- Optimized wording in existing health checks
Version 5.1.0
July 19, 2024
Added
- Added new Lighthouse check ๐ก๐
Changed
- Improved Broken Link and Mixed Content checks
Version 5.0.0
July 18, 2024
Craft Oh Dear for Craft CMS 5 is now available.
Fixed
- Missing custom plugin name in widget