Skip to content

Commit

Permalink
version 2.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Oct 8, 2020
1 parent 0479c0d commit a3bb6a1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 2.5.2 - 2020-10-08

### Changed
- Custom fields are no longer serialized in the snapshot of a voucher. Please use `EVENT_AFTER_CAPTURE_VOUCHER_SNAPSHOT` and `EVENT_BEFORE_CAPTURE_VOUCHER_SNAPSHOT` events to opt-in any custom fields you want serialized in the snapshot. This follows Commerce's behaviour.

### Fixed
- Fix incorrectly serializing Super Table queries when taking a snapshot of Gift Vouchers when adding to the cart.
- Fix `EVENT_AFTER_CAPTURE_VOUCHER_SNAPSHOT` event not actually doing much.
- Prevent code field layout ID from being creating multiple times when saving plugin settings.

## 2.5.1 - 2020-09-18 [CRITICAL]

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "verbb/gift-voucher",
"description": "Plugin for Craft Commerce implementing gift vouchers.",
"type": "craft-plugin",
"version": "2.5.1",
"version": "2.5.2",
"keywords": [
"craft",
"cms",
Expand Down

0 comments on commit a3bb6a1

Please sign in to comment.