All notable changes to ohdear-php-sdk will be documented in this file
- AI responses (get, list, latest)
- DNS blocklist history items (get, list)
- Ports history items (get, list)
- Domain info
- Notification destinations (team, tag, tag group — full CRUD)
- Recurring maintenance periods (full CRUD)
- Status page update templates (full CRUD)
- Tags (create, list)
- Tag groups (full CRUD)
- Additional status page endpoints (create, add/delete monitors, get updates, update updates)
- Additional monitor endpoints (get by URL, add to broken links whitelist, delete/update notification destinations, check summary)
- Application health check snooze/unsnooze
- Cron check definitions sync
AiResponse,DnsBlocklistHistoryItem,DomainInfo,PortsHistoryItem,RecurringMaintenancePeriod,StatusPageUpdateTemplate,Tag,TagGroup
Check: addedaverageResponseTimeInMsMonitor: addedtype,portsCheckSettings,dnsBlocklistCheckSettings,aiCheckSettingsStatusPage: addedpreventIndexing,addHstsHeaderCheckTypeenum: addedDnsBlocklist,Ports,Ai
- Several DTO
fromResponsemethods now use?? null/?? []defaults for fields that the API may omit, preventing errors on partial responses (ApplicationHealthCheck,ApplicationHealthCheckHistoryItem,BrokenLink,DetectedCertificate,DnsHistoryItem,DowntimePeriod,LighthouseReport,StatusPage)
- Removed dev-only test scripts and
vlucas/phpdotenvdev dependency - Added
laravel/pintas dev dependency for CI formatting - Dropped PHP 8.1 from CI matrix
- Updated README with documentation for all new endpoints
- Removed docblock comments from
CertificateHealthhelper methods (no functional change) - Minor refactor of
OhDearExceptionconstructor andValidationException::getAllErrorMessages()
Bugfix: handle null status codes in BrokenLink DTO and update tests
- Monitors: Create Notification Destination by @evan-burrell in #63
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/4.3.0...4.4.0
- Add Notification Destinations to Monitors Endpoints by @evan-burrell in #62
- @evan-burrell made their first contribution in #62
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/4.2.2...4.3.0
- fix: resolve uptime percentage as float by @owenvoke in #61
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/4.2.1...4.2.2
- fix: add missing
splitparam by @owenvoke in #59
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/4.2.0...4.2.1
- feat: add
inttype hint for param by @owenvoke in #58 - feat: add support for Uptime API by @owenvoke in #56
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/4.1.0...4.2.0
- feat: add support for Status Page Updates API by @owenvoke in #57
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/4.0.0...4.1.0
- v4 - uses monitors endpoint - now built on Saloon by @freekmurze in #55
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/3.10.3...4.0.0
Support added for updating a site and using the Sitemap resources via the SDK
- supress dynamic property deprecation warnings by @tobimori in #48
- @tobimori made their first contribution in #48
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/3.10.1...3.10.2
- Drop Carbon dependency, replace with
DateTimeImmutableby @vicdelfant in #47
- @vicdelfant made their first contribution in #47
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/3.10.0...3.10.1
- add extra attributes to the broken links resource
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/3.9.0...3.10.0
- add support for new cron fields
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/3.8.0...3.9.0
- add support for check summary
- feat: add support for Notifications by @owenvoke in #44
- chore(deps-dev): replace PHP-CS-Fixer locally with Pint by @owenvoke in #45
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/3.6.3...3.7.0
- chore(deps): update to use Pest 2.x by @owenvoke in #41
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/3.6.2...3.6.3
- fixed #19 and #38
- feat: add property for broken link text by @owenvoke in #37
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/3.6.0...3.6.1
- feat: add support for Domain Monitoring by @owenvoke in #36
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/3.5.0...3.6.0
- ci: test against PHP 8.1 and 8.2 by @owenvoke in #32
- feat: drop support for PHP 8.0 and below by @owenvoke in #33
- feat: update to use Pest by @owenvoke in #34
- ci: update to use Pint for styling by @owenvoke in #35
- feat: add support for Lighthouse Reports by @owenvoke in #31
Full Changelog: https://github.com/ohdearapp/ohdear-php-sdk/compare/3.4.4...3.5.0
- add
summarytoCheck
- update to enforce certificate verification (#27)
- fix Composer install for tests (#28)
- allow
StatusPageUpdate::$textto be nullable (#25)
- add endpoints and resources for app health checks (#24)
- add support for upcoming Dns endpoints
- replace
timeFramewithgroupBywhen retrieving performance records
- use new performance record format
- add sorting parameter to performance records method (#21)
- make description optional in cron checks
- make description optional in cron checks
- add status page updates API (#19)
- more fixes around performance records
- fix transforming
PerformanceRecordobjects (#17)
- add support for PHP 8
- add support for Guzzle 7
- add support for cron sync
- drop support for PHP 7.3 and below
This release introduces 2 breaking changes in the way the dates are passed for these functions:
performanceRecordscreateSiteMaintenance
- add start and stop maintenance endpoints
- add status pages
- make api resources cacheable
- add
labelto check
- fix certificate health endpoint
- fix trait name
THIS VERSION CONTAINS A BREAKING BUG, DO NOT USE
- add
certificate-healthendpoint
- fix hostname
- add uptime and downtime methods
- add
siteByUrl
- rename
apiKeytoapiToken
- add methods to retrieve mixed content and broken links
- fix bug where a successful response would not be recognized as such
- initial release