Skip to content

Commit 16c24bb

Browse files
authored
Merge pull request #2063 from ga-devfront/feat/8.x/add-recommended-documentation-for-autoup
[UPDATE] Autoupgrade documentation for 8.x
2 parents 073be73 + 1d773c2 commit 16c24bb

File tree

3 files changed

+44
-16
lines changed

3 files changed

+44
-16
lines changed
-137 KB
Loading

basics/keeping-up-to-date/update/update-from-the-back-office.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,25 @@ main steps: Version choice > Update options > Backup > Update > Post-update.
5454

5555
### Version choice
5656

57-
The step “Version choice”, shows you the updates available for your store. Two update channels are listed at this stage:
58-
59-
- The official “online” update for your store, detected by PrestaShop APIs (major, minor or patch versions). This update
60-
corresponds to the most recent version of PrestaShop compatible with the PHP version of your server.
61-
- The “local” update, which displays customized updates detected in your `/your-admin-directory/autoupgrade/download`
57+
The step "Version choice", shows you the updates available for your store. Up to three update channels can be listed at this stage:
58+
59+
- The official **"recommended"** update for your store, detected by PrestaShop APIs (major, minor or patch versions). This update
60+
corresponds to the most stable and well-tested version of PrestaShop compatible with the PHP version of your server. The recommended
61+
version is identified by a "Recommended" badge displayed next to the version type badge (major, minor, or patch).
62+
- The **"latest"** update available for your store, which corresponds to the most recent version of PrestaShop compatible with the
63+
PHP version of your server. This version may be shown separately from the recommended version when they differ.
64+
- The **"local"** update, which displays customized updates detected in your `/your-admin-directory/autoupgrade/download`
6265
folder on your server.
6366

67+
#### Understanding recommended versions
68+
69+
The recommended version is the version that has been thoroughly tested and validated for stability. It may not always be the latest
70+
release, but it represents the safest upgrade path for your store. Depending on the current state of PrestaShop releases, you may see:
71+
72+
- Both a **recommended version** and a **latest version** displayed as separate options (when they differ).
73+
- Only one version displayed with a "Recommended" badge (when the recommended version is also the latest).
74+
- Only the latest version without a "Recommended" badge (when no specific version is marked as recommended).
75+
6476
These views are thus adapted to the version of PrestaShop used in your store, to the PHP version of your server, and
6577
therefore reflect possible updates for your store.
6678

@@ -224,4 +236,4 @@ You will then be able to log in to access the previous, restored version of your
224236
[1]: {{< relref "/8/basics/keeping-up-to-date/update/update-from-the-cli" >}}
225237
[2]: {{< relref "/8/basics/keeping-up-to-date/update/post-update-checklist" >}}
226238
[3]: {{< relref "/8/basics/keeping-up-to-date/update/post-restore-checklist" >}}
227-
[prestashop-releases]: https://github.com/PrestaShop/PrestaShop/releases
239+
[prestashop-releases]: https://github.com/PrestaShop/PrestaShop/releases

basics/keeping-up-to-date/update/update-from-the-cli.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -295,18 +295,34 @@ Example of the `update:check-new-version` command execution:
295295

296296
```text
297297
$ php bin/console update:check-new-version admin123
298-
-----------+----------+-------+---------------------------------------------------------------------------+
299-
| Version | Channel | Type | Information |
300-
+----------+----------+-------+---------------------------------------------------------------------------+
301-
| 8.2.0 | online | minor | https://build.prestashop-project.org/news/2024/prestashop-8-2-0-available/|
302-
| 9.0.0 | local | major | Zip: 2024-10-17-develop-prestashop_9_0_0.zip |
303-
| | | | Xml: prestashop_9.0.0.xml |
304-
| 8.1.0 | local | patch | Zip: 8_1_0.zip |
305-
| | | | Xml: 8.1.0-2.xml, 8.1.0.xml |
298+
+---------+--------------------+-------+--------------------------------------------------------------------------------------+
299+
| Version | Channel | Type | Information |
300+
+---------+--------------------+-------+--------------------------------------------------------------------------------------+
301+
| 8.2.3 | online_recommended | minor | https://build.prestashop-project.org/news/2025/prestashop-8-2-3-security-release/ |
302+
| 9.0.1 | online | major | https://build.prestashop-project.org/news/2025/prestashop-9-0-1-maintenance-release/ |
303+
| 9.0.0 | local | major | Zip: 2024-10-17-develop-prestashop_9_0_0.zip |
304+
| | | | Xml: prestashop_9.0.0.xml |
305+
| 8.1.1 | local | patch | Zip: 8_1_1.zip |
306+
| | | | Xml: 8.1.1-2.xml, 8.1.1.xml |
307+
+---------+--------------------+-------+--------------------------------------------------------------------------------------+
306308
```
307309

308-
- The official “online” update for your store, detected by PrestaShop APIs (major, minor or patch versions). This update corresponds to the most recent version of PrestaShop compatible with the PHP version of your server.
309-
- The “local” update, which displays customized updates detected in your `/your-admin-directory/autoupgrade/download` folder on your server.
310+
#### Understanding the Channel column
311+
312+
The **Channel** column indicates the source and type of the available update:
313+
314+
- **`online_recommended`**: The recommended update for your store, detected by PrestaShop APIs (major, minor or patch versions). This update corresponds to the most stable and well-tested version of PrestaShop compatible with the PHP version of your server. The recommended version represents the safest upgrade path for your store.
315+
- **`online`**: The latest update available for your store, which corresponds to the most recent version of PrestaShop compatible with the PHP version of your server. This version may differ from the recommended version.
316+
- **`local`**: Customized updates detected in your `/your-admin-directory/autoupgrade/download` folder on your server.
317+
318+
#### Update scenarios
319+
320+
Depending on the current state of PrestaShop releases, the command output may show:
321+
322+
- Both a **recommended version** (channel `online_recommended`) and a **latest version** (channel `online`) when they differ.
323+
- Only one online version (channel `online_recommended`) when the recommended version is also the latest.
324+
- Only the latest version (channel `online`) when no specific version is marked as recommended.
325+
- Local versions (channel `local`) in addition to online versions, if custom update files are detected on your server.
310326

311327
### update:check-requirements command
312328

0 commit comments

Comments
 (0)