Woocommerce Gift Cards v2.8.0
= 2.8.0 - 2026-10-07 =
* Add - Introduced 'woocommerce_gc_gift_card_currency' filter so stores that changed currency after issuing gift cards can map those cards to the new currency.
* Fix - Fixed the alignment of the gift card row in the checkout order summary on small screens.
* Fix - Applied the admin privacy rules to Gift Card REST responses: shop managers now receive masked codes unless `wc_gc_unmask_codes_for_shop_managers` is enabled, only administrators receive the gift card message, and the private hash metadata is no longer serialized.
* Fix - Matched Store API multi-recipient gift card charges to the cards actually issued, and stopped issuing cards for order lines whose recipient count does not match the paid quantity.
* Fix - Rejected serialized PHP values in REST and CSV gift card metadata.
* Fix - Revalidated Gift Card ownership during checkout.
* Fix - Serialized gift card credits and prevented duplicate balance restoration.
* Fix - Prevented concurrent payment callbacks from issuing duplicate Gift Cards.
* Fix - Sanitized Store API gift card sender fields.
* Fix - Prevented gift card balances from being spent in a different currency.
* Fix - Preserved concurrent Gift Card debits during account redemption.
* Fix - Preserved concurrent gift card balances while updating pending holds.
* Fix - Invalidated gift card email links after code or recipient changes.
* Fix - Restricted server-path imports to canonical WordPress directories.
* Fix - Serialized concurrent gift card refunds for each order.
* Fix - Prevented failed refund batches from changing gift card balances.
* Fix - Prevented gift card exports from overwriting global filter state.
* Fix - Prevented failed-order retries from completing payment without charging their gift cards, and serialized gift card debits with concurrent cancellations.
* Fix - Prevented scheduled gift cards from becoming active after their funding order is cancelled, failed, or refunded.
* Fix - Kept gift card CSV imports and exports in a protected folder under unguessable file names.
* Fix - Applied gift card code privacy to order errors and notes.
* Fix - Protected private gift card metadata in order and refund responses.
* Fix - Prevented stale gift card saves from overwriting balance and ownership changes.
* Fix - Preserved partial gift card ownership, showed unknown redemption dates consistently, kept redeemed lists and exports consistent, and rejected incomplete ownership imports.
* Fix - Bounded Gift Card analytics requests while preserving calendar pagination and long weekly reports within the bucket limit.
* Fix - Protected internal gift card metadata in REST requests.
* Fix - Kept gift card edit details out of product URLs and page caches while preserving object and database caching.
* Fix - Enforced the CC setting in gift card purchases, cart summaries and repeat orders while preserving existing behavior for registered 'wooocommerce_gc_hide_cc_field' callbacks.
* Fix - Normalized and deduplicated Store API CC recipients with the same email rules as classic checkout.
* Fix - Made the Search button label on the Gift Cards and Activity admin screens translatable.
* Fix - Made the "Gift Card not found." and invalid user email activity errors translatable.
* Tweak - Raised minimum requirements to WordPress 6.9 and WooCommerce 10.9.
* Tweak - Declared compatibility with WordPress 7.1 and WooCommerce 11.2.
* Dev - Updated development dependencies to address security advisories.
* Dev - Enforced checks for authored stylesheets.
* Dev - Hardened release artifact verification, release pull request checks, and WordPress test metadata.
* Dev - Updated the development toolchain to Node 24.18 and
@wordpress/scripts 35.
* Dev - Corrected hook docblocks and other PHPStan findings that do not change behavior.
* Dev - Raised the PHPStan analysis level to 2.
* Dev - Switched the version headings in changelog.txt to the WordPress.org format.