Skip to content

Releases: cybercog/laravel-ban

4.1.0

04 Sep 08:40
Compare
Choose a tag to compare

Added

  • (#48) Laravel 6.0 support

View the changes from 4.0.0 to 4.1.0

4.0.0

26 Feb 19:30
Compare
Choose a tag to compare

Added

  • Laravel 5.8 support

Changed

  • All methods are strict typed now

Removed

  • Laravel 5.1, 5.2, 5.3 and 5.4 support

View the changes from 3.5.0 to 4.0.0

3.5.0

07 Oct 11:07
74a5afc
Compare
Choose a tag to compare

Added

  • Ban created_by_type & created_by_id are fillable now (#35)

View the changes from 3.4.0 to 3.5.0

3.4.0

21 Sep 05:53
5d56a2f
Compare
Choose a tag to compare

Added

  • Add datetime cast for the deleted_at attribute (#29)

Fixed

  • Fixed bannable models ban & unban with applied BannedAtScope (#30)

View the changes from 3.3.0 to 3.4.0

3.3.0

15 Sep 22:46
64801ee
Compare
Choose a tag to compare

Added

  • Add isPermanent & isTemporary ban checks (#27)

Fixed

  • Stop trying to parse null value for expired_at as Carbon value (#27)

View the changes from 3.2.0 to 3.3.0

3.2.0

09 Sep 14:59
b75def6
Compare
Choose a tag to compare

Added

  • Laravel 5.7 support (#26)
  • Middleware to force logout banned users (#25)

View the changes from 3.1.0 to 3.2.0

3.1.0

08 Feb 05:45
95547df
Compare
Choose a tag to compare

Added

  • Laravel 5.6 support (#8)

View the changes from 3.0.1 to 3.1.0

3.0.1

12 Nov 18:16
Compare
Choose a tag to compare

Upgrade PHPUnit to 6.0 to fix Laravel 5.5 support.

View the changes from 3.0.0 to 3.0.1

3.0.0

27 Aug 13:29
Compare
Choose a tag to compare

Upgrade instructions from v2 to v3

Added

  • Laravel 5.5 support (#7)
  • Add package auto discovery for L5.5 (#8)
  • Auto-loading migrations

Changed

  • Cog\Ban\Contracts\Ban moved to Cog\Contracts\Ban\Ban
  • Cog\Ban\Contracts\HasBans moved to Cog\Contracts\Ban\HasBans
  • Cog\Ban\Contracts\BanService moved to Cog\Contracts\Ban\BanService
  • All classes namespaces moved from Cog\Ban\* to Cog\Laravel\Ban\*
  • Renamed database table ban to bans
  • Renamed database column owned_by_id to bannable_id
  • Renamed database column owned_by_type to bannable_type
  • Renamed trait HasBans to Bannable
  • Renamed contract HasBans to Bannable
  • Renamed Ban::whereOwnedBy($bannable) to Ban::whereBannable($bannable)
  • Renamed Ban model relation ownedBy to bannable

Removed

  • Dropped Laravel Ownership Dependency (#9)
  • Removed owner method from Ban model
  • Removed getOwner method from Ban model

View the changes from 2.1.1 to 3.0.0

2.1.1

10 Apr 21:09
Compare
Choose a tag to compare

Changed

View the changes from 2.1.0 to 2.1.1