Releases: verbb/gift-voucher
Releases · verbb/gift-voucher
3.0.4
Fixed
- Fix an error when trying to generate a PDF for a voucher in the control panel.
- Fix issues with int type check, and error checking in tabs. (thanks @darinlarimore).
3.0.3
Fixed
- Fix an error when trying to edit a Code object in the control panel.
3.0.2
Added
- Add tabs for codes not working correctly in the control panel.
2.7.3
Added
- Add tabs for codes not working correctly in the control panel.
3.0.1
Fixed
- Fix an error when combining a Commerce discount and Gift Voucher code with
stopProcessing
enabled. - Fix an error when saving a voucher without an SKU.
- Fix an error when applying a Craft discount code.
- Fix
codeStorage
type. - Fix an error running
resave
console commands.
3.0.0
Added
- Add missing English translations.
- Add
dateCreated
,dateUpdated
anduid
to Redemption model.
Changed
- Now requires PHP
^8.0.2
. - Now requires Craft
^4.0.0
. - Now requires Craft Commerce
^4.0.0
. - Replace deprecated
Craft.postActionRequest()
for JS.
Fixed
- Fix an error when uninstalling.
- Fix redemptions table showing the order date instead of the date of the redemption date.
- Fix an error when viewing a redemption without and order in the control panel.
- Fix an error fetching new redemption records.
- Fix a type error with redemption codes.
2.7.2
Added
- Add
dateCreated
,dateUpdated
anduid
to Redemption model.
Fixed
- Fix redemptions table showing the order date instead of the date of the redemption date.
- Fix an error when viewing a redemption without and order in the control panel.
3.0.0-beta.2
Added
- Add translations.
Changed
- Replace deprecated
Craft.postActionRequest()
for JS.
Fixed
- Fix an error when uninstalling.
2.7.1
Fixed
- Fix an error when trying to redeem a voucher code, when the linked voucher has been deleted.
- Fix being unable to modify a code’s voucher in the control panel.
- Fix Swiftmailer dropping message after attaching voucher PDF.
- Fix an error in Postgres when resaving a voucher code.
- Fix PDF generation URLs not being correct in headless environments.
3.0.0-beta.1
Changed
- Now requires PHP
^8.0.2
. - Now requires Craft
^4.0.0-beta.1
. - Now requires Craft Commerce
^4.0.0-beta.1
.