Releases: laravel-shift/blueprint
Releases · laravel-shift/blueprint
1.17.0
Added
- Add support for route generation using FQCN (#323)
- Add support for namespaced JsonResources (#330)
- Generate FormRequest rules using array syntax (#345)
- Add
-m
shortcut for --overwrite-migrations
option (#346)
- Generate migration columns with comments (#347)
- Add support for generating indexes (#351)
Fixed
- Change api.delete to return proper "no content" (#331)
- Cast date columns (#341)
- Support namespaced Resources + suffix name (#342)
Refactored
- Update trace command to increase the reusability and testability (#318)
- Stubs helper (#333)
1.16.0
Added
--overwrite-migrations
option for blueprint:build
(#319)
- Publishing of Blueprint stubs for customization (#312)
Refactored
- Backfill tests for commands (#315, #320)
1.15.3
Fixed
- Use
$request->validated
for save
with validate
statement (#308)
Refactored
- Make generator classes extendable (#297)
- Refactor
shouldGenerate
using collection (#299)
- Test class to match the command class name (#302)
- Extract common logic to abstract generator (#303)
- Introduce Tree class to manage the analyzed tokens (#304)
- Use shared faker-registry package (#309)
1.15.2
Fixed
- Use assertCreated for new Resource responses (d5641d3)
- Update with request data when using validation (#295)
1.15.1
Fixed
- Use strict check on
null
instead of empty()
for modifiers with 0
values (#286)
- Generate assertions for Eloquent
update
statements (#288)
- Generate simple assertions for
resource
statements (#290)
1.15.0
Added
--only
and --skip
options for blueprint:build
(#276)
Fixed
- Generate proper test setup for
validate
shorthand (#280)
- Use
factory
for referenced models in validate
statements (#282)
1.14.0
Added
- New
notify
statement to send notifications (#253)
- Support for tracing models with
enum
columns (#279)
1.13.2
Fixed
- Correct parsing of dashes in
.blueprint
(#272)
- Update
README
example to generate latest code (#273)
1.13.1
- Improve
build
error output (#249)
- Fix typo in
blueprint:build
draft argument description (#250)
- Fix wrong model imports in tests (#256)
- Don't require
nullable
fields for model validation shorthand (#259)
- Support for dashed YAML syntax (#260)
- Rework all known column data types (#257, #267, #268)
1.13.0
Added
- Support for
rememberToken
shorthand (#229)
- Support for
cascade
, set null
, restrict
, and no action
for on delete (#230)
- Ability to customize pivot table name (#234)
- Ability to swap registered generators (#238)
Fixed
- Only add
api
resources to routes/api.php
(#243)
- Ignore models that extend
Jenssegers\Mongodb\Eloquent\Model
(#240)