Skip to content

Latest commit

 

History

History
236 lines (151 loc) · 6.12 KB

CHANGELOG.md

File metadata and controls

236 lines (151 loc) · 6.12 KB

Changelog

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

4.9.0 - 2024-03-05

Added

  • (#95) Added Laravel 11 support

4.8.0 - 2023-02-24

Added

  • (#89) Added Laravel 10 support

Removed

  • (#89) Dropped PHP 7.x support
  • (#89) Dropped Laravel 5.5 support
  • (#89) Dropped Laravel 5.6 support
  • (#89) Dropped Laravel 5.7 support
  • (#89) Dropped Laravel 5.8 support
  • (#89) Dropped Laravel 6 support
  • (#89) Dropped Laravel 7 support
  • (#89) Dropped Laravel 8 support

4.7.0 - 2022-02-05

Added

  • (#81) Added Laravel 9 support

4.6.1 - 2021-03-18

Fixed

  • (#72) Fixed typo in LogsOutBannedUser middleware variable

4.6.0 - 2021-03-08

Added

  • (#71) Added Inertia support

4.5.0 - 2020-12-05

Added

  • (#66) Added PHP 8.x support

4.4.0 - 2020-09-26

Added

  • (#63) Added configurable redirect url for the banned users

4.3.0 - 2020-09-09

Added

  • (#61) Added Laravel 8.x support

4.2.1 - 2020-03-06

Added

  • Added Laravel 7.x support

4.2.0 - 2019-09-26

Added

  • (#50) Added publishable configuration file
  • (#50) Added ability to ignore default migrations

4.1.0 - 2019-09-04

Added

  • (#48) Laravel 6.0 support

4.0.0 - 2019-02-26

Added

  • Laravel 5.8 support

Changed

  • All methods are strict typed now

Removed

  • Laravel 5.1, 5.2, 5.3 and 5.4 support

3.5.0 - 2018-10-07

Added

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

3.4.0 - 2018-09-21

Added

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

Fixed

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

3.3.0 - 2018-09-16

Added

  • (#27) Add isPermanent & isTemporary ban checks

Fixed

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

3.2.0 - 2018-09-09

Added

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

3.1.0 - 2018-02-08

Added

  • (#18) Laravel 5.6 support

3.0.0 - 2017-08-27

Added

  • (#7) Laravel 5.5 support
  • (#8) Add package auto discovery for L5.5
  • 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

  • (#9) Dropped Laravel Ownership Dependency
  • 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

  • (#4) Events properties are public now

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