Skip to content

Releases: verbb/gift-voucher

3.0.3

09 Nov 21:43
Compare
Choose a tag to compare

Fixed

  • Fix an error when trying to edit a Code object in the control panel.

3.0.2

23 Oct 03:08
Compare
Choose a tag to compare

Added

  • Add tabs for codes not working correctly in the control panel.

2.7.3

23 Oct 03:06
Compare
Choose a tag to compare

Added

  • Add tabs for codes not working correctly in the control panel.

3.0.1

21 Oct 02:15
Compare
Choose a tag to compare

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

25 Aug 03:45
Compare
Choose a tag to compare

Added

  • Add missing English translations.
  • Add dateCreated, dateUpdated and uid 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

25 Aug 03:51
Compare
Choose a tag to compare

Added

  • Add dateCreated, dateUpdated and uid 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

13 Jul 21:56
Compare
Choose a tag to compare

Added

  • Add translations.

Changed

  • Replace deprecated Craft.postActionRequest() for JS.

Fixed

  • Fix an error when uninstalling.

2.7.1

10 Jun 04:55
Compare
Choose a tag to compare

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

09 Mar 21:25
Compare
Choose a tag to compare

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

11 Dec 21:24
Compare
Choose a tag to compare

Added

  • Added resave/gift-voucher-codes and resave/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 of discount 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.