Releases: glhd/special
Releases · glhd/special
0.11.0
0.10.0
0.9.0
What's Changed
- Add Laravel 12 Support by @onairmarc in #1
New Contributors
- @onairmarc made their first contribution in #1
Full Changelog: 0.8.0...0.9.0
0.8.0
Laravel 11 support and tests
Full Changelog: 0.7.0...0.8.0
0.7.0
0.6.0
Added model observation, so that if a model associated with a special enum is updated or deleted, it clears the cache. Prior to this change, updating a model would require manually clearing the singleton.
Now that's handled for you automatically:
assert(Plans::Monthly->get()->cents === 199_00);
// Update a separate copy of the model
Plans::Monthly->get()->update(['cents' => 99_00]);
// Retrieving a third copy will reflect the changes
assert(Plans::Monthly->get()->cents === 99_00);