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
-
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..stub
extension instead of.php.stub
(following Laravel's convention).Added
Infrastructure
,Integrations
, etc.:ddd:config
to help manage the package's configuration over time.ddd:stub
to publish one or more stubs selectively.ddd:controller
to generate domain-specific controllers.ddd:request
to generate domain-spefic requests.ddd:middleware
to generate domain-specific middleware.ddd:migration
to generate domain migrations.ddd:seeder
to generate domain seeders.ddd:stub
to manage stubs.php artisan migrate
, in addition to the standard applicationdatabase/migrations
path.DDD::resolveObjectSchemaUsing()
.Changed
ddd:model
now extends Laravel's nativemake:model
and inherits all standard options:--migration|-m
--factory|-f
--seed|-s
--controller --resource --requests|-crR
--policy
-mfsc
--all|-a
--pivot|-p
ddd:cache
is nowddd:optimize
(ddd:cache
is still available as an alias).optimize
andoptimize:clear
commands will automatically invokeddd:optimize
(ddd:cache
) andddd:clear
respectively.Deprecated
config('ddd.base_model')
is nownull
by default.php artisan vendor:publish --tag="ddd-stubs"
. Instead, usephp artisan ddd:stub
to 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