Skip to content

Commit b84f68d

Browse files
Merge pull request #49 from magento/develop-backport
Backport develop branch into 1.0
2 parents 54df094 + 4a14e24 commit b84f68d

12 files changed

+3356
-52
lines changed

patches.json

+10-1
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,14 @@
244244
},
245245
"Fix load balancer issue": {
246246
">=2.3.4 <2.3.6": "MCLOUD-5837__fix_filesystem_load_balancer_issue__2.3.4.patch"
247+
},
248+
"Cache Locking performance issue": {
249+
"2.3.3": "MDVA-27538__fix_performance_issue_in_cache_locking_mechanism__2.3.3.patch",
250+
">=2.3.3-p1 <2.3.4": "MDVA-27538__fix_performance_issue_in_cache_locking_mechanism__2.3.3-p1.patch",
251+
">=2.3.4 <2.3.5": "MDVA-26795__fix_performance_issue_in_cache_locking_mechanism__2.3.4.patch"
252+
},
253+
"Large amount of Keys Block Cache": {
254+
">=2.3.1 <2.3.5": "MDVA-22950__large_amount_of_keys_block_cache__2.3.1.patch"
247255
}
248256
},
249257
"magento/module-paypal": {
@@ -266,7 +274,8 @@
266274
},
267275
"monolog/monolog": {
268276
"Fix monolog Slack Handler bug for magento 2.1.x": {
269-
"1.16.0": "MAGECLOUD-2793__fix_monolog_slack_handler_2.1.x.patch"
277+
"1.16.0": "MAGECLOUD-2793__fix_monolog_slack_handler_2.1.x.patch",
278+
">=1.16.0 <1.24.0": "MAGECLOUD-6029__add_processor_interface_2.1.x.patch"
270279
}
271280
},
272281
"colinmollenhour/cache-backend-redis": {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
diff -Naur a/vendor/monolog/monolog/src/Monolog/Processor/ProcessorInterface.php b/vendor/monolog/monolog/src/Monolog/Processor/ProcessorInterface.php
2+
--- /dev/null
3+
+++ b/vendor/monolog/monolog/src/Monolog/Processor/ProcessorInterface.php
4+
@@ -0,0 +1,25 @@
5+
+<?php
6+
+
7+
+/*
8+
+ * This file is part of the Monolog package.
9+
+ *
10+
+ * (c) Jordi Boggiano <[email protected]>
11+
+ *
12+
+ * For the full copyright and license information, please view the LICENSE
13+
+ * file that was distributed with this source code.
14+
+ */
15+
+
16+
+namespace Monolog\Processor;
17+
+
18+
+/**
19+
+ * An optional interface to allow labelling Monolog processors.
20+
+ *
21+
+ * @author Nicolas Grekas <[email protected]>
22+
+ */
23+
+interface ProcessorInterface
24+
+{
25+
+ /**
26+
+ * @return array The processed records
27+
+ */
28+
+ public function __invoke(array $records);
29+
+}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
diff -Nuar a/vendor/magento/module-swatches/Block/Product/Renderer/Listing/Configurable.php b/vendor/magento/module-swatches/Block/Product/Renderer/Listing/Configurable.php
2+
--- a/vendor/magento/module-swatches/Block/Product/Renderer/Listing/Configurable.php
3+
+++ b/vendor/magento/module-swatches/Block/Product/Renderer/Listing/Configurable.php
4+
@@ -9,7 +9,6 @@ use Magento\Catalog\Block\Product\Context;
5+
use Magento\Catalog\Helper\Product as CatalogProduct;
6+
use Magento\Catalog\Model\Product;
7+
use Magento\Catalog\Model\Layer\Resolver;
8+
-use Magento\Catalog\Model\Layer\Category as CategoryLayer;
9+
use Magento\ConfigurableProduct\Helper\Data;
10+
use Magento\ConfigurableProduct\Model\ConfigurableAttributeData;
11+
use Magento\Customer\Helper\Session\CurrentCustomer;
12+
@@ -244,9 +243,12 @@ class Configurable extends \Magento\Swatches\Block\Product\Renderer\Configurable
13+
14+
$layeredAttributes = [];
15+
16+
- $configurableAttributes = array_map(function ($attribute) {
17+
- return $attribute->getAttributeCode();
18+
- }, $configurableAttributes);
19+
+ $configurableAttributes = array_map(
20+
+ function ($attribute) {
21+
+ return $attribute->getAttributeCode();
22+
+ },
23+
+ $configurableAttributes
24+
+ );
25+
26+
$commonAttributeCodes = array_intersect(
27+
$configurableAttributes,
28+
@@ -259,17 +261,4 @@ class Configurable extends \Magento\Swatches\Block\Product\Renderer\Configurable
29+
30+
return $layeredAttributes;
31+
}
32+
-
33+
- /**
34+
- * @inheritdoc
35+
- * @since 100.3.1
36+
- */
37+
- public function getCacheKeyInfo()
38+
- {
39+
- $cacheKeyInfo = parent::getCacheKeyInfo();
40+
- /** @var CategoryLayer $catalogLayer */
41+
- $catalogLayer = $this->layerResolver->get();
42+
- $cacheKeyInfo[] = $catalogLayer->getStateKey();
43+
- return $cacheKeyInfo;
44+
- }
45+
}

0 commit comments

Comments
 (0)