Skip to content

0.2.0

Choose a tag to compare

@goldnead goldnead released this 04 Sep 17:03
· 164 commits to main since this release

Changed (breaking)

  • Statamic 6 only. composer.json now requires statamic/cms: ^6.0 (previously ^5.0). Statamic 6 ships an Inertia.js + Vue 3 SPA Control Panel; classical Blade CP views no longer fit nicely.
  • CP rendering moved from Blade to Vue. All CP controllers return Inertia::render('webhook-manager::Page/Name', $props) instead of view(...).
  • Build step required. The addon now ships a Vite configuration and a built JS/CSS bundle under resources/dist/. End users do not need to build — the bundle is committed/shipped. Contributors run npm install && npm run build in the addon folder.

Added

  • [new] vite.config.js, package.json and resources/js/cp.js entry point that registers each Vue page with Statamic's Inertia resolver via Statamic.$inertia.register('webhook-manager::Page/Name', PageComponent).
  • [new] 11 Vue pages built with the Statamic @ui component library (<ui-header>, <ui-panel>, <ui-listing>, <ui-field>, <ui-button>, <ui-badge>, <ui-confirmation-modal>, …):
    • Overview dashboard with stats panels and recent failures table.
    • Outbound index (search + status badges) and edit screen (useForm from @inertiajs/vue3, sectioned panels, test button, delete confirm modal).
    • Deliveries index (status/trigger/error filters) and detail (request/response snapshots, replay, copy as cURL).
    • Logs index with level/type/correlation filters.
    • Settings read-only config view.
    • Debug page with trigger registry list and live template preview.
    • Inbound, Rules, Templates stub pages with <ui-alert> "coming next" notices.
  • [new] $vite property on WebhookManagerServiceProvider so the CP loads the addon's bundle.
  • [new] inertiajs/inertia-laravel runtime dependency.

Removed

  • resources/views/cp/** — all Blade CP views deleted.
  • resources/views/partials/** — Blade <x-…/> components deleted.
  • resources/css/webhook-manager.css — replaced by resources/css/cp.css.
  • loadViewsFrom() call for the CP namespace (translations are still loaded).

Unchanged

  • All migrations, domain models, repositories, services, queue jobs, console commands, tests.
  • Auth verifiers, template renderer, mapping engine, condition evaluator.
  • Routes (routes/cp.php, routes/actions.php, routes/inbound.php).
  • FormRequests and validation rules.
  • Permissions / RBAC structure.
  • Public extension API (Goldnead\WebhookManager\Facades\WebhookManager).