5.7#4262
Draft
lukeholder wants to merge 59 commits into
Draft
Conversation
Fixes #4292. v2 drops the psr/simple-cache dependency entirely and moves to the Ibericode\Vat namespace.
…hub.com:craftcms/commerce into nathaniel/5.7-user-with-orders-deletion-blocker # Conflicts: # src/Plugin.php # src/web/assets/commerceui/dist/js/app.js # src/web/assets/commerceui/dist/js/app.js.map
…es-condition-rule
- Correct @SInCE from 4.2.0 to 5.7.0 - Remove double space in namespace declaration - Fix @inerhitdoc typo to @inheritdoc - Add CHANGELOG-WIP.md entry for HasPurchasablesConditionRule
For 'all', use one EXISTS subquery per purchasable ID (AND-joined) so the DB-level filter is accurate, not just a broad pre-filter. For 'any', the existing IN condition is correct. For 'exact', keep the IN pre-filter and let matchElement handle the rest.
…sablesConditionRule - Add OrderQuery::$containsPurchasables property and containsPurchasables() method supporting 'any', 'all', and 'only' match modes with correct SQL for each - Rename HasPurchasablesConditionRule to ContainsPurchasablesConditionRule and update its label to 'Contains Purchasables' - modifyQuery now delegates entirely to containsPurchasables() so all three match modes are correctly handled at the DB level
- Rename $canEditProducts → $canSaveProducts in Product::defineSources() - Rename $editableProductTypeIds → $viewableProductTypeIds in stats classes - Delete old permission name rows from USERPERMISSIONS after migrating - Add explanatory comment to safeDown()
- Remove redundant @phpstan-ignore-next-line in Product::canSave() - Remove unused Plugin import from ProductTypes (fix-cs) - Remove old permission row cleanup from migration (Craft core leaves old rows in place) - Rename _applyEditableParam to _applyPermissionParam in ProductQuery - Add comment explaining editable → viewProductType mapping mirrors EntryQuery
…-deletion-blocker [5.7] User deletion blockers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
WIP Commerce 5.7 release