All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
See GitHub releases.
- Support multiple
StateManager
classes by configuring theStateManager
-Model inStateConfig
and the column name inStateManager
-Model
- Drop support for PHP 8.1
- Omit tests from composer package
- Throw
DuplicateTransitionException
on duplicate state transitions inStateConfig
- Add
MLL\LaravelUtils\ModelStates\MermaidStateConfigValidator
- Remove
MLL\LaravelUtils\ModelStates\HasStateManager::generateMermaidGraphAsString
- BREAKING CHANGE:
MLL\LaravelUtils\Casts\CoordinatesCast
requires class-string ofMLL\Utils\Microplate\CoordinateSystem
as a parameter
- Remove
MLL\LaravelUtils\Casts\Coordinates96Well
- Add
MLL\LaravelUtils\Casts\CoordinatesCast
- Support
mll-lab/php-utils
5
- Support
mll-lab/php-utils
4
- Support
mll-lab/php-utils
3
- Add artisan command
laravel-utils:dispatch-job
- Support
mll-lab/php-utils
2
- Handle
null
inUnsignedInt
cast
- Round floats in
UnsignedInt
cast
- Add
UnsignedInt
cast
- Add
MLL\LaravelUtils\Casts\Coordinates96Well
frommll-lab/microplate
- Require
mll-lab/php-utils
- Remove unused dependency
nesbot/carbon
- Make
php artisan send-test-mail
option--from
optional
- Support Laravel 11
- Add option
--reply-to
tophp artisan send-test-mail
- Limit
ExponentialBackoff
to specifying just$backoff
- Allow specifying mailer in
php artisan send-test-mail
- Add command
send-test-mail
- Allow calling
->change()
on an enum column definition when using migrations
- Use single line PHPDoc in
factory.stub
- Support Laravel 10
- Integrate
mll-lab/laravel-strict-stubs
- Support
thecodingmachine/safe:^2
- Add trait
ExponentialBackoff
for queue jobs
- Add
TransitionDirection
and visibility method forTransition
-class
- Add conditional migrations
- Drop support for Laravel 8
- Use union and intersection types in
ModelStates
- Define
Transition::$model
as union typeHasStateManagerInterface&Model
- Drop PHP 7.4 and PHP 8.0 support
- Bump minimum requirements to ensure PHP 8.2 compatibility
- Add state support for models in a morphed table
- Add
Autoincrement