Skip to content

Commit

Permalink
Ruben - Feature php 8.2 update (#94)
Browse files Browse the repository at this point in the history
* Update PHP 7.4 to 8.1 and references to the default version

- Update PHP 7.4 to 8.1 in builders/acquia.js
- Update docs/config.md to reference 8.1 as the default
- Update examples/drupal/README.md to reference 8.1 as the default

* Update Drush 8 to avoid warning on 8.1

* Upgrade PHP from 8.1 to 8.2 to match Acquia's default

* Explicitly mention in the documentation that we'll default to latest PHP

* Trigger Build

* Trigger Build

* Undo example changes

* Fix typo

* Fix linter error

* Fix linter error.. again?

* Add changelog entry

---------

Co-authored-by: Alec Reynolds <alec+git@lando.dev>
  • Loading branch information
rubenvarela and reynoldsalec committed Apr 18, 2024
1 parent 0aa76e9 commit 287a3ba
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
## v1.3.0 - [March 15, 2024](https://github.com/lando/acquia/releases/tag/v1.3.0)
## v1.3.0 - [April 18, 2024](https://github.com/lando/acquia/releases/tag/v1.3.0)

* Update mariadb plugin to [v1.3.0](https://github.com/lando/mariadb/releases/tag/v1.3.0). See [#51](https://github.com/lando/mariadb/issues/51).
* Updated mariadb plugin to [v1.3.0](https://github.com/lando/mariadb/releases/tag/v1.3.0). See [#51](https://github.com/lando/mariadb/issues/51).
* Updated default PHP to 8.2
* Updated Drush 8 to 8.4.10

## v1.2.0 - [March 15, 2024](https://github.com/lando/acquia/releases/tag/v1.2.0)

* Update mariadb plugin to [v1.2.0](https://github.com/lando/mariadb/releases/tag/v1.2.0).
* Updated mariadb plugin to [v1.2.0](https://github.com/lando/mariadb/releases/tag/v1.2.0).

## v1.1.1 - [March 7, 2024](https://github.com/lando/acquia/releases/tag/v1.1.1)

Expand Down
2 changes: 1 addition & 1 deletion builders/acquia-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const utils = require('../lib/utils.js');
const warnings = require('../lib/warnings.js');

// "Constants"
const DRUSH8 = '8.4.8';
const DRUSH8 = '8.4.10';
const DRUSH7 = '7.4.0';

// Tooling defaults
Expand Down
4 changes: 2 additions & 2 deletions builders/acquia.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ module.exports = {
composer_version: '2',
confSrc: path.resolve(__dirname, '..', 'config'),
defaultFiles: {},
drush: '8.4.8',
drush: '8.4.10',
inbox: true,
php: '7.4',
php: '8.2',
services: {appserver: {
build: [],
overrides: {volumes: [], environment: {}},
Expand Down
6 changes: 4 additions & 2 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ config:
cache: true
composer_version: '2'
inbox: true
php: '7.4'
php: '8.2'
xdebug: false
```
Expand Down Expand Up @@ -56,7 +56,9 @@ By default, Lando will spin up an approximation of the Acquia stack:
* Apache webserver `2.4`
* MySQL database server `5.7`
* Memcache `1.6`
* PHP `7.3`, `7.4`
* PHP `8.2`

Where acquia provides multiple options, we'll choose the current default. PHP is a good example.

Not current supported but coming soon:

Expand Down

0 comments on commit 287a3ba

Please sign in to comment.