This repository has been archived by the owner on Feb 15, 2023. It is now read-only.
Releases: skore/laravel-status
Releases · skore/laravel-status
2.5.2
Small fix to Nova filters
Fixed
- Fix Laravel Nova status filter
Added statuses query scope
Added
statuses
query scope that accepts multiple statuses names (labels)
Minor fix creating event
Fixed
creating
event was preventing propagation
Laravel 9 support release
Added
- Support for Laravel 9
Removed
- Support for Laravel 7
Minor fixes on return types
Fixed
- Fix bool return when
setStatus
andstatus
methods
Minor fixes
Fixed
- Camel cased on status checks & toEnums internal functions
Fixes and internal function removals
Added
- More test coverage
Changed
- More methods now accepting enum classes as inputs:
setStatus
&setStatusWhen
Removed
- Internal method
checkStatus
Add setStatusWhen & toEnum method
Changed
- Fixes around conditional assignation
setStatus(['previous' => 'new'])
Added
Status::toEnum
utility method for transform string value to enum objectModel::setStatusWhen
method which works similarly the same assetStatus
- More tests around all the exposed and internal methods
Add enum option to scope
Changed
Model::status()
query scope now accepts enum instances