Releases: rellix999/dismissibles-for-laravel
Releases · rellix999/dismissibles-for-laravel
5.1.0
5.0.0
Another major release due to an incompatibility, since i'm still figuring out the easiest interface.
- Add
Dismissibles::getAllFor(Dismisser $dismisser)
so you can easily get all Dismissibles instead of having to query them one by one - Add
scopeDismissedBy
andscopeDismissedAt
toDismissal
model - Add
scopeNotDismissedBy
toDismissible
model - Add the ability to pass a Carbon moment to several scopes for more flexibility
- Make tests more comprehensive by adding multiple "Dismisser" models
- Remove redundant
version
from composer.json
Incompatibility:
- Rename
Dismissibles::shouldShow
toDismissibles::shouldBeVisible
4.1.2
4.1.1
- Update readme + image
- Move logic regarding whether a Dismissible is dismissed by a Dismisser to model. This way you can also check it from the model (
$dismissible->isDismissedBy($dismisser)
instead of having to use the facadeDismissibles::isDismissed($dismissible->name, $dismisser)
. - Update version number :/