Skip to content

Commit aa1558a

Browse files
authored
Merge pull request #89 from Nosto/release/3.1.0-rc7
Release/3.1.0 rc7 - Cache category mapping block
2 parents 21a4af5 + 0206ee1 commit aa1558a

File tree

7 files changed

+19
-11
lines changed

7 files changed

+19
-11
lines changed

.github/workflows/action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
php-version: '7.2'
1818
tools: composer:v1, prestissimo
19-
extensions: ast
19+
extensions: ast, bcmath, gd
2020
coverage: none
2121

2222
#https://github.com/actions/cache/blob/master/examples.md#php---composer
@@ -70,7 +70,7 @@ jobs:
7070
with:
7171
php-version: '7.2'
7272
tools: composer:v1, prestissimo
73-
extensions: ast
73+
extensions: ast, bcmath, gd
7474
coverage: none
7575

7676
#https://github.com/actions/cache/blob/master/examples.md#php---composer
@@ -121,7 +121,7 @@ jobs:
121121
with:
122122
php-version: '7.2'
123123
tools: composer:v1, prestissimo
124-
extensions: ast
124+
extensions: ast, bcmath, gd
125125
coverage: none
126126

127127
#https://github.com/actions/cache/blob/master/examples.md#php---composer

.github/workflows/ide.yml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
with:
1818
php-version: '7.2'
1919
tools: composer:v1, prestissimo, pecl
20+
extensions: bcmath, gd, pdo_mysql, soap, zip
2021
coverage: none
2122

2223
- name: Install AST extension

.github/workflows/phan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
php-version: '7.2'
1919
tools: composer:v1, prestissimo, pecl
2020
coverage: none
21-
extensions: ast
21+
extensions: ast, bcmath, gd, pdo_mysql, soap, zip
2222

2323
- name: Cache composer packages
2424
id: composer-cache

CHANGELOG.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
22

3-
## 3.1.0-rc6
3+
### 3.1.0-rc7
4+
* Cache category mapping block
5+
6+
### 3.1.0-rc6
47
* Render magento sorting directly when Nosto customer cookie is missing
58

6-
## 3.1.0-rc5
9+
### 3.1.0-rc5
710
* Render frontend layouts only when CM configuration is enabled
811
* Upgrade PHP-SDK version to fix CM not displaying Nosto sorting when batchToken is null
912

10-
## 3.1.0-rc4
13+
### 3.1.0-rc4
1114
* Fix issue where filters were not passed when using MySQL
1215

13-
## 3.1.0-rc3
16+
### 3.1.0-rc3
1417
* Return Magento sorting when CM call fails
1518

1619
### 3.1.0-rc2

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nosto/module-nostocmp",
33
"description": "Nosto Category Merchandising extension for Magento 2",
44
"type": "magento2-module",
5-
"version": "3.1.0-rc6",
5+
"version": "3.1.0-rc7",
66
"require-dev": {
77
"magento-ecg/coding-standard": "3.*",
88
"magento/module-store": "101.0.4",

etc/module.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<!--suppress XmlUnboundNsPrefix -->
3838
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3939
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
40-
<module name="Nosto_Cmp" setup_version="3.1.0-rc6">
40+
<module name="Nosto_Cmp" setup_version="3.1.0-rc7">
4141
<sequence>
4242
<module name="Nosto_Tagging"/>
4343
</sequence>

view/frontend/layout/default.xml

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<referenceContainer name="content">
1010
<block ifconfig="nosto_cmp/flags/category_sorting" class="Nosto\Cmp\Block\CategoryMapping"
1111
name="nosto.catalog.mapping"
12-
template="Nosto_Cmp::category_mapping.phtml" />
12+
template="Nosto_Cmp::category_mapping.phtml">
13+
<arguments>
14+
<argument name="cache_lifetime" xsi:type="number">86400</argument>
15+
</arguments>
16+
</block>
1317
</referenceContainer>
1418
</page>

0 commit comments

Comments
 (0)