Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Releases: skore/laravel-status

2.5.2

15 Jul 20:39
abd9258
Compare
Choose a tag to compare

Fixed

  • Missing autoload-dev, tests were autoloaded with the released version (ouch!)

Small fix to Nova filters

20 Jun 15:59
ebb5f68
Compare
Choose a tag to compare

Fixed

  • Fix Laravel Nova status filter

Added statuses query scope

06 Jun 15:13
ff4812b
Compare
Choose a tag to compare

Added

  • statuses query scope that accepts multiple statuses names (labels)

Minor fix creating event

03 Mar 16:33
1620946
Compare
Choose a tag to compare

Fixed

  • creating event was preventing propagation

Laravel 9 support release

11 Feb 20:34
9164c98
Compare
Choose a tag to compare

Added

  • Support for Laravel 9

Removed

  • Support for Laravel 7

Minor fixes on return types

06 Aug 10:11
32204d3
Compare
Choose a tag to compare

Fixed

  • Fix bool return when setStatus and status methods

Minor fixes

28 Jul 14:57
Compare
Choose a tag to compare

Fixed

  • Camel cased on status checks & toEnums internal functions

Fixes and internal function removals

13 Jul 10:19
Compare
Choose a tag to compare

Added

  • More test coverage

Changed

  • More methods now accepting enum classes as inputs: setStatus & setStatusWhen

Removed

  • Internal method checkStatus

Add setStatusWhen & toEnum method

12 Jul 12:12
Compare
Choose a tag to compare

Changed

  • Fixes around conditional assignation setStatus(['previous' => 'new'])

Added

  • Status::toEnum utility method for transform string value to enum object
  • Model::setStatusWhen method which works similarly the same as setStatus
  • More tests around all the exposed and internal methods

Add enum option to scope

09 Jul 15:32
0cd442e
Compare
Choose a tag to compare

Changed

  • Model::status() query scope now accepts enum instances