Releases: verbb/gift-voucher
Releases · verbb/gift-voucher
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
.
2.7.0
Added
- Added
resave/gift-voucher-codes
andresave/gift-voucher-vouchers
console commands. - Added
orderReference
to the searchable attributes for voucher codes.
Changed
- Reverted adjuster behaviour back to 2.5.x version, fixing many issues.
- Voucher adjusters not use a
voucher
type instead ofdiscount
to fix many issues.
Fixed
- Fix an error when clicking "New voucher" when adding a voucher in the Bulk Generate Codes function.
- Fix a hard-error shown when saving a voucher with no price.
- Fix "Voucher Type" column not displaying correctly for the codes element index.
- Fix "All voucher types" not appearing in the control panel for codes element index.