From 45962538dfcc41a378172ae91f13ba1b771aa4fd Mon Sep 17 00:00:00 2001 From: JJ Eaton <58495321+oldbettie@users.noreply.github.com> Date: Tue, 17 Nov 2026 16:13:14 +0800 Subject: [PATCH] fix(deps): Go 1.26.11, compress, brotli and node-forge for new advisories Co-Authored-By: Claude Opus 5.5 --- Dockerfile | 2 +- apps/admin/Dockerfile | 2 +- apps/backup/Dockerfile | 2 +- apps/mobile-app/package.json | 2 +- apps/mobile-app/pnpm-lock.yaml | 12 ++++++------ deploy/go.mod | 2 +- docs/BUILD-PLAN.md | 2 +- go.mod | 6 +++--- go.sum | 8 ++++---- mise.toml | 2 +- scripts/vulncheck/allowlist.txt | 5 ----- tools/actionlint/go.mod | 2 +- tools/go.mod | 2 +- 13 files changed, 22 insertions(+), 27 deletions(-) diff --git a/Dockerfile b/Dockerfile index 87d1736..5bbedbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # (sqlc, templ) is committed, so the build needs only the Go toolchain. # No RUN --mount=type=cache: Railway's builder rejects cache mounts without # an id tied to one service ID, and the go.mod layer below caches modules. -FROM golang:1.26.10-alpine AS build +FROM golang:1.26.11-alpine AS build WORKDIR /src COPY go.mod go.sum ./ RUN go mod download diff --git a/apps/admin/Dockerfile b/apps/admin/Dockerfile index e67f6f6..f7750b0 100644 --- a/apps/admin/Dockerfile +++ b/apps/admin/Dockerfile @@ -4,7 +4,7 @@ # docker build -f apps/admin/Dockerfile . # No RUN --mount=type=cache: Railway's builder rejects cache mounts without # an id tied to one service ID, and the go.mod layer below caches modules. -FROM golang:1.26.10-alpine AS build +FROM golang:1.26.11-alpine AS build WORKDIR /src COPY go.mod go.sum ./ RUN go mod download diff --git a/apps/backup/Dockerfile b/apps/backup/Dockerfile index 4b48850..cb34183 100644 --- a/apps/backup/Dockerfile +++ b/apps/backup/Dockerfile @@ -6,7 +6,7 @@ # docker build -f apps/backup/Dockerfile . # No RUN --mount=type=cache: Railway's builder rejects cache mounts without # an id tied to one service ID, and the go.mod layer below caches modules. -FROM golang:1.26.10-alpine AS build +FROM golang:1.26.11-alpine AS build WORKDIR /src COPY go.mod go.sum ./ RUN go mod download diff --git a/apps/mobile-app/package.json b/apps/mobile-app/package.json index a6cdd08..4037cd8 100644 --- a/apps/mobile-app/package.json +++ b/apps/mobile-app/package.json @@ -44,7 +44,7 @@ }, "pnpm": { "overrides": { - "node-forge@^1": "^1.4.1", + "node-forge@^1": "^1.4.3", "glob@^13": "^14.0.2", "minimatch@^10": "^11.0.1" } diff --git a/apps/mobile-app/pnpm-lock.yaml b/apps/mobile-app/pnpm-lock.yaml index c6f48de..a49a33b 100644 --- a/apps/mobile-app/pnpm-lock.yaml +++ b/apps/mobile-app/pnpm-lock.yaml @@ -5,7 +5,7 @@ settings: excludeLinksFromLockfile: false overrides: - node-forge@^1: ^1.4.1 + node-forge@^1: ^1.4.3 glob@^13: ^14.0.2 minimatch@^10: ^11.0.1 @@ -3302,8 +3302,8 @@ packages: resolution: {integrity: sha512-kXs9Go0cah0qHVV2v389IXQLdLCeE1xfFtjOAF+iobu0OIoG1pje8At2vMHyaPMiPMnG/LWP50twML21eMcAag==} engines: {node: '>= 0.4'} - node-forge@1.4.2: - resolution: {integrity: sha512-rRtAR5XLJ8gCKd9du4qrKAsgCG1ObGP4gLeNJMa4vYSeq4bmBMOJk5IHkrviBV0q7uoAJlVd8HEQYQSVUb4FGQ==} + node-forge@1.4.3: + resolution: {integrity: sha512-P6wzfh6t70avmV8FrVEAd/36sOPJQ+hkaJVX1Laap9J/77m7M0eyozDvc8SwnDf4P7MP94gwbAAo0rg3YVXT+g==} engines: {node: '>= 6.13.0'} node-int64@0.4.0: @@ -4988,7 +4988,7 @@ snapshots: glob: 14.0.3 lan-network: 0.2.1 multitars: 1.0.2 - node-forge: 1.4.2 + node-forge: 1.4.3 npm-package-arg: 11.0.3 ora: 3.4.0 picomatch: 4.0.7 @@ -5025,7 +5025,7 @@ snapshots: '@expo/code-signing-certificates@0.0.6': dependencies: - node-forge: 1.4.2 + node-forge: 1.4.3 '@expo/config-plugins@57.0.11(typescript@6.0.3)': dependencies: @@ -8297,7 +8297,7 @@ snapshots: object.entries: 1.1.9 semver: 6.3.1 - node-forge@1.4.2: {} + node-forge@1.4.3: {} node-int64@0.4.0: {} diff --git a/deploy/go.mod b/deploy/go.mod index 4db0fe0..d9d55ca 100644 --- a/deploy/go.mod +++ b/deploy/go.mod @@ -1,6 +1,6 @@ module github.com/jayleaton/go-fast-stack/deploy -go 1.26.10 +go 1.26.11 require ( github.com/railwayapp/railway-go-sdk v0.6.0 diff --git a/docs/BUILD-PLAN.md b/docs/BUILD-PLAN.md index 02dfc35..bc06150 100644 --- a/docs/BUILD-PLAN.md +++ b/docs/BUILD-PLAN.md @@ -5,7 +5,7 @@ Same architecture patterns, same feature set, rebuilt in Go for simpler maintena ## Decisions (JJ, 2026-10-22) -- Language: Go (toolchain pinned in `mise.toml`, currently 1.26.10). **One Go module** at the repo root: `github.com/jayleaton/go-fast-stack`. +- Language: Go (toolchain pinned in `mise.toml`, currently 1.26.11). **One Go module** at the repo root: `github.com/jayleaton/go-fast-stack`. - UI: server-rendered `templ` + **Datastar** (SSE-first; core library only, no Datastar Pro features) + Tailwind via the **standalone CLI** (no Node in the web toolchain). - Auth: **Go-native**, its own package `packages/auth`, modelled on Better Auth (table names, endpoint paths, flows) so Better Auth features can be ported later. - Database: Postgres 18, `pgx/v5`, `sqlc` for typed queries, `goose` migrations embedded in the binary. diff --git a/go.mod b/go.mod index 3608349..2ce4476 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/jayleaton/go-fast-stack -go 1.26.10 +go 1.26.11 require ( filippo.io/age v1.3.2 @@ -22,7 +22,7 @@ require ( filippo.io/hpke v0.4.0 // indirect github.com/CAFxX/httpcompression v0.0.9 // indirect github.com/a-h/parse v0.0.0-20250122154542-74294addb73e // indirect - github.com/andybalholm/brotli v1.2.6 // indirect + github.com/andybalholm/brotli v1.2.7 // indirect github.com/cenkalti/backoff/v4 v4.3.0 // indirect github.com/cli/browser v1.3.0 // indirect github.com/ebitengine/purego v0.10.1 // indirect @@ -30,7 +30,7 @@ require ( github.com/fsnotify/fsnotify v1.10.1 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect - github.com/klauspost/compress v1.20.1 // indirect + github.com/klauspost/compress v1.20.2 // indirect github.com/mattn/go-colorable v0.1.15 // indirect github.com/mattn/go-isatty v0.0.24 // indirect github.com/mfridman/interpolate v0.0.2 // indirect diff --git a/go.sum b/go.sum index 0e01895..1f51242 100644 --- a/go.sum +++ b/go.sum @@ -11,8 +11,8 @@ github.com/a-h/parse v0.0.0-20250122154542-74294addb73e/go.mod h1:3mnrkvGpurZ4Zr github.com/a-h/templ v0.3.1070 h1:3iCOXHXqFXa99OQzgkUOLJbNzv/QjFGLwKZkBAg+ADA= github.com/a-h/templ v0.3.1070/go.mod h1:iIqB3g2RHBe/WlnPwa+Bvhh1TKXHWLRnBD9NWHOLm78= github.com/andybalholm/brotli v1.0.5/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= -github.com/andybalholm/brotli v1.2.6 h1:ftYnfj6usCp+UGV5kSJ3+chpMQgU+gJf/AxsUQ52REI= -github.com/andybalholm/brotli v1.2.6/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= +github.com/andybalholm/brotli v1.2.7 h1:UgafRPGMam5ySHfRkhthMqOFA6IFoeF3D7mWIDLjG5A= +github.com/andybalholm/brotli v1.2.7/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= github.com/boombuler/barcode v1.1.0 h1:ChaYjBR63fr4LFyGn8E8nt7dBSt3MiU3zMOZqFvVkHo= github.com/boombuler/barcode v1.1.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8= @@ -48,8 +48,8 @@ github.com/jackc/pgx/v5 v5.11.0/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QII github.com/jackc/puddle/v2 v2.2.3 h1:f8HoREISb3l5eO9coPgK7U3hKLhWGokOFVcThl5jrao= github.com/jackc/puddle/v2 v2.2.3/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= -github.com/klauspost/compress v1.20.1 h1:T7kKElXUMXrUJ2E9QhQhxFtcK5rPyLdsGZvdbLMPdiQ= -github.com/klauspost/compress v1.20.1/go.mod h1:LUdAzn7YLVvxLpc7y3V1m40wESHTgc1422pwwBSKYuI= +github.com/klauspost/compress v1.20.2 h1:v5tiZvm1KGLyg5d5oXdXe3lsSPrbEUiKoXGia//I7Qo= +github.com/klauspost/compress v1.20.2/go.mod h1:LUdAzn7YLVvxLpc7y3V1m40wESHTgc1422pwwBSKYuI= github.com/klauspost/pgzip v1.2.6/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= github.com/mattn/go-colorable v0.1.15 h1:+u9SLTRGnXv73cEsnsmoZBom+dMU88B2M0aDcWy0/jY= github.com/mattn/go-colorable v0.1.15/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8= diff --git a/mise.toml b/mise.toml index 5de22d1..57eb89c 100644 --- a/mise.toml +++ b/mise.toml @@ -1,4 +1,4 @@ [tools] -go = "1.26.10" +go = "1.26.11" # Secrets (optional): make doppler-setup, USE_DOPPLER=1 make dev. doppler = "3.77.0" diff --git a/scripts/vulncheck/allowlist.txt b/scripts/vulncheck/allowlist.txt index 4fa1e32..6693654 100644 --- a/scripts/vulncheck/allowlist.txt +++ b/scripts/vulncheck/allowlist.txt @@ -34,8 +34,3 @@ GHSA-vcc3-ghjq-m6fr decode-uri-component 2027-01-31 same as GHSA-qr28-fpjm-wq7f # Runs only on the developer's machine (expo CLI), never in the app bundle; # the app's own zod is 4.6.7. GHSA-mrhx-c7xc-m3w5 zod 2027-01-31 dev-time only (@expo/cli needs zod 3); fix needs zod 4 -# eslint 9 and its plugins require('minimatch') as a function; minimatch 11's -# CJS export is an object. Lint-time only, on our own source globs. -GHSA-g3hv-75wg-m249 minimatch 2027-01-31 dev-only (eslint 9 needs minimatch 3); fix is minimatch 11 -# expo > @expo/config merges our own app config at build time; no release fixes it. -GHSA-gcqx-w48m-w2h4 deepmerge 2027-01-31 no fix published; build-time only, merges our own config diff --git a/tools/actionlint/go.mod b/tools/actionlint/go.mod index 9c3a903..0211d7c 100644 --- a/tools/actionlint/go.mod +++ b/tools/actionlint/go.mod @@ -1,6 +1,6 @@ module github.com/jayleaton/go-fast-stack/tools/actionlint -go 1.26.10 +go 1.26.11 tool github.com/rhysd/actionlint/cmd/actionlint diff --git a/tools/go.mod b/tools/go.mod index 4d5bdf0..d34bfba 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module github.com/jayleaton/go-fast-stack/tools -go 1.26.10 +go 1.26.11 tool ( github.com/golangci/golangci-lint/v2/cmd/golangci-lint