Skip to content

v1.1.0

Choose a tag to compare

@ronssij ronssij released this 11 Aug 16:11
· 2 commits to 1.x since this release

What's new

  • Support Filament 4.x — widened filament/support constraint to ^3.0|^4.0. Verified against a real Filament v4.12.6 app; no other code changes were required, since Field, Action, Color, CreateRecord/EditRecord, and Notification namespaces are unchanged in v4.
  • Fix draft visibility in the admin panel — added Ronssij\FilamentSimpleDraft\Resources\Concerns\Draftable, a Resource trait that overrides getEloquentQuery() to include drafts. Without it, records saved as drafts were hidden by the PublishedScope global scope and became unreachable (404 on edit, missing from listings).
  • Fix dead notification overrideCreate\Draftable was overriding getSavedNotification(), a method Filament's CreateRecord never calls (it calls getCreatedNotification() in both v3 and v4). Renamed so the custom success notification actually fires.

Closes #2

Full Changelog: v1.0.6...v1.1.0