File tree Expand file tree Collapse file tree 13 files changed +71
-14
lines changed Expand file tree Collapse file tree 13 files changed +71
-14
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
3
/** @var PhpCsFixer\Config $config */
4
- $ config = require __DIR__ . '/../../../.php_cs.dist ' ;
4
+ if (isset ($ _SERVER ['argv ' ]) && $ _SERVER ['argv ' ][3 ]) {
5
+ $ config = require dirname ($ _SERVER ['argv ' ][3 ], 3 ) . '/.php_cs.dist ' ;
6
+ } else {
7
+ $ config = require __DIR__ . '/../../../.php_cs.dist ' ;
8
+ }
5
9
6
10
$ originalRules = $ config ->getRules ();
7
11
Original file line number Diff line number Diff line change 1
1
# CHANGE LOG
2
2
3
+ ## 1.12.0
4
+
5
+ ### FEATURES
6
+ - Algolia's facets backend rendering for Mysql Engine (#802 )
7
+
8
+ ### UPDATES
9
+ - The extension no longer supports Magento 2.1 ** BC Break**
10
+ - B2B Feature : add condition for allow catalog browsing for enabling and add count check for list() (#820 )
11
+ - Updated enabled logic to pull from the config helper class (#820 )
12
+ - Add ACL for Algolia Search configuration section (#829 )
13
+ - Remove the isQueueActive() check for the product plugin (#830 )
14
+ - Update get product images (#823 )
15
+ - Remove Circle CI 2.1 check (#849 )
16
+ - Add facet query rules management + dashboard warnings (#844 )
17
+ - Update video links in admin (#850 )
18
+ - Add new support page with tabs (#845 )
19
+ - Adjust the extension to be ready for upcoming MSI optional support that will come through another extension. (#841 )
20
+ - Making PHPCompatibility assess no funky <7.1 PHP is used in our project
21
+ - Magento Cloud Development setup teardown (#860 )
22
+ - Add type checking tool configuration (#861 )
23
+ - Add notice when users have access to C&C Analytics but they haven't turned it on (#867 )
24
+
25
+ ### FIXES
26
+ - Add Store emulation for full category reindexing (#826 )
27
+ - Category Product Updates for Update on Schedule (#819 )
28
+ - Fix disabled autocomplete with active facet query rule) (#866 )
29
+
3
30
## 1.11.3
4
31
5
32
### UPDATES
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public function dispatch(\Magento\Framework\App\RequestInterface $request)
86
86
return parent ::dispatch ($ request );
87
87
}
88
88
89
- /** @return Algolia\AlgoliaSearch\Model\LandingPage */
89
+ /** @return \ Algolia\AlgoliaSearch\Model\LandingPage */
90
90
protected function initLandingPage ()
91
91
{
92
92
$ landingPageId = (int ) $ this ->getRequest ()->getParam ('id ' );
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public function dispatch(\Magento\Framework\App\RequestInterface $request)
86
86
return parent ::dispatch ($ request );
87
87
}
88
88
89
- /** @return Algolia\AlgoliaSearch\Model\Query */
89
+ /** @return \ Algolia\AlgoliaSearch\Model\Query */
90
90
protected function initQuery ()
91
91
{
92
92
$ queryId = (int ) $ this ->getRequest ()->getParam ('id ' );
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ protected function _isAllowed()
58
58
return $ this ->_authorization ->isAllowed ('Algolia_AlgoliaSearch::manage ' );
59
59
}
60
60
61
- /** @return Algolia\AlgoliaSearch\Model */
61
+ /** @return \ Algolia\AlgoliaSearch\Model */
62
62
protected function initJob ()
63
63
{
64
64
$ jobId = (int ) $ this ->getRequest ()->getParam ('id ' );
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public function __construct(
24
24
/**
25
25
* Get attribute info by attribute code and entity type
26
26
*
27
- * @param int|string|Mage \Eav\Model\Entity\Type $entityType
27
+ * @param int|string|\Magento \Eav\Model\Entity\Type $entityType
28
28
* @param string $attributeCode
29
29
*
30
30
* @return \Magento\Eav\Model\Entity\Attribute
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ class CategoryObserver
26
26
27
27
/**
28
28
* CategoryObserver constructor.
29
+ *
29
30
* @param IndexerRegistry $indexerRegistry
30
31
* @param ConfigHelper $configHelper
31
32
* @param ResourceConnection $resource
@@ -53,7 +54,7 @@ public function afterSave(
53
54
CategoryResourceModel $ result ,
54
55
CategoryModel $ category
55
56
) {
56
- $ categoryResource ->addCommitCallback (function () use ($ category ) {
57
+ $ categoryResource ->addCommitCallback (function () use ($ category ) {
57
58
$ collectionIds = [];
58
59
// To reduce the indexing operation for products, only update if these values have changed
59
60
if ($ category ->getOrigData ('name ' ) !== $ category ->getData ('name ' )
@@ -92,7 +93,7 @@ public function afterDelete(
92
93
CategoryResourceModel $ result ,
93
94
CategoryModel $ category
94
95
) {
95
- $ categoryResource ->addCommitCallback (function () use ($ category ) {
96
+ $ categoryResource ->addCommitCallback (function () use ($ category ) {
96
97
// mview should be able to handle the changes for catalog_category_product relationship
97
98
if (!$ this ->indexer ->isScheduled ()) {
98
99
/* we are using products position because getProductCollection() doesn't use correct store */
Original file line number Diff line number Diff line change 11
11
12
12
class CategoryMoveAfter implements ObserverInterface
13
13
{
14
-
15
14
/** @var IndexerRegistry */
16
15
private $ indexerRegistry ;
17
16
@@ -41,6 +40,7 @@ public function __construct(
41
40
* is not able to process the products that need updating.
42
41
*
43
42
* @param Observer $observer
43
+ *
44
44
* @return bool|void
45
45
*/
46
46
public function execute (Observer $ observer )
Original file line number Diff line number Diff line change 1
1
Algolia Search for Magento 2
2
2
==================
3
3
4
- ![ Latest version] ( https://img.shields.io/badge/latest-1.11.3 -green.svg )
4
+ ![ Latest version] ( https://img.shields.io/badge/latest-1.12.0 -green.svg )
5
5
![ Magento 2] ( https://img.shields.io/badge/Magento-%3E=2.1-blue.svg )
6
6
![ Magento 2] ( https://img.shields.io/badge/Magento-%3C%202.3.2-blue.svg )
7
7
![ PHP >= 5.6.5] ( https://img.shields.io/badge/PHP-%3E=5.6-green.svg )
Original file line number Diff line number Diff line change 3
3
"description" : " Algolia Search integration for Magento 2" ,
4
4
"type" : " magento2-module" ,
5
5
"license" : [" MIT" ],
6
- "version" : " 1.11.3 " ,
6
+ "version" : " 1.12.0 " ,
7
7
"require" : {
8
8
"php" : " ~5.6.5|~7.0|~7.1|~7.2|~7.3" ,
9
9
"magento/framework" : " ~100.1|~101.0|~102.0" ,
You can’t perform that action at this time.
0 commit comments