v1.1.1
[1.1.1] - 2024-04-17
Added
- Ability to ignore folders during autoloading via
config('ddd.autoload_ignore')
, or register a custom filter callback viaDDD::filterAutoloadPathsUsing(callable $filter)
.
/*
|--------------------------------------------------------------------------
| Autoload Ignore Folders
|--------------------------------------------------------------------------
|
| Folders that should be skipped during autoloading discovery,
| relative to the root of each domain.
|
| e.g., src/Domain/Invoicing/<folder-to-ignore>
|
| If more advanced filtering is needed, a callback can be registered
| using `DDD::filterAutoloadPathsUsing(callback $filter)` in
| the AppServiceProvider's boot method.
|
*/
'autoload_ignore' => [
'Tests',
'Database/Migrations',
],
Changed
- Internals: Domain cache is no longer quietly cleared on laravel's
cache:clearing
event, so thatddd:cache
yields consistent results no matter which order it runs in production (before or aftercache:clear
oroptimize:clear
commands).
What's Changed
- Bump aglipanci/laravel-pint-action from 2.3.1 to 2.4 by @dependabot in #57
- 56 autoloading enhancements by @JasperTey in #58
Full Changelog: v1.1.0...v1.1.1