Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.93 KB

CHANGELOG.md

File metadata and controls

63 lines (41 loc) · 1.93 KB

Changelog

All notable changes to laravel-ban will be documented in this file.

3.0.0 - 2017-08-27

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

2.1.0 - 2017-03-21

Added

  • withBanned, withoutBanned, onlyBanned scopes added to all bannable models

Changed

  • HasBans is a collection of traits HasBannedAtHelpers, HasBannedAtScope, HasBansRelation now

2.0.1 - 2017-03-19

Changed

  • Events properties are public now: #4

2.0.0 - 2017-03-06

Changed

  • Contract CanBeBanned renamed to HasBans
  • Trait CanBeBanned renamed to HasBans

1.0.0 - 2017-03-05

  • Initial release