Skip to content

Releases: craftcms/commerce

5.6.1.1

27 Mar 02:08
5.6.1.1
c6f67e1

Choose a tag to compare

  • Fixed a bug where PDF Link Duration didn’t save. (#4265)

4.11.0.1

27 Mar 02:02
4.11.0.1
04797b8

Choose a tag to compare

  • Fixed a bug where PDF Link Duration didn't save. (#4265)

5.6.1

25 Mar 13:56
5.6.1
6b9941b

Choose a tag to compare

  • Gateway edit screens now include billing and shipping address conditions. (#4259)
  • Variant cards can now have “Default”, “Promotable”, and “Available for purchase” attributes.
  • Fixed a bug where PDF URLs could have an incorrect domain. (#4248)
  • Fixed a bug where user profile screens weren’t showing suspended and failed-to-start subscriptions. (#4219)
  • Fixed a bug where carts weren’t respecting the COMMERCE_PAYMENT_CURRENCY PHP constant.
  • Fixed a bug where variants’ tax and shipping category dropdowns weren’t respecting product type restrictions. (#4258)

5.6.0

11 Mar 17:58
5.6.0
83b7248

Choose a tag to compare

Administration

  • Added the “UI Label Format” and “Variant UI Label Format” settings to product types. (#4178)

Extensibility

  • Added relatedToProducts and relatedToVariants GraphQL query arguments, enabling queries for elements related to specific products or variants. (#4202)
  • Added craft\commerce\elements\db\ProductQuery::$savable.
  • Added craft\commerce\elements\db\ProductQuery::savable().
  • Added craft\commerce\elements\db\VariantQuery::$savable.
  • Added craft\commerce\elements\db\VariantQuery::editable().
  • Added craft\commerce\elements\db\VariantQuery::savable().
  • Added craft\commerce\helpers\ProductQuery::cleanseQueryCriteria().
  • Added craft\commerce\services\ShippingRuleCategories::getShippingRuleCategoriesByRuleIds().
  • Added craft\commerce\services\ShippingRuleCategories::getShippingRuleCategoriesByRuleIds().
  • craft\commerce\elements\db\ProductQuery::$editable is now nullable.
  • craft\commerce\elements\db\VariantQuery::$editable is now nullable.

System

  • Craft Commerce now requires Craft CMS 5.9.15 or later.
  • Cart numbers are now generated using a cryptographically secure random number generator.
  • Cart controller actions that accept an explicit cart number are now rate limited to mitigate enumeration attacks.
  • Shipping rule categories are now eager loaded on shipping rules automatically. (#4220)
  • Improved product index performance by not eager-loading variants for table attributes that are already fetched via SQL joins. (#4236)
  • Fixed a bug where coupon codes were submitted too early while being entered on order edit screens.
  • Fixed a bug where variants with empty SKUs didn’t show validation errors when saving a product after it was duplicated. (#4197)
  • Fixed high-severity SQL injection vulnerabilities. (GHSA-875v-7m49-8x88, GHSA-r54v-qq87-px5r)
  • Fixed a low-severity information disclosure vulnerability. (GHSA-3vxg-x5f8-f5qf)

4.11.0

11 Mar 17:57
4.11.0
7f24def

Choose a tag to compare

  • Craft Commerce now requires Craft CMS 4.17.9 or later.
  • Cart numbers are now generated using a cryptographically secure random number generator.
  • Cart controller actions that accept an explicit cart number are now rate limited to mitigate enumeration attacks.
  • Fixed a PHP error that could occur when using the manual gateway. (#4245)
  • Fixed a high-severity SQL injection vulnerability. (GHSA-875v-7m49-8x88)
  • Fixed a low-severity information disclosure vulnerability. (GHSA-3vxg-x5f8-f5qf)

5.5.4

18 Feb 19:02
5.5.4
027e334

Choose a tag to compare

  • Fixed a bug where subscription plan edit screens weren’t showing their linked description entries, if the entries were disabled. (#4229)
  • Fixed an error that could occur when editing inventory locations. (#4233)
  • Fixed a SQL error that could occur when querying for unfulfilled orders on PostgreSQL. (#4228)
  • Fixed an error that could occur when resaving variants. (#4226)

5.5.3

09 Feb 21:07
5.5.3
00debfb

Choose a tag to compare

  • Added craft\commerce\models\LineItemStatus::getDisplayName().
  • Fixed a bug where Orders tables on user edit pages were showing an incorrect column heading.
  • Fixed a bug where product selector modals didn’t have “Add a product” buttons. (#4205)
  • Fixed a bug where order status and line item status names weren’t translatable. (#4213)
  • Fixed a bug where it wasn’t possible to change a variant’s shipping category.
  • Fixed an error that occurred when adjusting inventory levels with an adjustment of zero. (#4212)
  • Fixed a SQL error that could occur when querying variants on PostgreSQL. (#4210)
  • Fixed an error that could occur when merging canonical product changes into a draft. (#4199)
  • Fixed a bug where variants weren’t being marked as modified when variants were added, deleted, or reordered. (#4222)
  • Fixed high-severity SQL injection vulnerabilities in the control panel. (GHSA-j3x5-mghf-xvfw, GHSA-pmgj-gmm4-jh6j)
  • Fixed a high-severity XSS vulnerability in the control panel. (GHSA-cfpv-rmpf-f624)
  • Fixed low-severity XSS vulnerabilities in the control panel. (GHSA-mqxf-2998-c6cp, GHSA-wj89-2385-gpx3, GHSA-mj32-r678-7mvp)

4.10.2

09 Feb 20:46
4.10.2
1a8afef

Choose a tag to compare

5.5.2

31 Dec 19:01
5.5.2
fb12a9f

Choose a tag to compare

4.10.1

31 Dec 18:59
4.10.1
dc3642f

Choose a tag to compare