Skip to content
Open

5.6 #4189

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
0291ca5
Show product title on variant chip
lukeholder Nov 12, 2025
0c450a2
Cleanup
lukeholder Nov 12, 2025
c5961c1
Not needed
lukeholder Nov 12, 2025
48ccfdc
Cleanup
lukeholder Nov 12, 2025
7b36647
Not nullable anyway
lukeholder Nov 12, 2025
e19808c
Merge branch '5.5' into variant-ui-label
lukeholder Nov 12, 2025
911bc49
Merge branch '5.5' into variant-ui-label
lukeholder Nov 18, 2025
4917d72
Merge branch 'variant-ui-label' of github.com:craftcms/commerce into …
lukeholder Nov 18, 2025
23b16e7
Merge branch '5.x' into luke/fix-product-preview-targets
lukeholder Dec 3, 2025
9376da7
Add missing translation for 4d241314c21345189e7e588c3a30b6d11bf99d53
lukeholder Dec 3, 2025
e952d01
WIP release notes
lukeholder Dec 3, 2025
9ba1100
Merge branch '5.6' into luke/fix-product-preview-targets
lukeholder Dec 3, 2025
a48d79c
Merge branch '5.x' into 5.6
lukeholder Dec 8, 2025
9ef98ab
Merge branch '5.x' into 5.6
lukeholder Jan 15, 2026
c5b0a48
Added `relatedToProducts` and `relatedToVariants` GraphQL query argum…
lukeholder Jan 15, 2026
6816e01
Merge branch '5.x' into 5.6
lukeholder Jan 28, 2026
25afc29
Refactor Product query editability
lukeholder Jan 28, 2026
4721b33
Update variant query also
lukeholder Jan 28, 2026
eee0836
Merge branch '5.x' into 5.6
lukeholder Jan 28, 2026
0880b4c
Improve set and adjust language
lukeholder Jan 28, 2026
2b5df39
Merge branch '5.6' into feature/product-query-editable-savable
lukeholder Jan 28, 2026
63b2f2d
Fixed #4197
lukeholder Jan 28, 2026
9a1b2dd
Merge branch '5.x' into 5.6
lukeholder Jan 30, 2026
f1cd82d
Cleanup
lukeholder Feb 4, 2026
4ac2eef
Fixed #4197
lukeholder Jan 28, 2026
34efe84
Merge branch 'bugfix/fix-4197' of github.com:craftcms/commerce into b…
lukeholder Feb 4, 2026
406ac2d
Add variant SKU validation to live products
lukeholder Feb 4, 2026
84074f7
Merge branch '5.6' into bugfix/fix-4197
lukeholder Feb 4, 2026
4cef42e
update deps
lukeholder Feb 4, 2026
0c2c644
fix phpstan issues
lukeholder Feb 4, 2026
0423aaf
remove ignore as it isnt needed anymore
lukeholder Feb 4, 2026
6fdb523
Merge branch '5.x' into 5.6
lukeholder Feb 4, 2026
54bdd72
No longer needed
lukeholder Feb 4, 2026
839f345
Merge branch '5.6' into bugfix/fix-4197
lukeholder Feb 4, 2026
5ad6a2c
WIP fix
lukeholder Feb 5, 2026
e5f2db8
Merge branch '5.x' into 5.6
lukeholder Feb 5, 2026
e72db62
Merge branch '5.6' into luke/fix-4220
lukeholder Feb 5, 2026
26cb10a
Release note
lukeholder Feb 5, 2026
da3c123
Release note link
lukeholder Feb 5, 2026
fdd6cb9
Working nested element manager
lukeholder Feb 5, 2026
48af1da
Merge branch '5.6' into luke/fix-4220
lukeholder Feb 5, 2026
cb40e10
phpstan fixes
lukeholder Feb 5, 2026
b0f7b3b
when pasing the settings, default on null
lukeholder Feb 5, 2026
6eee099
Revert "No longer needed"
lukeholder Feb 5, 2026
e8903c9
Merge branch '5.6' into bugfix/fix-4197
lukeholder Feb 5, 2026
77529f6
Merge branch '5.x' into 5.6
lukeholder Feb 6, 2026
7f55b0a
Require Craft 5.9
lukeholder Feb 6, 2026
5b6bd34
Merge branch '5.x' into 5.6
lukeholder Feb 6, 2026
b4e5674
enable ci for 5.6 branch also, for now
lukeholder Feb 6, 2026
06d0d24
Merge branch '5.6' into luke/fix-4220
lukeholder Feb 6, 2026
2098b35
Merge branch '5.6' into feature/variant-ui-label
lukeholder Feb 6, 2026
323cbad
Merge pull request #4221 from craftcms/luke/fix-4220
lukeholder Feb 6, 2026
6e3bb64
Merge branch '5.6' into feature/variant-ui-label
lukeholder Feb 10, 2026
1c476cb
Merge branch '5.x' into 5.6
lukeholder Feb 10, 2026
88a1fe5
Merge branch '5.6' of github.com:craftcms/commerce into 5.6
lukeholder Feb 10, 2026
4b30390
Merge remote-tracking branch 'origin/5.6' into feature/variant-ui-label
lukeholder Feb 10, 2026
0508403
Product and Variant Product UI Label Format
lukeholder Feb 10, 2026
2043d34
Mitigate cart number enumeration attacks
lukeholder Feb 12, 2026
279942a
Merge branch '5.6' into feature/cart-rate-limit
lukeholder Feb 13, 2026
643b97d
Merge branch '5.x' into 5.6
lukeholder Feb 13, 2026
eeec81c
Merge branch '5.6' into feature/cart-rate-limit
lukeholder Feb 13, 2026
1e6e6e8
Fix injection from element indexes
nfourtythree Feb 16, 2026
a329fbb
remove typo
nfourtythree Feb 16, 2026
6dac511
Tidy implementation of `cleanseQueryCriteria()`
nfourtythree Feb 16, 2026
d71b995
Merge branch '5.6' into bugfix/sql-injection-from-element-indexes
nfourtythree Feb 16, 2026
24b28e6
Fix cs
nfourtythree Feb 16, 2026
640c2eb
Bump Craft requirement to 5.9.9+
nfourtythree Feb 16, 2026
21ed7d7
Tweak changelogs
nfourtythree Feb 16, 2026
a81280c
rate limit option
lukeholder Feb 17, 2026
c3c8f94
Revert setting
lukeholder Feb 18, 2026
ae151a7
release notes
lukeholder Feb 18, 2026
902c2ee
Merge pull request #4224 from craftcms/feature/variant-ui-label
lukeholder Feb 18, 2026
b188cbe
Merge branch '5.6' into feature/graphql-related
lukeholder Feb 18, 2026
8f28e08
Fix import ordering
lukeholder Feb 18, 2026
552bcda
Merge pull request #4190 from craftcms/luke/fix-product-preview-targets
lukeholder Feb 18, 2026
e05dc38
Merge branch '5.6' into bugfix/fix-4197
lukeholder Feb 18, 2026
a6dbf66
Move changelog entry to WIP
lukeholder Feb 18, 2026
05c3c36
Merge branch '5.6' into feature/product-query-editable-savable
lukeholder Feb 18, 2026
08483a5
Add missing ElementInterface import
lukeholder Feb 18, 2026
8d87a4f
Merge pull request #4215 from craftcms/bugfix/fix-4197
lukeholder Feb 18, 2026
3bede8e
Merge pull request #4204 from craftcms/feature/graphql-related
lukeholder Feb 18, 2026
c850e5d
Merge branch '5.6' into feature/product-query-editable-savable
lukeholder Feb 18, 2026
4afb758
Merge pull request #4214 from craftcms/feature/product-query-editable…
lukeholder Feb 18, 2026
556c324
Merge branch '5.x' into 5.6
lukeholder Feb 18, 2026
dae7eba
Merge branch '5.6' into feature/cart-rate-limit
lukeholder Feb 18, 2026
47c9568
Merge pull request #4231 from craftcms/feature/cart-rate-limit
lukeholder Feb 18, 2026
d92c9e0
Merge branch '5.6' into bugfix/sql-injection-from-element-indexes
nfourtythree Feb 18, 2026
8482e0e
rector fix
nfourtythree Feb 18, 2026
f440264
Merge pull request #4232 from craftcms/bugfix/sql-injection-from-elem…
nfourtythree Feb 18, 2026
d2f4425
Merge branch '5.x' into 5.6
brandonkelly Feb 18, 2026
1c35920
Translation cleanup
brandonkelly Feb 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- '5.x'
- '5.6'
pull_request:
permissions:
contents: read
Expand Down
27 changes: 27 additions & 0 deletions CHANGELOG-WIP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# WIP Release notes for Commerce 5.6

### Development
- Cart controller actions that accept an explicit cart number are now rate limited to mitigate enumeration attacks.
- Cart numbers are now generated using a cryptographically secure random number generator.
- Shipping rule categories are now eager loaded on shipping rules automatically. ([#4220](https://github.com/craftcms/commerce/issues/4220))

### Extensibility
- 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()`.
- 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))
- Added `variantUiLabelFormat` and `productUiLabelFormat` settings to product types, for customizing how products and variants are labeled throughout the control panel. ([#4178](https://github.com/craftcms/commerce/pull/4178))
- `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.9 or later.
- Fixed a bug where Variant with empty SKUs didn't show a validation error when saving a product after it was duplicated. ([#4197](https://github.com/craftcms/commerce/issues/4197))
- Fixed a SQL error that could occur when querying for unfulfilled orders on PostgreSQL. ([#4228](https://github.com/craftcms/commerce/issues/4228))
- Fixed an error that could occur when resaving variants. ([#4226](https://github.com/craftcms/commerce/issues/4226))
- Fixed [high-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) SQL injection vulnerabilities in the control panel.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
- Fixed an error that could occur when editing inventory locations. ([#4233](https://github.com/craftcms/commerce/issues/4233))
- Fixed a SQL error that could occur when querying for unfulfilled orders on PostgreSQL. ([#4228](https://github.com/craftcms/commerce/issues/4228))
- Fixed an error that could occur when resaving variants. ([#4226](https://github.com/craftcms/commerce/issues/4226))
- Fixed [high-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) SQL injection vulnerabilities in the control panel.
- Added `craft\commerce\helpers\ProductQuery::cleanseQueryCriteria()`.

## 5.5.3 - 2026-02-09

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"prefer-stable": true,
"require": {
"php": "^8.2",
"craftcms/cms": "^5.6.0",
"craftcms/cms": "^5.9.9",
"dompdf/dompdf": "^2.0.2",
"ibericode/vat": "^1.2.2",
"iio/libmergepdf": "^4.0",
Expand Down
Loading
Loading