Skip to content
Merged

5.6 #4189

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
90eb6b1
Update Dummy.php expiry date
MatMc May 15, 2024
2249eed
Update Dummy.php
MatMc May 15, 2024
5c150b0
Merge pull request #3499 from MatMc/patch-3
nfourtythree May 22, 2024
9ecd55b
WIP variant query fix for `hasSales`
nfourtythree Jul 3, 2024
17e3c75
changelog
nfourtythree Jul 3, 2024
e20c03f
Merge pull request #3568 from craftcms/feature/pt-1885-3x-hassales-at…
nfourtythree Jul 3, 2024
f288b22
Finish 3.4.24
nfourtythree Jul 3, 2024
ad3e98c
Fix version number #3553
nfourtythree Jul 10, 2024
8788438
Finish 3.4.25
nfourtythree Jul 10, 2024
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
7f14b8e
Add rate limiting to cart actions
nfourtythree Feb 18, 2026
d2f4425
Merge branch '5.x' into 5.6
brandonkelly Feb 18, 2026
1c35920
Translation cleanup
brandonkelly Feb 18, 2026
8d3a72d
New translations commerce.php (French)
shinybrad Feb 18, 2026
37fc64d
New translations commerce.php (German)
shinybrad Feb 18, 2026
3846ec4
New translations commerce.php (Italian)
shinybrad Feb 18, 2026
b51213f
New translations commerce.php (Japanese)
shinybrad Feb 18, 2026
a9b357a
New translations commerce.php (Dutch)
shinybrad Feb 18, 2026
9316871
New translations commerce.php (Portuguese)
shinybrad Feb 18, 2026
72ee632
New translations commerce.php (Slovak)
shinybrad Feb 18, 2026
c188b43
New translations commerce.php (English, United Kingdom)
shinybrad Feb 18, 2026
10ee332
New translations commerce.php (French, Canada)
shinybrad Feb 18, 2026
c5866cc
New translations commerce.php (Norwegian Bokmal)
shinybrad Feb 18, 2026
f2cb50b
New translations commerce.php (Dutch)
shinybrad Feb 19, 2026
34e4a05
New translations commerce.php (Japanese)
shinybrad Feb 20, 2026
cf8279f
New translations commerce.php (Japanese)
shinybrad Feb 20, 2026
054aac7
New translations commerce.php (German)
shinybrad Feb 20, 2026
be3eace
New translations commerce.php (Italian)
shinybrad Feb 20, 2026
e0e7ad4
New translations commerce.php (English, United Kingdom)
shinybrad Feb 20, 2026
27b9369
New translations commerce.php (Portuguese)
shinybrad Feb 20, 2026
5b31c86
New translations commerce.php (French)
shinybrad Feb 20, 2026
d4eddf1
New translations commerce.php (Norwegian Bokmal)
shinybrad Feb 20, 2026
b8c27f7
New translations commerce.php (Slovak)
shinybrad Feb 20, 2026
7caad87
New translations commerce.php (French, Canada)
shinybrad Feb 20, 2026
565e07a
mention GHSA
angrybrad Feb 24, 2026
7058887
Merge branch '5.x' into 5.6
lukeholder Feb 26, 2026
6d4ec9b
Updated to new way of rate limiting without the library
nfourtythree Mar 4, 2026
26d500c
fix(gateway): handle null env parsing (#4)
john-henry Mar 9, 2026
33d6345
Merge pull request #4245 from john-henry/bugfix/manual-gateway-php-er…
lukeholder Mar 10, 2026
f5df87a
Fix bool check
lukeholder Mar 10, 2026
be8394f
Merge branch '3.x' of github.com:craftcms/commerce into 4.11
lukeholder Mar 10, 2026
e342eba
Merge branch '4.x' into 4.11
lukeholder Mar 10, 2026
fb74c46
Merge branch '4.11' of github.com:craftcms/commerce into 4.11
lukeholder Mar 10, 2026
d4657ae
Merge pull request #4235 from craftcms/t9n/5.6
brandonkelly Mar 10, 2026
c974a4e
Merge branch '4.x' into 4.11
brandonkelly Mar 10, 2026
0816039
Fixed PHPStan issue
brandonkelly Mar 10, 2026
38640c4
Drop Craft 4.17.5+ requirement
brandonkelly Mar 10, 2026
bb97600
Fixed a PHPStan issue
brandonkelly Mar 10, 2026
933d3db
Add permission check to refresh payments
lukeholder Mar 11, 2026
e15c288
Merge branch '5.x' into 5.6
lukeholder Mar 11, 2026
2329dd8
extend base cp controller
lukeholder Mar 11, 2026
7a502fb
Merge branch '4.x' into 4.11
lukeholder Mar 11, 2026
27e8a40
Merge branch '5.x' into 5.6
lukeholder Mar 11, 2026
3dd865c
Merge branch '4.11' into 5.6
lukeholder Mar 11, 2026
e2bee5b
Bump Craft requirement (4.17.9) and use the IP rate limiting class
nfourtythree Mar 11, 2026
5915cbe
Add changelog item
nfourtythree Mar 11, 2026
2f11f75
Merge branch '4.11' into 5.6
nfourtythree Mar 11, 2026
513265f
Bump Craft req and fix
nfourtythree Mar 11, 2026
dad637f
fix cs
nfourtythree Mar 11, 2026
b8bdbb9
Changelog cleanup
brandonkelly Mar 11, 2026
58759bf
Merge pull request #4250 from craftcms/4.11
brandonkelly Mar 11, 2026
f41bf1b
Merge branch '4.x' of https://github.com/craftcms/commerce into 5.6
brandonkelly Mar 11, 2026
fea8086
New translations commerce.php (French)
shinybrad Mar 11, 2026
2520b35
New translations commerce.php (French, Canada)
shinybrad Mar 11, 2026
ec0972b
Merge the WIP changelog
brandonkelly Mar 11, 2026
03340f8
Merge pull request #4252 from craftcms/t9n/5.6
brandonkelly Mar 11, 2026
6c0c5f4
Merge branch '5.x' into 5.6
brandonkelly Mar 11, 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
30 changes: 28 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,43 @@

## Unreleased

### Administration
- Added the “UI Label Format” and “Variant UI Label Format” settings to product types. ([#4178](https://github.com/craftcms/commerce/pull/4178))

### Extensibility
- 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 `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](https://github.com/craftcms/commerce/issues/4220))
- 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))
- Fixed a bug where coupon codes were submitted too early while being entered on order edit screens.
- Fixed a [high-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) SQL injection vulnerability in the control panel. (GHSA-875v-7m49-8x88)
- Fixed a [low-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) Information disclosure vulnerability in payment controller action. (GHSA-3vxg-x5f8-f5qf)
- 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))
- 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. (GHSA-875v-7m49-8x88, GHSA-r54v-qq87-px5r)
- Fixed a [low-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) information disclosure vulnerability. (GHSA-3vxg-x5f8-f5qf)

## 5.5.4 - 2026-02-18

- 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))
- 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. (GHSA-r54v-qq87-px5r)
- 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.15",
"dompdf/dompdf": "^2.0.2",
"ibericode/vat": "^1.2.2",
"iio/libmergepdf": "^4.0",
Expand Down
Loading
Loading