Releases: craftcms/commerce
Releases · craftcms/commerce
Release list
5.6.7
- Fixed a bug where purchasables’ stock caches weren’t getting cleared after orders were completed.
- Fixed a bug where
InventoryRestockMovementwould incorrectly validate movements with only one invalid transaction type. - Fixed a bug where inventory search was case-sensitive on PostgreSQL. (#4326)
- Fixed an error that could occur when creating or editing a shipping rule. (#4321)
- Fixed a bug where some settings weren’t being saved to the project config. (#4324)
6.0.0-alpha.9
6.0.0-alpha.9
5.6.6.1
- Fixed a bug where Date Range widget settings could break when settings were reopened. (#4306)
5.6.6
- PDF download URLs now use the
codequery param instead oftoken(#4303). - Fixed a bug where the debug toolbar could trigger cart recalculation in multi-site setups, potentially causing some line items to be removed from the cart. (#4317)
- Fixed a bug where Date Range widget settings could break when settings were reopened. (#4306)
- Fixed a bug where new orders created in the control panel could default to a non-primary site in multi-site/single-store installs. (#4310)
- Fixed a PHP error that could occur when opening a product with a provisional draft. (#4314)
- Fixed a bug where tax zones, shipping categories, and tax categories created via “Create” slideouts were saved to the primary store rather than the current store. (#4313)
- Fixed a SQL error that could occur when running
project-config/applyif a PDF had an emptytemplatePath. (#4316) - Fixed a bug where two simultaneous requests to manually complete an order could result in a coupon being used twice. (Hackrate#1343)
- Fixed a bug where fulfilling an order with purchasables in different inventory locations would only fulfil items from one location. (#4299)
- Fixed a PHP error that could occur when applying project config changes after updating.
5.6.5
- Cart requests that include a
couponCodeparam are now rate-limited. - Fixed a bug where redundant database queries could be executed when no subscription plans existed. (#4285)
- Fixed an error that occurred when executing a GraphQL query with
relatedTo*arguments withinhasProductorhasVariantfields. (#4297) - Fixed moderate-severity enumeration vulnerability. (GHSA-h5gm-x9wr-vhcm)
- Fixed low-severity business logic vulnerability. (GHSA-78vr-q6cf-c7p6)
4.11.2
- Cart requests that include a
couponCodeparam are now rate-limited. - Fixed moderate-severity enumeration vulnerability. (GHSA-h5gm-x9wr-vhcm)
- Fixed low-severity business logic vulnerability. (GHSA-78vr-q6cf-c7p6)
5.6.4
- Fixed a SQL error that occurred when processing a fulfillment on PostgreSQL. (#4291)
- Fixed a bug where custom field layout tabs were duplicated in the tab overflow menu on order edit pages. (#4293)
- Fixed a bug where the “Set default variant” action wasn’t immediately reflected in the variant index. (#4294)
- Fixed a PHP error that occurred when variants were missing an inventory item. (#3837)
4.11.1
- PDF download tokens now use Craft’s native token expiry.
5.6.3
- Improved product query performance. (#4281)
- PDF download tokens now use Craft’s native token expiry.
- Fixed a bug where the “Commerce” page within user account settings wasn’t retaining view options for orders, carts, and subscriptions.
- Fixed a PHP error that could occur when editing field layouts that contained Commerce Products fields. (#4282)
- Fixed a deadlock that could occur when saving products with many variants concurrently. (#4287)
5.6.2
- Improved the performance of migrations when upgrading to Commerce 5. (#4277)
- Fixed a bug where variants weren’t getting saved if their auto-generated SKU wasn’t unique. (#4249)
- Fixed a PHP error that could occur when marking an inventory transfer as pending. (#4267)
- Fixed a bug where reordering disabled variants wasn’t working properly. (#4270)
- Fixed a bug where
craft\commerce\services\Carts::forgetCart()wasn’t working ifgetCart()was subsequently called. (#4279)