# Changelog

All notable changes to `laravel-model-status` will be documented in this file

## 1.13.0 - 2023-05-25

### What's Changed

- getStatusNames by @tal7aouy in https://github.com/spatie/laravel-model-status/pull/104

### New Contributors

- @tal7aouy made their first contribution in https://github.com/spatie/laravel-model-status/pull/104

**Full Changelog**: https://github.com/spatie/laravel-model-status/compare/1.12.0...1.13.0

## 1.12.0 - 2023-05-17

### What's Changed

- Fix Broken Badge by @SupianIDz in https://github.com/spatie/laravel-model-status/pull/101
- Feature/configurable status attribute by @vinlim in https://github.com/spatie/laravel-model-status/pull/102

### New Contributors

- @SupianIDz made their first contribution in https://github.com/spatie/laravel-model-status/pull/101
- @vinlim made their first contribution in https://github.com/spatie/laravel-model-status/pull/102

**Full Changelog**: https://github.com/spatie/laravel-model-status/compare/1.11.1...1.12.0

## 1.11.1 - 2023-01-25

### What's Changed

- Refactor tests to Pest by @alexmanase in https://github.com/spatie/laravel-model-status/pull/90
- Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/laravel-model-status/pull/91
- Laravel 10.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-model-status/pull/98

### New Contributors

- @alexmanase made their first contribution in https://github.com/spatie/laravel-model-status/pull/90

**Full Changelog**: https://github.com/spatie/laravel-model-status/compare/1.11.0...1.11.1

## 1.11.0 - 2022-02-03

## What's Changed

- Support for Laravel 9
- Minor typo fix by @vdbelt in https://github.com/spatie/laravel-model-status/pull/80
- Migrate to PHP-CS-Fixer 3.x by @shuvroroy in https://github.com/spatie/laravel-model-status/pull/81
- Add PHP 8.1 Support by @patinthehat in https://github.com/spatie/laravel-model-status/pull/83

## New Contributors

- @vdbelt made their first contribution in https://github.com/spatie/laravel-model-status/pull/80
- @shuvroroy made their first contribution in https://github.com/spatie/laravel-model-status/pull/81
- @patinthehat made their first contribution in https://github.com/spatie/laravel-model-status/pull/83

**Full Changelog**: https://github.com/spatie/laravel-model-status/compare/1.10.2...1.11.0

## 1.11.0 - 2022-02-03

- Support Laravel 9

## 1.10.2 - 2020-11-04

- add support for PHP 8

## 1.10.1 - 2020-09-09

- add support for Laravel 8

## 1.10.0 - 2020-03-03

- add support for Laravel 7

## 1.9.0 - 2019-09-05

- add possibility to delete a status and check for specific status

## 1.8.0 - 2019-09-04

- add support for Laravel 6

## 1.7.1 - 2019-06-11

- performance improvements

## 1.7.0 - 2019-02-27

- drop support for Laravel 5.7 and below
- drop support for PHP 7.1 and below

## 1.6.4 - 2019-02-27

- add support for Laravel 5.8

## 1.6.3 - 2019-02-01

- use Str:: and Arr:: instead of helper methods

## 1.6.2 - 2018-09-03

- add support for Laravel 5.7

## 1.6.1 - 2018-07-27

- Use `null` as default for reason on statuses

## 1.6.0 - 2018-07-19

- add model id config option

## 1.5.0 - 2018-03-22

- add support for custom polymorphic model types

## 1.4.0 - 2018-03-20

- add an ability to find models by multiple statuses

## 1.3.1 - 2018-03-16

- performance optimizations

## 1.3.0 - 2018-03-14

- add `StatusUpdated` event

## 1.2.0 - 2018-03-12

- add `forceStatus`

## 1.1.0 - 2018-03-02

- add `notCurrentStatus` scope

## 1.0.6 - 2018-02-09

- add `__toString` to `Spatie\ModelStatus\Status`
- add `currentStatus` scope

## 1.0.5 - 2018-02-09

**THIS VERSION CONTAINS BUGS, DO NOT USE**

## 1.0.4 - 2018-02-08

- add support for L5.6

## 1.0.3 - 2018-02-07

- make reason nullable

## 1.0.2 - 2018-02-07

- fix stub publishing path

## 1.0.1 - 2018-02-07

- fix migration stub path

## 1.0.0 - 2018-02-07

- initial release
