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

Commit e41547c

Browse files
authored
Merge branch '2.4.1-develop' into kh_rewards-mutations
2 parents 915d17e + 4b5f371 commit e41547c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+803
-153
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/graphql.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,10 @@ pages:
328328
- label: PayPal Payflow Pro
329329
url: /graphql/payment-methods/payflow-pro.html
330330

331+
- label: PayPal Payflow Pro Vault
332+
url: /graphql/payment-methods/payflow-pro-vault.html
333+
exclude_versions: ["2.3"]
334+
331335
- label: PayPal Payments Advanced
332336
url: /graphql/payment-methods/payments-advanced.html
333337

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/_includes/graphql/customer-orders-output.md

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,23 @@ Attribute | Data type | Description
6363

6464
The deprecated attributes were previously defined in the `CustomerOrder` object in the `customerOrders` query, but have been deprecated for the `customer` query.
6565

66-
#### BundleInvoiceItem {#BundleInvoiceItem}
66+
#### BundleCreditMemoItem attributes {#BundleCreditMemoItem}
67+
68+
The `BundleCreditMemoItem` object implements the [`CreditMemoInterface`](#CreditMemoInterface). It also defines the following attribute:
69+
70+
Attribute | Data type | Description
71+
--- | --- | ---
72+
`bundle_options` | [[ItemSelectedBundleOption]](#ItemSelectedBundleOption) | A list of bundle options that are assigned to the bundle product
73+
74+
#### BundleInvoiceItem attributes {#BundleInvoiceItem}
6775

6876
The `BundleInvoiceItem` object implements the [`InvoiceItemInterface`](#InvoiceItemInterface). It also defines the following attribute:
6977

7078
Attribute | Data type | Description
7179
--- | --- | ---
7280
`bundle_options` | [[ItemSelectedBundleOption]](#ItemSelectedBundleOption) | A list of bundle options that are assigned to the bundle product
7381

74-
#### BundleOrderItem {#BundleOrderItem}
82+
#### BundleOrderItem attributes {#BundleOrderItem}
7583

7684
The `BundleOrderItem` object implements the [`OrderItemInterface`](#OrderItemInterface). It also defines the following attribute:
7785

@@ -108,31 +116,37 @@ Attribute | Data type | Description
108116
`number` | String! | The sequential credit memo number
109117
`total` | [CreditMemoTotal](#CreditMemoTotal) | Contains details about the total refunded amount
110118

111-
#### CreditMemoItem attributes {#CreditMemoItem}
119+
#### CreditMemoInterface attributes {#CreditMemoInterface}
112120

113-
The `CreditMemoItem` object describes a specific credit memo.
121+
The `CreditMemoItemInterface` describes a specific credit memo.
114122

115123
Attribute | Data type | Description
116124
--- | --- | ---
117-
`discounts` | [Discount] | The final discount information for the base product, including discounts on options
118125
`id` | ID! | The unique ID of the credit memo item
119-
`order_item` | [OrderItemInterface](#OrderItemInterface) | Contains details about a refunded order item
126+
`order_item` | [OrderItemInterface](#OrderItemInterface) | The order item the credit memo is applied to
120127
`product_name` | String | The name of the base product
121128
`product_sale_price` | Money! | The sale price for the base product, including selected options
122129
`product_sku` | String! | The SKU of the base product
123-
`quantity_invoiced` | Float | The number of invoiced items
130+
`quantity_refunded` | Float | The number of refunded items
131+
132+
#### CreditMemoItem attributes {#CreditMemoItem}
133+
134+
The `CreditMemoItem` object implements the [`CreditMemoInterface`](#CreditMemoInterface).
124135

125136
#### CreditMemoTotal attributes {#CreditMemoTotal}
126137

127-
The CreditMemoTotal object contains details about the totals of a credit memo.
138+
The `CreditMemoTotal` object contains details about the totals of a credit memo.
128139

129140
Attribute | Data type | Description
130141
--- | --- | ---
142+
`adjustment` | Money! | An adjustment manually applied to the order
131143
`base_grand_total` | Money! | The final base grand total amount in the base currency
132144
`discounts` | [Discount] | The applied discounts to the order
133145
`grand_total` | Money! | The final total amount, including shipping, discounts, and taxes
146+
`shipping_handling` | [ShippingHandling](#ShippingHandling) | Contains details about the shipping and handling costs for the credit memo
134147
`subtotal` | Money! | The subtotal of the order, excluding shipping, discounts, and taxes
135148
`taxes` | [[TaxItem](#TaxItem)]! | An array containing information about taxes on individual orders
149+
`total_shipping` | Money! | The shipping amount for the credit memo
136150
`total_tax` | Money! | The amount of tax applied to all orders
137151

138152
#### Discount attributes {#Discount}
@@ -412,6 +426,14 @@ Attribute | Data type | Description
412426
`number` | String | The tracking number of the order shipment
413427
`title` | String! | The shipment tracking title
414428

429+
#### ShippingDiscount attributes {#ShippingDiscount}
430+
431+
The ShippingDiscount object defines an individual discount that can be applied to shipping.
432+
433+
Attribute | Data type | Description
434+
--- | --- | ---
435+
`amount` | Money! | The amount of the discount
436+
415437
#### ShippingHandling attributes {#ShippingHandling}
416438

417439
The `ShippingHandling` object provides details about shipping and handling charges.
@@ -420,7 +442,7 @@ Attribute | Data type | Description
420442
--- | --- | ---
421443
`amount_excluding_tax` | Money | The shipping amount, excluding tax
422444
`amount_including_tax` | Money | The shipping amount, including tax
423-
`discounts` | [Discount] | The applied discounts to the shipping
445+
`discounts` | [ShippingDiscount] | The applied discounts to the shipping
424446
`taxes` | [[TaxItem](#TaxItem)] | Contains details about taxes applied for shipping
425447
`total_amount`| Money! | The total amount for shipping
426448

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/common/images/graphql/paypal-payflow-pro-vault.svg

Lines changed: 3 additions & 0 deletions
Loading

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)

0 commit comments

Comments
 (0)