File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 11# Release Notes
22
3+ ## [ v0.7.0 (2025-07-23)] ( https://github.com/FrittenKeeZ/laravel-vouchers/compare/0.6.2...0.7.0 )
4+
5+ ### Added
6+ - New ` Vouchers::unredeem() ` and ` Vouchers::unredeemable() ` methods
7+ - New ` Voucher::unredeem() ` and ` Voucher::isUnredeemable() ` methods
8+ - New ` Voucher::unredeeming() ` and ` Voucher::unredeemed() ` and ` Voucher::shouldMarkUnredeemed() ` events
9+ - Additional exceptions for redeeming and unredeeming vouchers:
10+ ` VoucherExpiredException `
11+ ` VoucherRedeemedException `
12+ ` VoucherRedeemerNotFoundException `
13+ ` VoucherUnstartedException `
14+ - Added extra query scopes for Vouchers:
15+ ` Voucher::withUnredeemable() `
16+ ` Voucher::withoutUnredeemable() `
17+
18+ ### Changed
19+ - Updated ` Vouchers::with*() ` methods to accept ` null ` as a valid value for resetting to default
20+ - Improved PHPDocs comments for many methods and classes
21+
22+ ### Deprecated
23+ - Dropped support for PHP 8.1
24+
25+ ### Breaking Changes
26+ - Renamed ` VoucherAlreadyRedeemedException ` to ` VoucherStateException `
27+
328## [ v0.6.2 (2025-07-10)] ( https://github.com/FrittenKeeZ/laravel-vouchers/compare/0.6.1...0.6.2 )
429
530### Changed
You can’t perform that action at this time.
0 commit comments