Releases: michaeldyrynda/laravel-model-uuid
3.0.0
2.0.3
2.0.2
2.0.1
Add abstract hasCast
method to trait Scrutinizer.
2.0.0
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
Add suggestion to composer.json
for dyrynda/laravel-efficient-uuid
package
1.0.0
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