v0.8.1
What's Changed
Changed
- Moved the model
$castsproperty to the Laravel 11+casts()method onVoucherandRedeemer - Resolve morph aliases via
Relation::getMorphAlias()in thewithOwnerType()andwithEntityType()scopes instead of instantiating the related model - Minor optimization to
Vouchers::generate()- the character list length is now computed once per code instead of once per mask asterisk
Added
- Additional tests covering morph map alias resolution in the voucher and entity scopes
Full Changelog: 0.8.0...0.8.1