Skip to content

Releases: laravel-shift/blueprint

1.9.1

06 May 13:03
79644cb

Choose a tag to compare

Fixed

  • Missing faker data when using "biginteger" (#178)
  • Incorrect imports when using a custom namespace for models (#186)
  • Casing for multiword references in definition (#181)

1.9.0

04 May 14:33

Choose a tag to compare

Fresh new release and be sure to browse the new Blueprint Docs.

Added

  • Tag for easier config file publishing (2ec6c380)
  • Generate between rule for numeric types (#174)
  • Allow configuration to use $guarded = []; (#173)

Fixed

  • Fix/duplicated pivot table (#169)

1.8.0

01 May 13:53
4e55afc

Choose a tag to compare

Added

  • Generate foreign key constraints using config or foreign syntax (#154)
  • Accept both draft.yaml and draft.yml filenames (#159)

Fixed

  • Generating duplicate test setup statements (#161)

1.7.1

29 Apr 13:06
799612c

Choose a tag to compare

Additional patches to improve support for Windows.

1.7.0

28 Apr 12:43
4dd672a

Choose a tag to compare

Added

  • json validation rule

Fixed

  • Pivot table and migration names
  • Using HTTP delete method for destroy action.
  • PHP error for missing method during test generation
  • Line ending issue with Windows

1.6.0

17 Apr 16:48
0c056fd

Choose a tag to compare

Another massive release as Blueprint received so many pull requests after the demo on Laracasts.

Highlights

  • Set password and remember_token in hidden model attributes.
  • Use new id() column in migration for Laravel 7 applications.
  • Support for a uuid primary key shorthand in model definitions.
  • Separate resource: api code generation specifically for API actions.
  • Support for belongsToMany model relationships.
  • New resource statement to generate API Resource.
  • Automatic generation of pivot table migration when defining belongsToMany relationships.
  • Optionally generate DocBlock for model relationship methods for IDE resolution.

For a full list of the changes, you may review the diff between releases.

1.5.1

31 Mar 15:59

Choose a tag to compare

v1.5.1

Strengthen test with data provider

1.5.0

27 Mar 19:03

Choose a tag to compare

Lots of new features tagged in this release. I could argue making it 2.0, but technically there aren't any breaking changes. So here's 1.5.0!

Includes:

  • New blueprint:trace command reads existing model definitions so you may reference them in draft files. This has all sorts of use cases like using Blueprint to generate code within existing projects or regenerating/consolidating previous migrations. (#69)
  • Support for defining additional hasMany and hasOne model relationships (#72)
  • Improve support for defining models with uuid and json data types. (#76)
  • Fix blueprint:erase command properly clears previous file list (515e42)
  • New respond statement for sending HTTP status code responses or JSON payloads (e68501)

1.4.1

04 Mar 20:26
02cbbd2

Choose a tag to compare

v1.4.1

fix: mismatched key casing (#70)

1.4.0

04 Mar 13:32
94cb062

Choose a tag to compare

v1.4.0

Add support for Laravel 7 and PHPUnit 9