Skip to content

Commit cabc9f6

Browse files
committed
Merge branch 'master' into GITHUB_MCLOUD_DOCKER-155
2 parents 849202c + 32683a8 commit cabc9f6

File tree

56 files changed

+1003
-449
lines changed

Some content is hidden

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

56 files changed

+1003
-449
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at DL-Magento-Doc-Feedback@magento.com. All
58+
reported by contacting the project team in [Slack](https://magentocommeng.slack.com/messages/CAN932A3H). All
5959
complaints will be reviewed and investigated and will result in a response that
6060
is deemed necessary and appropriate to the circumstances. The project team is
6161
obligated to maintain confidentiality with regard to the reporter of an incident.

.github/CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,5 @@ Have a question? Need help? Magento DevDocs, Maintainers, and other Contributors
151151

152152
- [Slack](https://magentocommeng.slack.com/messages/CAN932A3H) ([Join us](http://tinyurl.com/engcom-slack))
153153
- [Twitter @MagentoDevDocs](https://twitter.com/MagentoDevDocs)
154-
- [E-mail](mailto:[email protected])
155154

156155
Thank you for contributing your brilliance to Magento DevDocs!!

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,4 +169,3 @@ If you have questions, open an issue and ask us. We're looking forward to hearin
169169
170170
- [Visit our wiki](https://github.com/magento/devdocs/wiki)
171171
- <a href="https://twitter.com/MagentoDevDocs" class="twitter-follow-button" data-show-count="false">Follow @MagentoDevDocs</a>
172-
- [E-mail us](mailto:[email protected])

rakelib/build.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace :build do
1616
end
1717

1818
desc 'Build the site for staging'
19-
task :stage do
19+
task stage: %w[init] do
2020
print 'Building the site for staging: $ '.magenta
2121
sh 'bin/jekyll',
2222
'build',

src/_data/mde.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ extensions:
249249
2.3.3: compatible
250250
2.3.4: compatible
251251
2.3.5-p1: compatible
252-
2.4.0: compatible
252+
2.4.0: not supported
253253

254254
-
255255
name: 3.0.2
@@ -260,7 +260,7 @@ extensions:
260260
2.3.3: compatible
261261
2.3.4: compatible
262262
2.3.5-p1: compatible
263-
2.4.0: compatible
263+
2.4.0: not supported
264264
-
265265
name: 3.0.1
266266
support:
@@ -270,7 +270,7 @@ extensions:
270270
2.3.3: compatible
271271
2.3.4: compatible
272272
2.3.5-p1: compatible
273-
2.4.0: compatible
273+
2.4.0: not supported
274274
-
275275
name: 3.0.0
276276
support:

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,12 @@ pages:
284284
- label: Check the Magento version
285285
url: /extension-dev-guide/versioning/check-version.html
286286

287+
- label: Codebase changes
288+
url: /extension-dev-guide/versioning/codebase-changes.html
289+
287290
- label: Module version dependencies
288291
url: /extension-dev-guide/versioning/dependencies.html
289292

290-
- label: Codebase changes
291-
url: /extension-dev-guide/versioning/codebase-changes.html
293+
- label: MFTF test versioning and backward compatibility policy
294+
url: /extension-dev-guide/versioning/mftf-tests-codebase-changes.html
295+
exclude_versions: ["2.3"]

src/_data/toc/rest-api.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ pages:
4040
children:
4141

4242
- label: Admin REST endpoints
43-
url: https://magento.redoc.ly/2.4-admin/
43+
url: https://magento.redoc.ly/2.4.0-admin/
4444
include_versions: ["2.4"]
4545

4646
- label: Customer REST endpoints
47-
url: https://magento.redoc.ly/2.4-customer/
47+
url: https://magento.redoc.ly/2.4.0-customer/
4848
include_versions: ["2.4"]
4949

5050
- label: Guest REST endpoints
51-
url: https://magento.redoc.ly/2.4-guest/
51+
url: https://magento.redoc.ly/2.4.0-guest/
5252
include_versions: ["2.4"]
5353

5454
- label: Generate a local API reference

src/_data/whats-new.yml

Lines changed: 65 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,72 @@
11
title: Whats New on Devdocs
2-
description:
2+
description:
33
This page contains recent changes that we think you'd like to know about.
44
We exclude from this list proofreading, spelling checks, and all minor updates.
55
link: /whats-new.html
66
thread: /whatsnew-feed.xml
7-
updated: Mon Sep 14 12:24:21 2020
7+
updated: Wed Sep 30 17:41:53 2020
88
entries:
9+
- description: Added a [warning](https://devdocs.magento.com/cloud/env/variables-deploy.html#redis_use_slave_connection)
10+
about enabling the `REDIS_USE_SLAVE_CONNECTION` deploy variable for Cloud projects
11+
that use split architecture.
12+
versions: 2.x
13+
type: Technical
14+
date: September 30, 2020
15+
link: https://github.com/magento/devdocs/pull/7964
16+
contributor: jeff-matthews
17+
profile: https://github.com/jeff-matthews
18+
- description: Added the Import section to the [Contribution Guide](https://devdocs.magento.com/contributor-guide/contributing.html#import).
19+
versions: 2.x
20+
type: Major Update
21+
date: September 24, 2020
22+
link: https://github.com/magento/devdocs/pull/7886
23+
contributor: sidolov
24+
profile: https://github.com/sidolov
25+
- description: Added an optional step to show how to add default values in the [Creating
26+
a dynamic row system config](https://devdocs.magento.com/guides/v2.4/ext-best-practices/tutorials/dynamic-row-system-config.html)
27+
tutorial topic in the _Extension Best Practices_ guide.
28+
versions: 2.3.x, 2.4.x
29+
type: Major Update
30+
date: September 23, 2020
31+
link: https://github.com/magento/devdocs/pull/7918
32+
contributor: BarnyShergold
33+
profile: https://github.com/BarnyShergold
34+
- description: Published [release notes](https://devdocs.magento.com/quality-patches/release-notes.html)
35+
for the 1.0.5 Magento Quality Patch (MQP) package release.
36+
versions: 2.x
37+
type: Major Update
38+
date: September 22, 2020
39+
link: https://github.com/magento/devdocs/pull/7913
40+
contributor: Rykh
41+
profile: https://github.com/Rykh
42+
- description: Added a new Magento [Lifecycle policy](https://devdocs.magento.com/release/lifecycle-policy.html)
43+
topic.
44+
versions: 2.x
45+
type: New Topic
46+
date: September 22, 2020
47+
link: https://github.com/magento/devdocs/pull/7904
48+
contributor: jeff-matthews
49+
profile: https://github.com/jeff-matthews
50+
- description: Updated Fastly set up and Site launch documentation in the Cloud Guide
51+
to reflect change from shared certificates for Fastly for each project to have
52+
a unique Domain-Validated SSL/TLS certificate issued by Let's Encrypt. Also, updated
53+
DNS configuration instructions for adding domains, CNAME, and A records.<br/><br/>Moved
54+
documentation for Fastly cache customization options to a new Custom cache configuration
55+
topic. Added instructions for managing domains and enabling maintenance mode using
56+
the Fastly CDN module for Magento 2. See Custom cache configuration.
57+
versions: 2.x
58+
type: Major Update
59+
date: September 17, 2020
60+
link: https://github.com/magento/devdocs/pull/7885
61+
contributor: meker12
62+
profile: https://github.com/meker12
63+
- description: Described how to disable [GraphQL introspection queries](https://devdocs.magento.com/guides/v2.3/graphql/queries/index.html#introspection-queries).
64+
versions: 2.3.x, 2.4.x
65+
type: Major Update
66+
date: September 15, 2020
67+
link: https://github.com/magento/devdocs/pull/7863
68+
contributor: thiaramus
69+
profile: https://github.com/thiaramus
970
- description: Added the [Simple product data types](https://devdocs.magento.com/guides/v2.4/graphql/interfaces/simple-product.html)
1071
topic to the _GraphQL Developer Guide_.
1172
versions: 2.3.x, 2.4.x
@@ -2123,7 +2184,7 @@ entries:
21232184
type: Major update
21242185
date: October 1, 2019
21252186
link: https://github.com/magento/devdocs/pull/5422
2126-
- description: Added the "Disabling an Observer" section to the [Events and Observers](https://devdocs.magento.com/guides/v2.3/extension-dev-guide/events-and-observers.html)
2187+
- description: Added the "Disabling an Observer" section to the [Events and Observers](https://devdocs.magento.com/guides/v2.3/extension-dev-guide/events-and-observers.html)
21272188
topic in the _PHP Developer Guide_.
21282189
versions: 2.2.x, 2.3.x
21292190
type: Major update
@@ -6281,4 +6342,4 @@ entries:
62816342
versions: 2.x
62826343
type: New
62836344
date: Oct 7 2016
6284-
6345+

src/_includes/config/setup-cron_2.4_how-to.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,10 @@ A sample follows:
3535
#~ MAGENTO END c5f9e5ed71cceaabc4d4fd9b3e827a2b
3636
```
3737

38-
{:.bs-callout-info}
39-
The `update/cron.php` file exists in [Composer](https://glossary.magento.com/composer)- and [archive-based](https://magento.com/tech-resources/download) Magento installations. It does not exist if you installed Magento by cloning the [Magento 2 git repository](https://github.com/magento/magento2/).
38+
{%
39+
include note.html
40+
type='info'
41+
content='The `update/cron.php` file has been removed in Magento 2.4.0, if this file exists on your installation, it can be safely removed.
42+
43+
Any reference to `update/cron.php` and `bin/magento setup:cron:run` should also be removed from the crontab'
44+
%}

src/_includes/install/php-extensions-template.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@
66
* {{ item[0] }}
77
{% endif %}
88
{% endfor %}
9+
{% unless page.guide_version == '2.3' %}
10+
11+
* ext-sockets
12+
13+
{% endunless %}

src/_includes/layout/footer-scripts.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
})();
2626
</script>
2727

28-
<script type="text/javascript">_satellite.pageBottom();</script>
29-
3028
{% endif %}
3129

3230
<script type="text/javascript" src="{{ site.baseurl }}/common/js/glossary-link-enhancer.js"></script>

src/cloud/cdn/cloud-fastly.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Fastly provides the following services to optimize and secure content delivery o
3535

3636
- **SSL/TLS certificates**–The Fastly service requires an SSL/TLS certificate to serve secure traffic over HTTPS. Magento provides a Domain-validated Let's Encrypt SSL/TLS certificate for each Staging and Production environment. Magento completes domain validation and certificate provisioning during the Fastly set up process. See [TLS and Fastly].
3737

38-
- **Origin cloaking**–Magento can enable Origin Cloaking for all Magento Commerce projects hosted on the Cloud platform. This option hides the IP addresses of your origin servers to protect them from direct attack. When this feature is enabled, all traffic to your Cloud infrastructure must route through the Fastly CDN or another secure channel. Any traffic sent directly to the Origin servers is blocked. If you have traffic that does not require caching, you can customize the Fastly service configuration to allow requests to [bypass the Fastly cache].
38+
- **Origin cloaking**–Magento can enable Origin Cloaking for all Magento Commerce projects hosted on the Cloud platform. This option hides the IP addresses of your origin servers to protect them from direct access. When this feature is enabled, all traffic to your Cloud infrastructure must route through the Fastly CDN or another secure channel. Any traffic sent directly to the Origin servers is blocked. If you have traffic that does not require caching, you can customize the Fastly service configuration to allow requests to [bypass the Fastly cache].
3939

4040
- **Image optimization**—Offloads image processing and resizing load to the Fastly service freeing servers to process orders and conversions efficiently. See [Fastly image optimization].
4141

src/cloud/cdn/configure-fastly-customize-cache.md

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -129,29 +129,9 @@ To review the back end setting configuration:
129129

130130
![Modify the back end]({{ site.baseurl }}/common/images/cloud/cloud_fastly-backend.png){:width="600px"}
131131

132-
1. Select the **Shield** location (or datacenter) closest to your Cloud service region.
133-
134-
For example, if your project is hosted on AWS, then the Staging is on the west coast of the United States (`us-west-1`); therefore, you would select the `sjc-ca-us` Fastly shield location. This is the POP that provides caching services.
135-
136-
The following list shows which Fastly shield locations to use based on AWS regions:
137-
138-
- ap-east-1 => hongkong-hk
139-
- ap-northeast-1 => tyo-tokyo-jp, hnd-tokyo-jp
140-
- ap-northeast-2 => tyo-tokyo-jp, hnd-tokyo-jp
141-
- ap-southeast-1 => singapore-sg
142-
- ap-southeast-2 => sydney-au
143-
- ap-south-1 => singapore-sg
144-
- ca-central-1 => yul-montreal-ca, iad-va-us, dca-dc-us, bwi-va-us
145-
- eu-central-1 => frankfurt-de, hhn-frankfurt-de
146-
- eu-north-1 => stockholm-bma
147-
- eu-west-1 => london-uk, london_city-uk
148-
- eu-west-2 => london-uk, london_city-uk
149-
- eu-west-3 => cdg-par-fr
150-
- sa-east-1 => gru-br-sa
151-
- us-east-1 => iad-va-us, dca-dc-us, bwi-va-us
152-
- us-east-2 => iad-va-us, dca-dc-us, bwi-va-us
153-
- us-west-1 => sjc-ca-us, pao-ca-us
154-
- us-west-2 => sea-wa-us
132+
1. Select the **Shield** location (or datacenter).
133+
134+
The default Fastly configuration for your project sets the location closest to your Cloud service region. If you need to change it, select a location close to the default location.
155135

156136
1. Modify the timeout values (in microseconds) for the connection to the shield, time between bytes, and time for the first byte. We recommend keeping the default timeout settings.
157137

src/cloud/env/variables-deploy.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,9 @@ If you specify `\Magento\Framework\Cache\Backend\RemoteSynchronizedCache` as the
408408
- **Default**—`false`
409409
- **Version**—Magento 2.1.16 and later
410410

411+
{:.bs-callout-warning}
412+
Do not enable this variable on scaled architecture (split architecture) projects. It causes Redis connection errors. Redis slaves are still active but will not be used for Redis reads. As an alternative, we recommend the following: use Magento 2.3.5 or later on Cloud projects with a scaled architecture, implement a new Redis backend configuration, and implement L2 caching for Redis.
413+
411414
Magento can read multiple Redis instances asynchronously. Set to `true` to automatically use a _read-only_ connection to a Redis instance to receive read-only traffic on a non-master node. This improves performance through load balancing, because only one node needs to handle read-write traffic. Set to `false` to remove any existing read-only connection array from the `env.php` file.
412415

413416
```yaml

src/cloud/howtos/debug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ functional_areas:
1313
Xdebug is an extension for debugging your PHP. The following explains how to configure Xdebug and PhpStorm to debug in your local environment. You can use the IDE of your choice. See the vendor documentation for those applications for further configuration information.
1414

1515
{:.bs-callout-info}
16-
You can configure Xdebug to run in the {{site.data.var.mcd-prod}} environment for local debugging without changing your {{site.data.var.ece}} project configuration. See [Configure Xdebug for Docker]{{site.baseurl}}/cloud/docker/docker-development-debug.html).
16+
You can configure Xdebug to run in the {{site.data.var.mcd-prod}} environment for local debugging without changing your {{site.data.var.ece}} project configuration. See [Configure Xdebug for Docker]({{site.baseurl}}/cloud/docker/docker-development-debug.html).
1717

1818
To set up Xdebug, you need to [configure](#configure-xdebug) a file in your Git repository, configure your IDE, and set up port forwarding. You can configure settings in the `magento.app.yaml` file. After editing, you can push the Git changes across all Starter environments and Pro Integration environments to enable Xdebug. To push these settings to Pro plan Staging and Production environments, you must enter a ticket.
1919

src/cloud/project/magento-app-php-application.md

Lines changed: 11 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type: php:<version>
1616
1717
### PHP extensions
1818
19-
You can enable additional PHP extensions in the `runtime:extension` section. Also, the extensions specified become available in the Docker PHP containers.
19+
You can enable or disable PHP extensions in the `runtime:extension` section. Also, the extensions specified become available in the Docker PHP containers.
2020

2121
> .magento.app.yaml
2222

@@ -41,96 +41,18 @@ php -m
4141

4242
For details about a specific PHP extension, see the [PHP Extension List](https://www.php.net/manual/en/extensions.alphabetical.php).
4343

44-
{{site.data.var.ece}} supports the following extensions:
44+
The following table shows the supported PHP extensions when deploying {{site.data.var.ee}} on the Cloud platform.
4545

46-
- Default extensions:
47-
- `bcmath`
48-
- `bz2`
49-
- `calendar`
50-
- `exif`
51-
- `gd`
52-
- `gettext`
53-
- `intl`
54-
- `mysqli`
55-
- `pcntl`
56-
- `pdo_mysql`
57-
- `soap`
58-
- `sockets`
59-
- `sysvmsg`
60-
- `sysvsem`
61-
- `sysvshm`
62-
- `opcache`
63-
- `zip`
46+
{:.php-plugins-table}
47+
| Default extensions | Installed extensions<br>that cannot be uninstalled | Extensions that can be installed<br> and uninstalled as needed|
48+
|--------------------|---------------------|---------------------|
49+
| `bcmath`<br> `bz2`<br> `calendar`<br> `exif`<br> `gd`<br> `gettext`<br> `intl`<br> `mysqli`<br> `pcntl`<br> `pdo_mysql`<br> `soap`<br> `sockets`<br> `sysvmsg`<br> `sysvsem`<br> `sysvshm`<br> `opcache`<br> `zip` |`ctype`<br> `curl`<br> `date`<br> `dom`<br> `fileinfo`<br> `filter`<br> `ftp`<br> `hash`<br> `iconv`<br> `json`<br> `mbstring`<br> `mysqlnd`<br> `openssl`<br> `pcre`<br> `pdo`<br> `pdo_sqlite`<br> `phar`<br> `posix`<br> `readline`<br> `session`<br> `sqlite3`<br> `tokenizer`<br> `xml`<br> `xmlreader`<br> `xmlwriter`<br> |`geoip`<br>`gmp`<br> `igbinary`<br> `imagick`<br> `imap`<br>`ioncube`<br> `ldap`<br> `mailparse`<br> `mcrypt`<br> `msgpack`<br> `mysqli`<br> `oauth`<br> `pdo_mysql`<br> `propro`<br> `pspell`<br> `raphf`<br> `recode`<br> `redis`<br> `shmop` `sockets`<br> `sodium`<br> `ssh2`<br>`tidy`<br> `xdebug`<br> `xmlrpc`<br> `xsl`<br> `yaml`|
6450

65-
- Extensions that are installed and cannot be uninstalled:
66-
- `ctype`
67-
- `curl`
68-
- `date`
69-
- `dom`
70-
- `fileinfo`
71-
- `filter`
72-
- `ftp`
73-
- `hash`
74-
- `iconv`
75-
- `json`
76-
- `mbstring`
77-
- `mysqlnd`
78-
- `openssl`
79-
- `pcre`
80-
- `pdo`
81-
- `pdo_sqlite`
82-
- `phar`
83-
- `posix`
84-
- `readline`
85-
- `session`
86-
- `sqlite3`
87-
- `tokenizer`
88-
- `xml`
89-
- `xmlreader`
90-
- `xmlwriter`
91-
92-
- Extensions that can be installed and uninstalled as needed:
93-
- `bcmath`
94-
- `bz2`
95-
- `calendar`
96-
- `exif`
97-
- `gd`
98-
- `geoip`
99-
- `gettext`
100-
- `gmp`
101-
- `igbinary`
102-
- `imagick`
103-
- `imap`
104-
- `intl`
105-
- `ioncube`
106-
- `ldap`
107-
- `mailparse`
108-
- `mcrypt`
109-
- `msgpack`
110-
- `mysqli`
111-
- `oauth`
112-
- `opcache`
113-
- `pdo_mysql`
114-
- `propro`
115-
- `pspell`
116-
- `raphf`
117-
- `recode`
118-
- `redis`
119-
- `shmop`
120-
- `soap`
121-
- `sockets`
122-
- `sodium`
123-
- `ssh2`
124-
- `sysvmsg`
125-
- `sysvsem`
126-
- `sysvshm`
127-
- `tidy`
128-
- `xdebug`
129-
- `xmlrpc`
130-
- `xsl`
131-
- `yaml`
132-
- `zip`
133-
- `pcntl`
51+
The PHP module requirements for {{ site.data.var.ee }} are tied to the Magento version. See [PHP requirements]({{ site.baseurl }}/guides/v2.4/install-gde/prereq/php-settings.html).
13452

13553
{:.bs-callout-warning}
13654
PHP compiled with debug is not supported and the Probe may conflict with XDebug or XHProf. Disable those extensions when enabling the Probe. The Probe conflicts with some PHP extensions like Pinba or IonCube.
55+
56+
### Custom PHP configuration
57+
58+
You can customize the PHP settings for a Cloud environment by adding a `php.ini` file to your project. See [Customize PHP.INI]({{ site.baseurl }}/cloud/project/magento-app-php-ini.html).

0 commit comments

Comments
 (0)