Skip to content

Commit 01087be

Browse files
committed
Update changelog
1 parent c5b9488 commit 01087be

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
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

0 commit comments

Comments
 (0)