Skip to content

Releases: michaeldyrynda/laravel-model-uuid

3.0.0

31 Aug 00:37
Compare
Choose a tag to compare

Implemented pull requests

#36 - compatibility for Laravel 5.5
#37 - loosen version constraint on ramsey/uuid

2.0.3

17 Jul 22:55
Compare
Choose a tag to compare

Implemented pull requests

#35 - update tests to use TestCase namespace

2.0.2

05 Apr 11:12
Compare
Choose a tag to compare

Implemented pull requests

#3, #4, #5, #6, #7, #9, #10, #11, #15, #16, #18

  • Miscellaneous additions of project dotfiles and configuration
  • Refactoring and tidying up of tests
  • Stricter type comparison and test assertions

Thanks to @lucasmichot!

2.0.1

30 Mar 02:47
Compare
Choose a tag to compare

Add abstract hasCast method to trait Scrutinizer.

2.0.0

30 Mar 02:26
Compare
Choose a tag to compare

Implemented pull requests

#2 - more opinionated handling of UUID

Information

This is a breaking change - release, no longer allowing you to specify the UUID field name, further on the recommendation that you should use an auto-incrementing integer as your database's primary key in addition to an indexed uuid field.

Tighter integration with laravel-efficient-uuid means that you'll need to use a cast in order to properly store and retrieve your binary UUID values from the (MySQL) database. You can continue to use uncast values if you use Laravel's default uuid schema definitions.

Note that doctrine/dbal does not support changing uuid fields, and even if it did your data would be truncated in the process so ensure you are using laravel-efficient-uuid only if you are adding fresh uuid fields.

1.0.1

29 Mar 05:12
Compare
Choose a tag to compare

Add suggestion to composer.json for dyrynda/laravel-efficient-uuid package

1.0.0

28 Mar 05:31
Compare
Choose a tag to compare

First release of package:

  • Easily manage UUIDs on your Eloquent models
  • Allows specifying a custom UUID field name
  • Allows specifying a custom UUID version (1, 3, 4, or 5)
  • Adds whereUuid query scope to easily find your UUID-based models