From 183c3ea4e2feec2e8b95eef1afc10a5b74eb944f Mon Sep 17 00:00:00 2001 From: Nikolay Strikhar Date: Thu, 26 Dec 2024 15:58:22 +0100 Subject: [PATCH 1/4] Update chrome container versions --- src/slic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic.php b/src/slic.php index d064363..1b92dd8 100644 --- a/src/slic.php +++ b/src/slic.php @@ -1642,10 +1642,10 @@ function is_arm64() { function setup_architecture_env() { if ( is_arm64() ) { putenv( 'SLIC_ARCHITECTURE=arm64' ); - putenv( 'SLIC_CHROME_CONTAINER=seleniarm/standalone-chromium:4.1.2-20220227' ); + putenv( 'SLIC_CHROME_CONTAINER=seleniarm/standalone-chromium:4.20.0-20240427' ); } else { putenv( 'SLIC_ARCHITECTURE=x86' ); - putenv( 'SLIC_CHROME_CONTAINER=selenium/standalone-chrome:3.141.59' ); + putenv( 'SLIC_CHROME_CONTAINER=selenium/standalone-chrome:4.27.0-20241225' ); } } From d37bac27fcbcd930fe0a57b3edaf757dc197d5e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Costa?= Date: Thu, 26 Dec 2024 13:13:16 -0300 Subject: [PATCH 2/4] Increase Chrome SHM default memory size --- slic-stack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slic-stack.yml b/slic-stack.yml index f322a8b..52474e1 100644 --- a/slic-stack.yml +++ b/slic-stack.yml @@ -132,7 +132,7 @@ services: interval: 1s timeout: 3s retries: 30 - shm_size: "${SLIC_CHROME_CONTAINER_SHM_SIZE:-256m}" + shm_size: "${SLIC_CHROME_CONTAINER_SHM_SIZE:-512m}" slic: image: ghcr.io/stellarwp/slic-php${SLIC_PHP_VERSION}:${SLIC_VERSION} From 394bb89a818eb334c298c0d5c755a5e0f48d83cd Mon Sep 17 00:00:00 2001 From: Luca Tumedei Date: Mon, 30 Dec 2024 10:14:44 +0100 Subject: [PATCH 3/4] doc(slic.php) update to v1.8.1 --- slic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slic.php b/slic.php index 5451d6b..a188675 100644 --- a/slic.php +++ b/slic.php @@ -34,7 +34,7 @@ ] ); $cli_name = 'slic'; -const CLI_VERSION = '1.8.0'; +const CLI_VERSION = '1.8.1'; // If the run-time option `-q`, for "quiet", is specified, then do not print the header. if ( in_array( '-q', $argv, true ) || ( in_array( 'exec', $argv, true ) && ! in_array( 'help', $argv, true ) ) ) { From 54ce59202f23180a6fca73da9e6c548305dd23d8 Mon Sep 17 00:00:00 2001 From: Luca Tumedei Date: Mon, 30 Dec 2024 10:16:58 +0100 Subject: [PATCH 4/4] doc(changelog.md) add 1.8.1 entry --- changelog.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/changelog.md b/changelog.md index 83ca791..1308f22 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +# [1.8.1] - 2024-12-30 +- Updated the ARM64 Chrome container image to version 4.20.0-20240427 from 4.1.2-20220227. +- Updated the x86 Chrome container image to version 4.27.0-20241225 from 3.141.59. + # [1.8.0] - 2024-12-04 - Updated the `node` version to `18.17.0`, this affects the `npm` command and any other command usin the `npm` container.