Skip to content

Releases: laravel-shift/blueprint

1.17.0

28 Aug 16:48
a0d0655
Compare
Choose a tag to compare

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

13 Aug 16:15
Compare
Choose a tag to compare

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

23 Jul 16:35
7c8ccda
Compare
Choose a tag to compare

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

16 Jul 15:57
66de68d
Compare
Choose a tag to compare

Fixed

  • Use assertCreated for new Resource responses (d5641d3)
  • Update with request data when using validation (#295)

1.15.1

09 Jul 15:28
f289ca7
Compare
Choose a tag to compare

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

08 Jul 14:44
5622dab
Compare
Choose a tag to compare

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

26 Jun 14:45
18ae1e1
Compare
Choose a tag to compare

Added

  • New notify statement to send notifications (#253)
  • Support for tracing models with enum columns (#279)

1.13.2

19 Jun 18:06
0d82e12
Compare
Choose a tag to compare

Fixed

  • Correct parsing of dashes in .blueprint (#272)
  • Update README example to generate latest code (#273)

1.13.1

12 Jun 15:09
0e31025
Compare
Choose a tag to compare
  • 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

28 May 12:13
8a321eb
Compare
Choose a tag to compare

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)