Skip to content

Commit 029b37b

Browse files
committed
Add v16 upgrade guide
1 parent d3eacb5 commit 029b37b

File tree

1 file changed

+57
-0
lines changed
  • other-docs/guides/upgrading

1 file changed

+57
-0
lines changed

other-docs/guides/upgrading/v16.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
order: 16
3+
---
4+
5+
# Upgrading to v16
6+
7+
_If you are migrating from WordPress to Altis, check out
8+
the [migrating guide here](../migrating-from-wordpress.md) first._
9+
10+
To upgrade to Altis v16, edit your `composer.json` and change the version
11+
constraint for `altis/altis` and any local
12+
environment modules to `^16.0.0`.
13+
14+
```json
15+
{
16+
"require": {
17+
"altis/altis": "^16.0.0"
18+
},
19+
"require-dev": {
20+
"altis/local-server": "^16.0.0"
21+
},
22+
"config": {
23+
"platform": {
24+
"php": "8.0"
25+
}
26+
}
27+
}
28+
```
29+
30+
Once you have made these changes run `composer update` and then run
31+
the `wp altis migrate` command:
32+
33+
```sh
34+
# For cloud environments
35+
wp altis migrate
36+
37+
# For local server
38+
composer server cli -- altis migrate
39+
```
40+
41+
## Breaking Changes
42+
43+
### PHP 8.2 ###
44+
45+
Altis v16 fully supports PHP 8.2 in both local and cloud environments. There are a number of [backward incompatible changes](https://www.php.net/manual/en/migration82.incompatible.php) in PHP 8.2 which should be taken into consideration and addressed.
46+
47+
Refer to our [PHP Version Guide](docs://guides/updating-php/) for up-to-date compatibility, testing and upgrading information.
48+
49+
## Headline Features
50+
51+
### Altis Core improvements
52+
53+
A number of modules and libraries have been updated to incorporate important bug fixes and improvements.
54+
55+
### Documentation
56+
57+
Some of our developer focussed documentation has been clarified and improved, taking on board feedback from our customers and partners.

0 commit comments

Comments
 (0)