Skip to content

Commit

Permalink
Merge pull request #206 from stellarwp/1.8.1
Browse files Browse the repository at this point in the history
1.8.1
  • Loading branch information
lucatume authored Dec 30, 2024
2 parents 444557a + 54ce592 commit fceb236
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion slic-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion slic.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) ) ) {
Expand Down
4 changes: 2 additions & 2 deletions src/slic.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
}
}

Expand Down

0 comments on commit fceb236

Please sign in to comment.