All notable changes to laravel-model-status
will be documented in this file
- feat: Add method to check if a model has never had a specific status by @YazeedAlsaif in #127
- @YazeedAlsaif made their first contribution in #127
Full Changelog: https://github.com/spatie/laravel-model-status/compare/1.17.2...1.18.0
- complete optimisation started in #124
Full Changelog: https://github.com/spatie/laravel-model-status/compare/1.17.1...1.17.2
- CHG: Optimize
scopeCurrentStatus
andscopeOtherCurrentStatus
Query by @alfreddagenais in #124
- @alfreddagenais made their first contribution in #124
Full Changelog: https://github.com/spatie/laravel-model-status/compare/1.17.0...1.17.1
Revert changes of 1.16
Full Changelog: https://github.com/spatie/laravel-model-status/compare/1.16.0...1.17.0
- @alhelwany made their first contribution in #120
Full Changelog: https://github.com/spatie/laravel-model-status/compare/1.15.0...1.16.0
- @Rizky92 made their first contribution in #106
Full Changelog: https://github.com/spatie/laravel-model-status/compare/1.14.0...1.15.0
- add hasStatus by @tal7aouy in #105
Full Changelog: https://github.com/spatie/laravel-model-status/compare/1.13.0...1.14.0
- getStatusNames by @tal7aouy in #104
- @tal7aouy made their first contribution in #104
Full Changelog: https://github.com/spatie/laravel-model-status/compare/1.12.0...1.13.0
Full Changelog: https://github.com/spatie/laravel-model-status/compare/1.11.1...1.12.0
- Refactor tests to Pest by @alexmanase in #90
- Add PHP 8.2 Support by @patinthehat in #91
- Laravel 10.x Compatibility by @laravel-shift in #98
- @alexmanase made their first contribution in #90
Full Changelog: https://github.com/spatie/laravel-model-status/compare/1.11.0...1.11.1
- Support for Laravel 9
- Minor typo fix by @vdbelt in #80
- Migrate to PHP-CS-Fixer 3.x by @shuvroroy in #81
- Add PHP 8.1 Support by @patinthehat in #83
- @vdbelt made their first contribution in #80
- @shuvroroy made their first contribution in #81
- @patinthehat made their first contribution in #83
Full Changelog: https://github.com/spatie/laravel-model-status/compare/1.10.2...1.11.0
- Support Laravel 9
- add support for PHP 8
- add support for Laravel 8
- add support for Laravel 7
- add possibility to delete a status and check for specific status
- add support for Laravel 6
- performance improvements
- drop support for Laravel 5.7 and below
- drop support for PHP 7.1 and below
- add support for Laravel 5.8
- use Str:: and Arr:: instead of helper methods
- add support for Laravel 5.7
- Use
null
as default for reason on statuses
- add model id config option
- add support for custom polymorphic model types
- add an ability to find models by multiple statuses
- performance optimizations
- add
StatusUpdated
event
- add
forceStatus
- add
notCurrentStatus
scope
- add
__toString
toSpatie\ModelStatus\Status
- add
currentStatus
scope
THIS VERSION CONTAINS BUGS, DO NOT USE
- add support for L5.6
- make reason nullable
- fix stub publishing path
- fix migration stub path
- initial release