You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add shopify Node 24.15 image variant and drop unmaintained cargo subcommands (#48)
* Add shopify Node 24.15 image variant
AWS deprecates the nodejs20.x Lambda runtime starting 2026-04-30; downstream
projects need a Node 24 (LTS) shopify image variant to upgrade. This adds
n24.15_p8.{1,2,3} alongside the existing n18 / n20 variants.
- shopify/builder/build.py: add Node 24.15.0 (linux-x64-musl checksum from
https://unofficial-builds.nodejs.org/download/release/v24.15.0/SHASUMS256.txt)
- shopify/n24.15.0/p8.{1,2,3}/Dockerfile: regenerated from the Jinja template
via python3 shopify/builder/build.py
- shopify/README.md: list the new tags in the version table
- .github/workflows/build.yml: add the three new tags to the build matrix
Assisted by Claude Code (claude-opus-4-7)
* Remove unmaintained cargo-wasi and cargo-component from shopify image
The shopify image previously installed cargo-wasi and cargo-component as
extra cargo subcommands. Both are no longer needed for Shopify Functions
and one of them currently fails the build:
- cargo-wasi: announced as unmaintained by the Bytecode Alliance and
targeted wasm32-wasi, which Rust 1.84 removed. Modern Shopify Function
templates build with `cargo build --target=wasm32-unknown-unknown` and
Shopify CLI 3.73+ runs the Wasm optimization pass that cargo-wasi used
to provide.
- cargo-component: transitive dependencies (darling 0.23, serde_with 3.19,
home 0.5.12) bumped their MSRV to rustc 1.88, but Alpine 3.22 ships
rustc 1.87. `cargo install cargo-component` therefore aborts the build
on every shopify variant on master since the Alpine 3.22 upgrade. The
Component Model tooling is not used by Shopify Functions.
The wasm32-unknown-unknown target stdlib needed by Shopify Functions is
provided by the existing `rust-wasm` apk package, so no functionality is
lost. Verified empirically by building the payment-customization Rust
extension (shopify_function 2.0+) inside the resulting image.
Touches the Jinja template + all 9 generated Dockerfiles
(n18.19.0, n20.11.0, n24.15.0 × p8.1, p8.2, p8.3).
Assisted by Claude Code (claude-opus-4-7)
0 commit comments