v1.2.0-beta.3 #78
Closed
jaspertey
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The final v1.2.0 pre-release, which adds support for custom layers (e.g., Infrastructure), finalizes the config conventions, adds a ddd:config utility command, and more.
To use this version now:
Full 1.2.0 Changelog:
Upgrade guide: https://github.com/lunarstorm/laravel-ddd/blob/next/UPGRADING.md
Breaking
base_path('stubs/ddd')instead ofresource_path('stubs/ddd'). In other words, they are now co-located alongside the framework's published stubs, within a ddd subfolder..stubextension instead of.php.stub(following Laravel's convention).Added
Infrastructure,Integrations, etc.:ddd:configto help manage the package's configuration over time.ddd:stubto publish one or more stubs selectively.ddd:controllerto generate domain-specific controllers.ddd:requestto generate domain-spefic requests.ddd:middlewareto generate domain-specific middleware.ddd:migrationto generate domain migrations.ddd:seederto generate domain seeders.ddd:stubto manage stubs.php artisan migrate, in addition to the standard applicationdatabase/migrationspath.DDD::resolveObjectSchemaUsing().Changed
ddd:modelnow extends Laravel's nativemake:modeland inherits all standard options:--migration|-m--factory|-f--seed|-s--controller --resource --requests|-crR--policy-mfsc--all|-a--pivot|-pddd:cacheis nowddd:optimize(ddd:cacheis still available as an alias).optimizeandoptimize:clearcommands will automatically invokeddd:optimize(ddd:cache) andddd:clearrespectively.Deprecated
config('ddd.base_model')is nownullby default.php artisan vendor:publish --tag="ddd-stubs". Instead, usephp artisan ddd:stubto manage them.What's Changed
Full Changelog: v1.2.0-beta.2...v1.2.0-beta.3
This discussion was created from the release v1.2.0-beta.3.
Beta Was this translation helpful? Give feedback.
All reactions