Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 4b5f371

Browse files
committed
Merge branch 'master' into 2.4.1-develop
2 parents 47574a1 + ba6a755 commit 4b5f371

35 files changed

+491
-141
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ If you write and contribute a full topic, we will add your name (or your company
2424
1. [Fork](https://help.github.com/articles/fork-a-repo/) the [DevDocs repository](https://github.com/magento/devdocs). Remember to [sync your fork](https://help.github.com/articles/syncing-a-fork/) and update branches as needed.
2525
1. Review the [DevDocs guidelines](#contribution-guidelines).
2626

27+
**Note:** If you use a fork instead of a branch, please set permissions to allow maintainers to edit and update the PR. See [Allowing changes to a pull request branch created from a fork](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork) in the _GitHub documentation_.
28+
2729
## Contribute documentation
2830

2931
The following diagram shows the contribution workflow:

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ GEM
9696
jekyll-watch (2.2.1)
9797
listen (~> 3.0)
9898
json (2.3.0)
99-
kramdown (2.2.1)
99+
kramdown (2.3.0)
100100
rexml
101101
kramdown-parser-gfm (1.1.0)
102102
kramdown (~> 2.0)
@@ -153,7 +153,7 @@ GEM
153153
unicode-display_width (1.7.0)
154154
verbal_expressions (0.1.5)
155155
wdm (0.1.1)
156-
whatsup_github (0.3.0)
156+
whatsup_github (0.3.1)
157157
netrc (~> 0.10)
158158
octokit (~> 4.14)
159159
thor (~> 0.20)

src/_data/mde.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ extensions:
211211
name: Product Recommendations
212212
versions:
213213
-
214-
name: 3.0.4
214+
name: 3.0.4+
215215
support:
216216
2.3.0: supported
217217
2.3.1: supported
@@ -240,3 +240,13 @@ extensions:
240240
2.3.4: supported
241241
2.3.5-p1: supported
242242
2.4.0: not supported
243+
-
244+
name: 1.x.x
245+
support:
246+
2.3.0: not supported
247+
2.3.1: not supported
248+
2.3.2: not supported
249+
2.3.3: not supported
250+
2.3.4: not supported
251+
2.3.5-p1: not supported
252+
2.4.0: not supported

src/_data/toc/b2b-developer-guide.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,5 @@ pages:
7171

7272
- label: Develop B2B extensions
7373
url: /b2b/extensions.html
74+
- label: B2B Release Notes
75+
url: /release-notes/b2b-release-notes.html

src/_data/toc/ui-components-guide.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,12 @@ pages:
279279
- label: Update the page URL type
280280
url: /ui_comp_guide/howto/update-url-type.html
281281

282+
- label: Render prices on the frontend
283+
url: /ui_comp_guide/howto/price_rendering.html
284+
285+
- label: Declare a custom UI component
286+
url: /ui_comp_guide/howto/new_component_declaration.html
287+
282288
- label: Troubleshoot
283289
children:
284290

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
You can use the following instructions for service setup on {{site.data.var.ece}} Pro Integration environments and Starter environments, including `master` branch. You must submit a support ticket to configure the service on Pro Production and Staging environments. See [Services]({{ site.baseurl }}/cloud/project/project-conf-files_services.html).
1+
Use the following instructions for service setup on {{site.data.var.ece}} Pro Integration environments and Starter environments, including the `master` branch.
2+
3+
{:.bs-callout-info}
4+
You must submit a support ticket to change the service configuration on Pro Production and Staging environments. See [Services]({{ site.baseurl }}/cloud/project/project-conf-files_services.html).
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{:.bs-callout-tip}
2+
After initial service setup, you can change the software version for an installed service by updating the `services.yaml` and `.magento.app.yaml` configuration files. See [Change service version]({{site.baseurl}}/cloud/project/project-conf-files_services.html#change-service-version).

src/cloud/env/variables-build.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,12 @@ stage:
207207
- **Default**—_Not set_
208208
- **Version**—Magento 2.1.4 and later
209209

210-
Enables or disables the [Symfony](https://symfony.com/doc/current/console/verbosity.html) debug verbosity level for your logs. Choose the level of detail provided in the logs: `-v`, `-vv`, or `-vvv`.
210+
Enable or disable the [Symfony](https://symfony.com/doc/current/console/verbosity.html) debug verbosity level for `bin/magento` CLI commands performed during the deployment phase.
211+
212+
{:.bs-callout}
213+
To use VERBOSE_COMMANDS to control the detail in command output for both successful and failed `bin/magento` CLI commands, you must set [MIN_LOGGING_LEVEL]({{ site.baseurl }}/cloud/env/variables-global.html#min_logging_level) `debug`.
214+
215+
Choose the level of detail provided in the logs: `-v`, `-vv`, or `-vvv`.
211216

212217
```yaml
213218
stage:

src/cloud/env/variables-deploy.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,12 @@ stage:
643643
- **Default**—_Not set_
644644
- **Version**—Magento 2.1.4 and later
645645

646-
Enables or disables the [Symfony](https://symfony.com/doc/current/console/verbosity.html) debug verbosity level for your logs. Choose the level of detail provided in the logs: `-v`, `-vv`, or `-vvv`.
646+
Enable or disable the [Symfony](https://symfony.com/doc/current/console/verbosity.html) debug verbosity level for `bin/magento` CLI commands performed during the deployment phase.
647+
648+
{:.bs-callout}
649+
To use the VERBOSE_COMMANDS setting to control the detail in command output for both successful and failed `bin/magento` CLI commands, you must set [MIN_LOGGING_LEVEL]({{ site.baseurl }}/cloud/env/variables-global.html#min_logging_level) `debug`.
650+
651+
Choose the level of detail provided in the logs: `-v`, `-vv`, or `-vvv`.
647652

648653
```yaml
649654
stage:

src/cloud/project/project-conf-files_services-elastic.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ To enable Elasticsearch:
6262
bin/magento cache:clean
6363
```
6464

65+
{%include cloud/tip-change-installed-service-version.md%}
66+
6567
## Elasticsearch software compatibility
6668

6769
When you install or upgrade your {{ site.data.var.ece }} project, always check for compatibility between the Elasticsearch service version and the [Elasticsearch PHP](https://github.com/elastic/elasticsearch-php) client for {{ site.data.var.ee }}.

src/cloud/project/project-conf-files_services-mysql.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ MariaDB 10.1 is the last version that support XtraDB as the storage engine. Vers
2424
disk: 2048
2525
```
2626
27+
{:.bs-callout-tip}
28+
MySQL errors, such as `PDO Exception: MySQL server has gone away`, can occur as a result of insufficient disk space. Verify that you have allocated sufficient disk space to the service in the [`.magento/services.yaml`]({{ site.baseurl }}/cloud/project/project-conf-files_magento-app.html#disk) file.
29+
2730
1. Configure the relationships in the `.magento.app.yaml` file.
2831

2932
```yaml
@@ -39,8 +42,7 @@ MariaDB 10.1 is the last version that support XtraDB as the storage engine. Vers
3942

4043
1. [Verify the service relationships]({{ site.baseurl }}/cloud/project/project-conf-files_services.html#service-relationships).
4144

42-
{:.bs-callout-tip}
43-
MySQL errors such as `PDO Exception: MySQL server has gone away` may be a result of exhausting existing disk space. Verify that you have allocated sufficient disk space to the service in the [`.magento/services.yaml`]({{ site.baseurl }}/cloud/project/project-conf-files_magento-app.html#disk) file.
45+
{%include cloud/tip-change-installed-service-version.md%}
4446

4547
## Set up multiple database users
4648

@@ -134,7 +136,7 @@ Accessing the MariaDB database directly requires you to use a SSH to log in to t
134136
"query" : {
135137
"is_master" : true
136138
},
137-
"type" : "mysql:10.0",
139+
"type" : "mysql:10.3",
138140
"username" : "user",
139141
"scheme" : "mysql"
140142
}

src/cloud/project/project-conf-files_services-rabbit.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,22 @@ To enable RabbitMQ:
3636
1. Add, commit, and push your code changes.
3737

3838
```bash
39-
git add -A && git commit -m "Enable RabbitMQ service" && git push origin <branch-name>
39+
git add -A
40+
```
41+
42+
```bash
43+
git commit -m "Enable RabbitMQ service"
44+
```
45+
46+
```bash
47+
git push origin <branch-name>
4048
```
4149

4250
1. [Verify the service relationships]({{ site.baseurl }}/cloud/project/project-conf-files_services.html#service-relationships).
4351

4452
For information on how these changes affect your environments, see [`services.yaml`]({{ site.baseurl }}/cloud/project/project-conf-files_services.html).
4553

46-
[Supported service versions]({{ site.baseurl }}/cloud/project/project-conf-files_services.html#service-versions)
54+
{% include cloud/tip-change-installed-service-version.md %}
4755

4856
## Connect to RabbitMQ for debugging {#connect}
4957

src/cloud/project/project-conf-files_services-redis.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ To enable Redis:
1717

1818
1. Add the required name and type to the `.magento/services.yaml` file.
1919

20-
```yaml
21-
myredis:
22-
type: redis:<version>
23-
```
20+
```yaml
21+
myredis:
22+
type: redis:<version>
23+
```
2424
25-
To provide your own Redis configuration, add a `core_config` key in your `.magento/services.yaml` file:
25+
To provide your own Redis configuration, add a `core_config` key in your `.magento/services.yaml` file:
2626

27-
```yaml
28-
cache:
29-
type: redis:<version>
30-
```
27+
```yaml
28+
cache:
29+
type: redis:<version>
30+
```
3131

3232
1. Configure the relationships in the `.magento.app.yaml` file.
3333

@@ -48,6 +48,8 @@ To enable Redis:
4848

4949
1. [Verify the service relationships]({{ site.baseurl }}/cloud/project/project-conf-files_services.html#service-relationships).
5050

51+
{%include cloud/tip-change-installed-service-version.md%}
52+
5153
## Using the Redis CLI
5254

5355
Assuming your Redis relationship is named `redis`, you can access it using the `redis-cli` tool.

src/guides/v2.3/config-guide/multi-site/ms_websites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Creating a root category is optional, but we show how to do it in this tutorial
2424
{% collapsible To create a root category: %}
2525

2626
1. Log in to the Magento Admin as a user authorized to create categories.
27-
1. Click **Products** > **Categories**.
27+
1. Click **Catalog** > **Categories**.
2828
1. Click **Add Root Category**.
2929
1. In the **Category Name** field, enter a unique name to identify this category.
3030
1. Make sure **Enable Category** is set to **Yes**.

src/guides/v2.3/extension-dev-guide/build/composer-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Here is the example of composer.json file.
3535
"AFL-3.0"
3636
],
3737
"require": {
38-
"php": "~7.1.3||~7.2.0||~7.3.0"
38+
"php": "~7.2.0||~7.3.0"
3939
},
4040
"autoload": {
4141
"files": [ "registration.php" ],

src/guides/v2.3/extension-dev-guide/build/create_component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Refer to [Module version dependencies]({{ page.baseurl }}/extension-dev-guide/ve
5151
"name": "your-name/module-Acme",
5252
"description": "Test component for Magento 2",
5353
"require": {
54-
"php": "~7.1.3||~7.2.0",
54+
"php": "~7.2.0||~7.3.0",
5555
"magento/module-store": "102.1",
5656
"magento/module-catalog": "102.1",
5757
"magento/module-catalog-inventory": "102.1",

src/guides/v2.3/extension-dev-guide/package/package_module.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ The following example is a `composer.json` for a metapackage:
4949
"version": "2.0.0",
5050
"type": "metapackage",
5151
"require": {
52-
"php": "~7.1.3|~7.2.0",
52+
"php": "~7.2.0||~7.3.0",
5353
"zendframework/zend-stdlib": "~2.4.6",
5454
"zendframework/zend-code": "~2.4.6",
5555
"zendframework/zend-server": "~2.4.6",
@@ -99,7 +99,7 @@ The following example is a `composer.json` file for a module:
9999
"AFL-3.0"
100100
],
101101
"require": {
102-
"php": "~7.1.3|~7.2.0",
102+
"php": "~7.2.0||~7.3.0",
103103
"magento/framework": "~100.0.4"
104104
},
105105
"autoload": {

src/guides/v2.3/frontend-dev-guide/layouts/xml-manage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ Extending layout:
456456
In layout files you can change the elements order on a page. This can be done using one of the following:
457457

458458
- [`<move>` instruction]({{page.baseurl}}/frontend-dev-guide/layouts/xml-instructions.html#fedg_layout_xml-instruc_ex_mv): allows changing elements' order and parent.
459-
- [`before` and `after` attributes of `<block>`]({{page.baseurl}}/frontend-dev-guide/layouts/xml-instructions.html#fedg_xml-instrux_before-after): allows changing elements' order within one parent.
459+
- [`before` and `after` attributes of `<block>`]({{page.baseurl}}/frontend-dev-guide/layouts/xml-instructions.html#fedg_xml-instrux_before-after): sets the order of elements within a parent.
460460

461461
**Example of `<move>` usage:**
462462
put the stock availability and SKU blocks next to the product price on a product page.

src/guides/v2.3/frontend-dev-guide/translations/translate_theory.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ To ensure that your new string is added to the dictionary and translated, use th
1818
For example:
1919

2020
```php
21-
<?php echo __('Create Backup') ?>
21+
<?= __('Create Backup') ?>
2222
```
2323

2424
If your string contains a variable, to add a placeholder for this variable in the dictionary, use syntax similar to the following:
2525

2626
```php
27-
<?php echo __('Hello %1', $yourVariable) ?>
27+
<?= __('Hello %1', $yourVariable) ?>
2828
```
2929

3030
In this example, the _'Hello %1'_ string is added to the dictionary when the i18n tool is run.

src/guides/v2.3/graphql/caching.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ title: GraphQL caching
55

66
Magento can cache pages rendered from the results of certain GraphQL queries with [full-page caching]({{page.baseurl}}/extension-dev-guide/cache/page-caching.html). Full-page caching improves response time and reduces the load on the server. Without caching, each page might need to run blocks of code and retrieve large amounts of information from the database. Only queries submitted with an HTTP GET operation can be cached. POST queries cannot be cached.
77

8-
## Cached queries
8+
## Cached and uncached queries
99

1010
The definitions for some queries include cache tags. Full page caching uses these tags to keep track of cached content. They also allow public content to be invalidated. Private content invalidation is handled on the client side.
1111

12+
{:.bs-callout-info}
13+
GraphQL allows you to make multiple queries in a single call. If you specify any query that Magento does not cache, Magento bypasses the cache for all queries in the call.
14+
1215
Magento caches the following queries:
1316

1417
* `category` (deprecated)

src/guides/v2.3/graphql/develop/extend-existing-schema.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,35 @@ class ProductAttributeSetNameResolver implements ResolverInterface
9898
}
9999
```
100100

101+
## Extend configuration data
102+
103+
You can add your own configuration to the `storeConfig` query within your own module.
104+
105+
To do this, configure the constructor argument `extendedConfigData` in the `argument` node in your area-specific `etc/graphql/di.xml` file.
106+
107+
The following example adds an array-item to the `extendedConfigData` array within the construct of the `StoreConfigDataProvider`.
108+
109+
```xml
110+
<?xml version="1.0" ?>
111+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
112+
<type name="Magento\StoreGraphQl\Model\Resolver\Store\StoreConfigDataProvider">
113+
<arguments xsi:type="array">
114+
<argument name="extendedConfigData">
115+
<item name="section_group_field" xsi:type="string">section/group/field</item>
116+
</argument>
117+
</arguments>
118+
</type>
119+
</config>
120+
```
121+
122+
You must also extend the type `storeConfig` within in the `etc/schema.graphqls` file, as shown below:
123+
124+
```graphql
125+
type StoreConfig {
126+
section_group_field : String @doc(description: "Extended Config Data - section/group/field")
127+
}
128+
```
129+
101130
## Related topics
102131

103132
- [Define the GraphQL schema for a module]({{ page.baseurl }}/graphql/develop/create-graphqls-file.html)

src/guides/v2.3/graphql/queries/store-config.md

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -306,32 +306,3 @@ EXCLUDE_FPT_WITHOUT_DETAILS | The displayed price does not include the FPT amoun
306306
FPT_DISABLED | The FPT feature is not enabled. You can omit `ProductPrice.fixed_product_taxes` from your query
307307
INCLUDE_FPT_WITH_DETAILS | The displayed price includes the FPT amount while displaying the values of `ProductPrice.fixed_product_taxes` separately. This value corresponds to **Including FPT and FPT description**
308308
INCLUDE_FPT_WITHOUT_DETAILS | The displayed price includes the FPT amount without displaying the `ProductPrice.fixed_product_taxes` values. This value corresponds to **Including FPT only**
309-
310-
## Extend configuration data
311-
312-
You can add your own configuration to the `storeConfig` query within your own module.
313-
314-
To do this, configure the constructor argument `extendedConfigData` in the `argument` node in your area-specific `etc/graphql/di.xml` file.
315-
316-
The following example adds an array-item to the `extendedConfigData` array within the construct of the `StoreConfigDataProvider`.
317-
318-
```xml
319-
<?xml version="1.0" ?>
320-
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
321-
<type name="Magento\StoreGraphQl\Model\Resolver\Store\StoreConfigDataProvider">
322-
<arguments xsi:type="array">
323-
<argument name="extendedConfigData">
324-
<item name="section_group_field" xsi:type="string">section/group/field</item>
325-
</argument>
326-
</arguments>
327-
</type>
328-
</config>
329-
```
330-
331-
You must also extend the type `storeConfig` within in the `etc/schema.graphqls` file, as shown below:
332-
333-
```graphql
334-
type StoreConfig {
335-
section_group_field : String @doc(description: "Extended Config Data - section/group/field")
336-
}
337-
```

src/guides/v2.3/howdoi/checkout/checkout-add-custom-carrier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ComponentRegistrar::register(
4747
"name": "vendor/custom-shipping",
4848
"description": "Custom shipping module",
4949
"require": {
50-
"php": "~7.1.3||~7.2.0",
50+
"php": "~7.2.0||~7.3.0",
5151
"magento/framework": "102.0.*",
5252
"magento/module-backend": "101.0.*",
5353
"magento/module-catalog": "103.0.*",

src/guides/v2.3/test/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,4 +256,4 @@ MFTF tests are kept within its respective Module folder:
256256
[System Administrators Guide on Running Tests]: {{ page.baseurl }}/config-guide/cli/config-cli-subcommands-test.html
257257
[ported over]: https://github.com/magento/magento-functional-tests-migration
258258
[PHPStan]: https://github.com/phpstan/phpstan
259-
[level 0]: https://github.com/phpstan/phpstan#rule-levels
259+
[level 0]: https://phpstan.org/user-guide/rule-levels

src/guides/v2.3/ui_comp_guide/components/ui-exportbutton.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ group: ui-components-guide
33
title: ExportButton component
44
---
55

6-
The ExportButton component implements the ability to export grid data to the specified data format (cvs, xml, and so on).
6+
The ExportButton component implements the ability to export grid data to the specified data format (csv, xml, and so on).
77

88
## Configuration options
99

0 commit comments

Comments
 (0)