Skip to content

Commit 2cfb5a9

Browse files
authored
Bump to 1.12.0 (#879)
1 parent 325da0c commit 2cfb5a9

File tree

13 files changed

+71
-14
lines changed

13 files changed

+71
-14
lines changed

.php_cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
<?php
22

33
/** @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+
}
59

610
$originalRules = $config->getRules();
711

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# CHANGE LOG
22

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+
330
## 1.11.3
431

532
### UPDATES

Controller/Adminhtml/Landingpage/AbstractAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function dispatch(\Magento\Framework\App\RequestInterface $request)
8686
return parent::dispatch($request);
8787
}
8888

89-
/** @return Algolia\AlgoliaSearch\Model\LandingPage */
89+
/** @return \Algolia\AlgoliaSearch\Model\LandingPage */
9090
protected function initLandingPage()
9191
{
9292
$landingPageId = (int) $this->getRequest()->getParam('id');

Controller/Adminhtml/Query/AbstractAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function dispatch(\Magento\Framework\App\RequestInterface $request)
8686
return parent::dispatch($request);
8787
}
8888

89-
/** @return Algolia\AlgoliaSearch\Model\Query */
89+
/** @return \Algolia\AlgoliaSearch\Model\Query */
9090
protected function initQuery()
9191
{
9292
$queryId = (int) $this->getRequest()->getParam('id');

Controller/Adminhtml/Queue/AbstractAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected function _isAllowed()
5858
return $this->_authorization->isAllowed('Algolia_AlgoliaSearch::manage');
5959
}
6060

61-
/** @return Algolia\AlgoliaSearch\Model */
61+
/** @return \Algolia\AlgoliaSearch\Model */
6262
protected function initJob()
6363
{
6464
$jobId = (int) $this->getRequest()->getParam('id');

Helper/Entity/Product/AttributeHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(
2424
/**
2525
* Get attribute info by attribute code and entity type
2626
*
27-
* @param int|string|Mage\Eav\Model\Entity\Type $entityType
27+
* @param int|string|\Magento\Eav\Model\Entity\Type $entityType
2828
* @param string $attributeCode
2929
*
3030
* @return \Magento\Eav\Model\Entity\Attribute

Model/Indexer/CategoryObserver.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class CategoryObserver
2626

2727
/**
2828
* CategoryObserver constructor.
29+
*
2930
* @param IndexerRegistry $indexerRegistry
3031
* @param ConfigHelper $configHelper
3132
* @param ResourceConnection $resource
@@ -53,7 +54,7 @@ public function afterSave(
5354
CategoryResourceModel $result,
5455
CategoryModel $category
5556
) {
56-
$categoryResource->addCommitCallback(function() use ($category) {
57+
$categoryResource->addCommitCallback(function () use ($category) {
5758
$collectionIds = [];
5859
// To reduce the indexing operation for products, only update if these values have changed
5960
if ($category->getOrigData('name') !== $category->getData('name')
@@ -92,7 +93,7 @@ public function afterDelete(
9293
CategoryResourceModel $result,
9394
CategoryModel $category
9495
) {
95-
$categoryResource->addCommitCallback(function() use ($category) {
96+
$categoryResource->addCommitCallback(function () use ($category) {
9697
// mview should be able to handle the changes for catalog_category_product relationship
9798
if (!$this->indexer->isScheduled()) {
9899
/* we are using products position because getProductCollection() doesn't use correct store */

Model/Observer/CategoryMoveAfter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
class CategoryMoveAfter implements ObserverInterface
1313
{
14-
1514
/** @var IndexerRegistry */
1615
private $indexerRegistry;
1716

@@ -41,6 +40,7 @@ public function __construct(
4140
* is not able to process the products that need updating.
4241
*
4342
* @param Observer $observer
43+
*
4444
* @return bool|void
4545
*/
4646
public function execute(Observer $observer)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Algolia Search for Magento 2
22
==================
33

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)
55
![Magento 2](https://img.shields.io/badge/Magento-%3E=2.1-blue.svg)
66
![Magento 2](https://img.shields.io/badge/Magento-%3C%202.3.2-blue.svg)
77
![PHP >= 5.6.5](https://img.shields.io/badge/PHP-%3E=5.6-green.svg)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Algolia Search integration for Magento 2",
44
"type": "magento2-module",
55
"license": ["MIT"],
6-
"version": "1.11.3",
6+
"version": "1.12.0",
77
"require": {
88
"php": "~5.6.5|~7.0|~7.1|~7.2|~7.3",
99
"magento/framework": "~100.1|~101.0|~102.0",

0 commit comments

Comments
 (0)