|
2 | 2 |
|
3 | 3 | ## Unreleased |
4 | 4 |
|
| 5 | +### Administration |
| 6 | +- Added the “UI Label Format” and “Variant UI Label Format” settings to product types. ([#4178](https://github.com/craftcms/commerce/pull/4178)) |
| 7 | + |
| 8 | +### Extensibility |
| 9 | +- Added `relatedToProducts` and `relatedToVariants` GraphQL query arguments, enabling queries for elements related to specific products or variants. ([#4202](https://github.com/craftcms/commerce/discussions/4202)) |
| 10 | +- Added `craft\commerce\elements\db\ProductQuery::$savable`. |
| 11 | +- Added `craft\commerce\elements\db\ProductQuery::savable()`. |
| 12 | +- Added `craft\commerce\elements\db\VariantQuery::$savable`. |
| 13 | +- Added `craft\commerce\elements\db\VariantQuery::editable()`. |
| 14 | +- Added `craft\commerce\elements\db\VariantQuery::savable()`. |
| 15 | +- Added `craft\commerce\helpers\ProductQuery::cleanseQueryCriteria()`. |
| 16 | +- Added `craft\commerce\services\ShippingRuleCategories::getShippingRuleCategoriesByRuleIds()`. |
| 17 | +- Added `craft\commerce\services\ShippingRuleCategories::getShippingRuleCategoriesByRuleIds()`. |
| 18 | +- `craft\commerce\elements\db\ProductQuery::$editable` is now nullable. |
| 19 | +- `craft\commerce\elements\db\VariantQuery::$editable` is now nullable. |
| 20 | + |
| 21 | +### System |
| 22 | +- Craft Commerce now requires Craft CMS 5.9.15 or later. |
| 23 | +- Cart numbers are now generated using a cryptographically secure random number generator. |
| 24 | +- Cart controller actions that accept an explicit cart number are now rate limited to mitigate enumeration attacks. |
| 25 | +- Shipping rule categories are now eager loaded on shipping rules automatically. ([#4220](https://github.com/craftcms/commerce/issues/4220)) |
5 | 26 | - Improved product index performance by not eager-loading variants for table attributes that are already fetched via SQL joins. ([#4236](https://github.com/craftcms/commerce/issues/4236)) |
6 | 27 | - Fixed a bug where coupon codes were submitted too early while being entered on order edit screens. |
7 | | -- Fixed a [high-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) SQL injection vulnerability in the control panel. (GHSA-875v-7m49-8x88) |
8 | | -- Fixed a [low-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) Information disclosure vulnerability in payment controller action. (GHSA-3vxg-x5f8-f5qf) |
| 28 | +- Fixed a bug where variants with empty SKUs didn’t show validation errors when saving a product after it was duplicated. ([#4197](https://github.com/craftcms/commerce/issues/4197)) |
| 29 | +- Fixed a SQL error that could occur when querying for unfulfilled orders on PostgreSQL. ([#4228](https://github.com/craftcms/commerce/issues/4228)) |
| 30 | +- Fixed an error that could occur when resaving variants. ([#4226](https://github.com/craftcms/commerce/issues/4226)) |
| 31 | +- Fixed [high-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) SQL injection vulnerabilities. (GHSA-875v-7m49-8x88, GHSA-r54v-qq87-px5r) |
| 32 | +- Fixed a [low-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) information disclosure vulnerability. (GHSA-3vxg-x5f8-f5qf) |
9 | 33 |
|
10 | 34 | ## 5.5.4 - 2026-02-18 |
11 | 35 |
|
12 | 36 | - Fixed a bug where subscription plan edit screens weren’t showing their linked description entries, if the entries were disabled. ([#4229](https://github.com/craftcms/commerce/issues/4229)) |
13 | 37 | - Fixed an error that could occur when editing inventory locations. ([#4233](https://github.com/craftcms/commerce/issues/4233)) |
14 | 38 | - Fixed a SQL error that could occur when querying for unfulfilled orders on PostgreSQL. ([#4228](https://github.com/craftcms/commerce/issues/4228)) |
15 | 39 | - Fixed an error that could occur when resaving variants. ([#4226](https://github.com/craftcms/commerce/issues/4226)) |
| 40 | +- Fixed [high-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) SQL injection vulnerabilities in the control panel. (GHSA-r54v-qq87-px5r) |
| 41 | +- Added `craft\commerce\helpers\ProductQuery::cleanseQueryCriteria()`. |
16 | 42 |
|
17 | 43 | ## 5.5.3 - 2026-02-09 |
18 | 44 |
|
|
0 commit comments