Skip to content

Commit 16a6f7f

Browse files
committed
Cloud: Policy for automatic craftcms/cloud updating
1 parent 34f78c1 commit 16a6f7f

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

docs/cloud/builds.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ If either file is missing, the build will fail.
1111

1212
Cloud installs packages by running `composer install`.
1313

14+
::: tip
15+
In some exceedingly rare circumstances, we may install a more recent version of our [Cloud extension](extension.md#automatic-updates) to keep your app compatible with the platform.
16+
:::
17+
1418
## Node.js
1519

1620
To enable the Node.js build step, set a `node-version` in your [Cloud config file](config.md#config-schema).

docs/cloud/extension.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@ If you would prefer to use Composer directly, require the `craftcms/cloud` packa
2626

2727
You will be prompted for some information about your project, and the wizard will write a [Craft Cloud configuration file](config.md) to the project’s root.
2828

29+
## Updating
30+
31+
The `craftcms/cloud` package will be updated any time you run `composer update`, but _not_ when using Craft’s built-in update tool.
32+
33+
### Automatic Updates
34+
35+
Occasionally, we need to bump the minimum supported extension version in Cloud to phase out old infrastructure.
36+
In these situations, we may attempt to install a more recent version of `craftcms/cloud` than is present in your `composer.lock` file—but only when the locked version has fallen behind our minimum supported version.
37+
You will see a log message in any deployment that an automatic upgrade occurs, with the new minimum version.
38+
39+
::: tip
40+
Automatic updates are _never_ pushed back to your git provider.
41+
:::
42+
2943
## Special Features
3044

3145
### Cloud Filesystem

0 commit comments

Comments
 (0)