This release contains quite some new features and improvements!

Redis 7

We now have support for Redis 7, which is the newly recommended Redis version for Magento 2.4.6.

To upgrade to Redis 7, you can easily do so by using the hypernode-systemctl command:

app@abcdef-example-magweb-cmbl:~$ hypernode-systemctl settings redis_version 7.x 
Operation was successful and is being processed. Please allow a few minutes for the settings to be applied. Run 'livelog' to see the progress.
app@abcdef-example-magweb-cmbl:~$ redis-cli -v
redis-cli 7.0.10
app@abcdef-example-magweb-cmbl:~$ redis-cli info | grep redis_version
redis_version:7.0.10

Composer 2.2 and 2.x

Up until now, we have had two Composer versions available: 1.x and 2.x. Version 1.x defaulted to the latest 1.x version of Composer, while version 2.x used the latest version of the 2.2 “LTS” branch, which is the last minor version range with support for PHP 5.3 – 8.1. For now, this is a nice default to have, but we want to add support for the newer Composer version to allow developers to make use of the newer versions.

With this release, we have added a new Composer version: 2.2 and “downgraded” all the 2.x versions to 2.2. If you want to “upgrade” to the newer non-LTS version of Composer, you can use the 2.x version.

app@abcdef-example-magweb-cmbl:~$ composer --version
Composer version 2.2.21 2023-02-15 13:07:40
app@abcdef-example-magweb-cmbl:~$ hypernode-systemctl settings composer_version 2.x
Operation was successful and is being processed. Please allow a few minutes for the settings to be applied. Run 'livelog' to see the progress.
app@abcdef-example-magweb-cmbl:~$ composer --version
Composer version 2.5.5 2023-03-21 11:50:05

Brancher PUT endpoint

We have received feedback from our Brancher users that the labels for a Brancher node isn’t always known at creation and that it would be a useful if there were a way to set the labels after creating a Brancher node. With this release, we have added a new endpoint:

PUT /v2/brancher/brancher_name/

{
  "labels": ["mylabel"]
}

This will remove all existing labels for the Brancher node and add the provided labels. If you want to update things like settings, that’s possible as well, but you need to.use the following endpoint:

PATCH /v2/app/brancher_name/

{
  "php_version": "8.2"
}

This endpoint has been added to the Hypernode API PHP client as well, with release 0.4.0.