Skip to content

Releases: rellix999/dismissibles-for-laravel

5.1.0

07 May 18:54
Compare
Choose a tag to compare
  • Update readme with table of contents and fancy icons
  • Add shouldBeVisibleTo($dismisser) to Dismissible model
  • Add dismissFor($dismisser) to Dismissible model
  • Add scopeVisibleTo to Dismissible model

5.0.0

05 May 14:10
Compare
Choose a tag to compare

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 and scopeDismissedAt to Dismissal model
  • Add scopeNotDismissedBy to Dismissible 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 to Dismissibles::shouldBeVisible

4.1.2

04 May 13:53
Compare
Choose a tag to compare
  • Fix a bug that caused the isDismissedBy to ignore dismisser_type, causing an issue when you are using multiple Dismisser models

4.1.1

02 May 15:01
Compare
Choose a tag to compare
  • 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 facade Dismissibles::isDismissed($dismissible->name, $dismisser).
  • Update version number :/

4.0.1

29 Apr 15:07
Compare
Choose a tag to compare
  • Fix a bug that caused the test migration to be saved (not ran) to the migrations table of consumer

4.0.0

29 Apr 14:05
Compare
Choose a tag to compare
  • Rename the package from "Laravel Dismissibles" to "Dismissibles for Laravel"

3.0.0

28 Apr 12:44
Compare
Choose a tag to compare
  • Make facade have more fluent methods (forThisCalendar* -> until*)

2.0.0

27 Apr 12:37
Compare
Choose a tag to compare
  • Introduce Rellix\LaravelDismissibles\Facade\Dismissibles for more simplicity
  • Change the namespace
  • Add phpstan
  • Add tags to composer.json
  • Add donate link to readme

1.0.0

23 Apr 15:05
Compare
Choose a tag to compare

Initial release 🎈!