Skip to content

Commit 51c2b66

Browse files
committed
Merge branch '5.4' into 5.x
2 parents 881d0b9 + a2c53d0 commit 51c2b66

169 files changed

Lines changed: 3068 additions & 1488 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG-WIP.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Release Notes for Craft Commerce 5.4 (WIP)
2+
3+
### Store Management
4+
- It’s now possible to set variants’ statuses from Edit Product screens. ([#3953](https://github.com/craftcms/commerce/discussions/3953))
5+
- Coupon validation errors now provide an explanation when invalid due to order, customer, or address conditions. ([#3935](https://github.com/craftcms/commerce/issues/3935))
6+
- Catalog Pricing Rule screens now display custom metadata. ([#3975](https://github.com/craftcms/commerce/pull/3975))
7+
- Product indexes now have a “Promotional Price” column.
8+
9+
### Administration
10+
- It’s now possible to set a variants’ default “Promotable”, “Track Inventory”, “Allow out of stock purchases”, and “Available for purchase” values when configuring variant field layouts. ([#3571](https://github.com/craftcms/commerce/issues/3571))
11+
- Shipping methods and shipping rules now support flexible customer matching, based on a customer condition. ([#3925](https://github.com/craftcms/commerce/issues/3925))
12+
- Gateways now have a “Match Order” condition that determines which orders the gateway should be available for. ([#3913](https://github.com/craftcms/commerce/discussions/3913))
13+
- All native order attributes are now available as card attributes. ([#4019](https://github.com/craftcms/commerce/issues/4019))
14+
- Added the `resave/variants` command.
15+
16+
### Development
17+
- Line item snapshots now contain a `catalogPricingRuleId` field. ([#3910](https://github.com/craftcms/commerce/issues/3910))
18+
- Added the `localized` field to products’ GraphQL data. ([#3783](https://github.com/craftcms/commerce/discussions/3783))
19+
20+
### Extensibility
21+
- Added `craft\commerce\base\Gateway::getConfig()`.
22+
- Added `craft\commerce\base\Gateway::getOrderCondition()`.
23+
- Added `craft\commerce\base\Gateway::getOrderCondition()`.
24+
- Added `craft\commerce\base\Gateway::hasOrderCondition()`.
25+
- Added `craft\commerce\base\Gateway::setOrderCondition()`.
26+
- Added `craft\commerce\base\Gateway::setOrderCondition()`.
27+
- Added `craft\commerce\base\Gateway::setOrderCondition()`.
28+
- Added `craft\commerce\base\Purchasable::$catalogPricingRuleId`.
29+
- Added `craft\commerce\base\Purchasable::getCatalogPricingRule()`.
30+
- Added `craft\commerce\controllers\OrdersController::actionCopyAddressToUser()`.
31+
- Added `craft\commerce\elements\Product::$defaultBasePromotionalPrice`
32+
- Added `craft\commerce\elements\conditions\customers\ShippingMethodCustomerCondition`.
33+
- Added `craft\commerce\elements\conditions\customers\ShippingRuleCustomerCondition`.
34+
- Added `craft\commerce\models\ShippingMethod::getCustomerCondition()`.
35+
- Added `craft\commerce\models\ShippingMethod::setCustomerCondition()`.
36+
- Added `craft\commerce\models\ShippingRule::getCustomerCondition()`.
37+
- Added `craft\commerce\models\ShippingRule::setCustomerCondition()`.
38+
- Added `craft\commerce\taxidvalidators\EuVatIdValidator::API_URL`.
39+
40+
### System
41+
- Improved store query performance. ([#4029](https://github.com/craftcms/commerce/issues/4029))
42+
- Fixed a bug where the purchasable cache was not cleared when stock was updated.
43+
- Fixed a PHP error that could occur when sending emails. ([#4017](https://github.com/craftcms/commerce/issues/4017))
44+
- Fixed a SQL error that could occur when upgrading to Commerce 5. ([#4044](https://github.com/craftcms/commerce/issues/4044))
45+
- Fixed a bug where duplicate order references could be generated. ([#4050](https://github.com/craftcms/commerce/issues/4050))
46+
- Fixed a bug where purchasables’ `shippingCategoryId` and `taxCategoryId` properties couldn’t be set via `setAttributes()`. ([#4046](https://github.com/craftcms/commerce/issues/4046))
47+
- Fixed a bug where gateway settings weren’t storing project config values consistently. ([#3941](https://github.com/craftcms/commerce/issues/3941))
48+
- Fixed a bug where new line items did not expose their submitted quantity to the `craft\commerce\services\LineItems::EVENT_POPULATE_LINE_ITEM` event. ([#3883](https://github.com/craftcms/commerce/issues/3883))
49+
- Fixed a PHP error that could occur when saving an order. ([#3283](https://github.com/craftcms/commerce/issues/3283))

CHANGELOG.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
# Release Notes for Craft Commerce
22

3-
## Unreleased
4-
5-
- Improved store query performance. ([#4029](https://github.com/craftcms/commerce/issues/4029))
6-
- Fixed a bug where purchasable cache was not cleared when stock was updated.
7-
- Fixed a PHP error that could occur when sending emails. ([#4017](https://github.com/craftcms/commerce/issues/4017))
8-
- Fixed a SQL error that could occur when upgrading to Commerce 5. ([#4044](https://github.com/craftcms/commerce/issues/4044))
9-
- Fixed a bug where duplicate order references could be generated. ([#4050](https://github.com/craftcms/commerce/issues/4050))
10-
- Fixed a bug where `shippingCategoryId` and `taxCategoryId` were not marked as Purchasable attributes. ([#4046](https://github.com/craftcms/commerce/issues/4046))
11-
123
## 5.3.13 - 2025-05-21
134

145
- Fixed a bug where the “Recipient”, “BCC’d Recipient”, and “CC’d Recipient” email settings weren’t working properly if set to environment variables. ([#4004](https://github.com/craftcms/commerce/issues/4004), [#4002](https://github.com/craftcms/commerce/issues/4002))

0 commit comments

Comments
 (0)