Skip to content

Releases: laravel-shift/blueprint

1.19.1

27 Sep 18:08
Compare
Choose a tag to compare

Fix times() factory method name to count().

1.19.0

27 Sep 18:02
Compare
Choose a tag to compare

Added

  • Laravel 8 class-based model factories (#365)
  • Generate tests using Laravel 8 model factories (#367)

Fixed

  • View generator test and fixtures (#373)
  • Fix multi-word models + refactors (#376)

Refactored

  • Update build action (#363)
  • Remove all duplicates when overwriting migrations (#375)
  • Cleanup fixtures (#368)

1.18.0

07 Sep 18:21
Compare
Choose a tag to compare

Added

  • Alias method names for relationships (#355)
  • Allow swapping custom generators via config (#357)
  • Toggle foreign key constraints for Migrations (#356)
  • Bump dependencies for Laravel 8 (#364)

Fixed

  • Fix PSR-4 autoload naming for Generators (#362)

Refactored

  • Add .editorconfig file (#359)
  • Refactor: streamline tests (#361)
  • Leverage config merging to default generators (ef82b5b)

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)