Skip to content

Releases

v1.0.0

Choose a tag to compare

@awcodes awcodes released this 23 Nov 17:42
0121395

Vitals 1.0

Vitals is stable. It runs in production on aw.codes and is fully integrated in Relay, and there are no code changes from 0.1.2. From here, the public surface follows semantic versioning: config keys, plugin options, policy abilities, table columns and command names.

Vitals adds website uptime, certificate and incident monitoring to Filament 4 and 5 panels, on top of spatie/laravel-uptime-monitor. It requires PHP 8.3+ and Laravel 12 or 13.

  • 1.x is the default branch.
  • Upgrading from 0.x: change your constraint to ^1.0. If you installed 0.1.0 or 0.1.1, empty down() in your published Vitals migrations as described in Upgrading, if you haven't already.

What's Changed

Full Changelog: v0.1.2...v1.0.0

v0.1.2

Choose a tag to compare

@awcodes awcodes released this 23 Nov 17:24
819afe9

Rollbacks never drop data

Every Vitals migration skips tables and columns your application already has, but until now its down() dropped them anyway. Rolling back the batch after adopting Vitals over existing tables could delete all monitoring history, and monitor names where name existed before Vitals.

  • down() drops nothing in all four migrations. A rollback can't tell what Vitals created from what your application already had, so it leaves everything, with its data. Uninstalling is a manual step; see Installation.
  • Upgrading from 0.1.0 or 0.1.1: published migrations belong to your application and aren't updated by Composer. Make down() empty in each of the four Vitals migrations in database/migrations. Nothing else changes.

What's Changed

  • Never drop data when the migrations roll back by @awcodes in #9

Full Changelog: v0.1.1...v0.1.2

v0.1.1

Choose a tag to compare

@awcodes awcodes released this 23 Nov 17:08
fc7eaff

Improvements from a second application

Adopting Vitals in an application that didn't write it turned up two gaps. Both widen existing signatures, so nothing changes for current callers.

  • No navigation icon when your panel has none. VitalsPlugin::navigationIcon() now accepts an icon enum such as Heroicon::OutlinedSignal, or null to show no icon.
  • Vitals::schedule() from routes/console.php. The Schedule argument is optional, so a plain Vitals::schedule(); registers the four entries on the application's schedule. bootstrap/app.php can still pass the one withSchedule() provides.
  • Docs. Both scheduling forms, where the stylesheet is published (public/css/awcodes/vitals), and a note in Upgrading that the recommended notification setting replaces hourly outage reminders with one notification per outage and one on recovery.

What's Changed

  • Accept a null or enum navigation icon and an optional schedule by @awcodes in #8

Full Changelog: v0.1.0...v0.1.1

v0.1.0

Choose a tag to compare

@awcodes awcodes released this 21 Nov 21:10
bd9e558

Initial release

Vitals adds website uptime, certificate and incident monitoring to Filament 4 and 5 panels, on top of spatie/laravel-uptime-monitor. It requires PHP 8.3+ and Laravel 12 or 13.

Warning

Vitals is a work in progress. Do not use it in production yet.

  • A monitoring page for your panel. A summary strip, a needs-attention list, and a table with 30-day uptime, a daily history strip, response times and certificate status. Each site opens an inspection slide-over with its performance chart, recent checks, certificate details and incidents.
  • History Spatie doesn't keep. Every uptime check is recorded with its HTTP status and response time. Confirmed outages open incidents that the first passing check closes, and completed days are summarised before old checks are pruned.
  • Pausing for planned downtime. A paused monitor runs no checks and sends no notifications, with an optional reason and automatic resume time.
  • Safe by default. Monitor URLs and redirects that point at private network addresses are refused. vitals.allow_private_addresses turns this off for apps that monitor internal services.
  • Your policy, your schedule. Every action is authorized through MonitorPolicy, which you can replace, and nothing is scheduled until you call Vitals::schedule().
  • Built for existing apps. vitals:install leaves existing uptime-monitor files and tables alone, every migration skips what already exists, Monitor and TimedUptimeCheckRequest can be extended, and vitals:doctor checks the setup.

What's Changed

  • Phase 2: port the monitoring domain by @awcodes in #1
  • Phase 3: port the Filament page and alerts widget by @awcodes in #2
  • Phase 4: install, doctor and schedule by @awcodes in #3
  • Show more of the page in the share cards by @awcodes in #4
  • Open the Spatie extension points and add a private-address switch by @awcodes in #5
  • Bring the README in line with the fleet's Filament plugins by @awcodes in #6
  • Prepare v0.1.0 by @awcodes in #7

New Contributors

Full Changelog: https://github.com/awcodes/vitals/commits/v0.1.0