diff --git a/.claude/mcp/playwright_selenium_bridge.py b/.claude/mcp/playwright_selenium_bridge.py index f7bf954..2cbdd3d 100644 --- a/.claude/mcp/playwright_selenium_bridge.py +++ b/.claude/mcp/playwright_selenium_bridge.py @@ -21,7 +21,7 @@ from selenium.webdriver import ChromeOptions, Remote # renovate: datasource=npm depName=@playwright/mcp -_PLAYWRIGHT_MCP_VERSION = "0.0.84" +_PLAYWRIGHT_MCP_VERSION = "0.0.86" def main() -> None: diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index e9ea2d7..e23ce25 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,20 +1,20 @@ -# syntax=docker/dockerfile:1.28@sha256:bb22d9815c728170f72750f4e5b0d672e06176142e1d602c7e66c050100b7e5b +# syntax=docker/dockerfile:1.29@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183 # Single-stage build: develop (the devcontainer image). Built with the repo # root as context (see compose.yml). The repo-root Dockerfile is reserved for # an instance's own runtime image -- see docs/TEMPLATE.md's "Contents" and # "Instance extension points". # renovate: datasource=github-releases depName=j178/prek -ARG PREK_VERSION=0.5.10 +ARG PREK_VERSION=0.5.12 # renovate: datasource=npm depName=@anthropic-ai/claude-code -ARG CLAUDE_CODE_VERSION=2.1.319 +ARG CLAUDE_CODE_VERSION=2.1.332 # renovate: datasource=github-releases depName=edouard-claude/snip ARG SNIP_VERSION=0.26.0 # renovate: datasource=github-releases depName=cli/cli -ARG GH_VERSION=2.103.3 +ARG GH_VERSION=2.106.0 # uv itself isn't a project dependency manager here -- it's only the # mechanism scripts/develop.sh uses to install an exact, checksum-verified @@ -22,7 +22,7 @@ ARG GH_VERSION=2.103.3 # package. Left on PATH afterward; harmless, and an instance that adds # Python as its own application runtime can reuse it directly. # renovate: datasource=github-releases depName=astral-sh/uv -ARG UV_VERSION=0.13.7 +ARG UV_VERSION=0.13.10 # python3 is infrastructure tooling, not an application runtime this # template assumes: prek needs an interpreter to build the venv for any @@ -35,7 +35,7 @@ ARG PYTHON_VERSION=3.14.8 # (the clear-thought MCP server in .mcp.json) is the only thing that # needs it. # renovate: datasource=node-version depName=node -ARG NODE_VERSION=24.22.2 +ARG NODE_VERSION=24.22.3 ARG SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt ARG SSL_CERT_DIR=/etc/ssl/certs diff --git a/.devcontainer/stack/mqtt/compose.yml b/.devcontainer/stack/mqtt/compose.yml index 9536cdb..cea86f0 100644 --- a/.devcontainer/stack/mqtt/compose.yml +++ b/.devcontainer/stack/mqtt/compose.yml @@ -24,7 +24,7 @@ services: - mqtt-tls:/tls mqtt: - image: eclipse-mosquitto:2.0.22@sha256:81a6193ae693942a3231cd3ac52875b02b7e3a19da671b2fb4b55cc874c5b279 + image: eclipse-mosquitto:2.0.23@sha256:6a332cc7a8dbe011cbc076180cbb76b37c6f0f55809682ea08e7980ef0112ad9 restart: unless-stopped # The password file is built from mqtt.env's credentials at every start (see # mosquitto.conf); the image's own entrypoint still runs first and fixes /mosquitto diff --git a/.devcontainer/stack/postgres/compose.yml b/.devcontainer/stack/postgres/compose.yml index 58dabce..784b68f 100644 --- a/.devcontainer/stack/postgres/compose.yml +++ b/.devcontainer/stack/postgres/compose.yml @@ -6,7 +6,7 @@ # ../README.md's "Devcontainer stack pattern" section. services: postgres: - image: postgres:18.6-alpine@sha256:9ba53c7d41ea093baf5c1ba635ba5434c4f979880527d49bb7d9237d3193085b + image: postgres:18.7-alpine@sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71 restart: unless-stopped env_file: - ./postgres.env diff --git a/.devcontainer/stack/redis/compose.yml b/.devcontainer/stack/redis/compose.yml index ad7ad79..d1312e3 100644 --- a/.devcontainer/stack/redis/compose.yml +++ b/.devcontainer/stack/redis/compose.yml @@ -2,7 +2,7 @@ # compose-generated default network (see ../README.md). services: redis: - image: valkey/valkey:9.1.3-alpine@sha256:bf09d58e96d6b4524a15396b65b242bbe18beebbcc15a04d8ee75ddac62fae0b + image: valkey/valkey:9.2.1-alpine@sha256:3ad5a213cb1bc2fd4a113c89b6248a88655a6bf1dda69519d04e03cd3e3d2742 restart: unless-stopped command: valkey-server --appendonly yes volumes: diff --git a/.devcontainer/stack/umami/compose.yml b/.devcontainer/stack/umami/compose.yml index 201795f..ecee67a 100644 --- a/.devcontainer/stack/umami/compose.yml +++ b/.devcontainer/stack/umami/compose.yml @@ -10,7 +10,7 @@ services: # Not docker-entrypoint-initdb.d, which Postgres skips on an existing # volume. Connects with the stack's Postgres credentials. umami-db-init: - image: postgres:18.6-alpine@sha256:9ba53c7d41ea093baf5c1ba635ba5434c4f979880527d49bb7d9237d3193085b + image: postgres:18.7-alpine@sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71 restart: "no" env_file: - ../postgres/postgres.env @@ -47,7 +47,7 @@ services: # analytics.env, the same file myapp loads). # user_id is the admin user created by Umami's migration 01_init. umami-seed: - image: postgres:18.6-alpine@sha256:9ba53c7d41ea093baf5c1ba635ba5434c4f979880527d49bb7d9237d3193085b + image: postgres:18.7-alpine@sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71 restart: "no" env_file: - ../postgres/postgres.env diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index 30ac382..c8e7314 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -35,7 +35,7 @@ jobs: persist-credentials: false - name: Install uv - uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3 + uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0 with: enable-cache: true # Same minor as the devcontainer's CPython (.devcontainer/Dockerfile's @@ -47,7 +47,7 @@ jobs: run: uv sync --locked --all-extras - name: Run benchmarks - uses: CodSpeedHQ/action@61efe07e57e55bedeab750c434504de272a56e8c # v5.6.1 + uses: CodSpeedHQ/action@b1f28b5eccf7cb5bfe6a2a89cb3053eb67f1150c # v5.8.0 # The app has no MODE default (it refuses to start without one), and this bare # runner has no devcontainer environment to supply it. tests/bench swaps in the # mock repository itself. diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index aa16e9c..1e4dbf7 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -64,7 +64,7 @@ jobs: persist-credentials: false - name: Install uv - uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3 + uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0 with: enable-cache: true # Same minor as the devcontainer's CPython (.devcontainer/Dockerfile's @@ -186,7 +186,7 @@ jobs: persist-credentials: false - name: Install uv - uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3 + uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0 with: enable-cache: true # Same minor as the devcontainer's CPython (.devcontainer/Dockerfile's diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ebe290c..b89698e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -57,7 +57,7 @@ repos: # that directory only. Keep the rev equal to the ruff the Python # templates pin in pyproject.toml. - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.17.4 + rev: v0.17.6 hooks: - id: ruff-check name: ruff check (.github/scripts) @@ -173,7 +173,7 @@ repos: # pre-commit manager bumps tags directly, and a SHA + "# frozen: vX" # comment is pre-commit.ci's convention that it doesn't maintain. - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: v1.32.0 + rev: v1.33.1 hooks: # Offline when run locally (no token); checks.yml passes GH_TOKEN # through to the devcontainer so CI also runs the online audits. @@ -198,7 +198,7 @@ repos: stages: [manual] - repo: https://github.com/google/osv-scanner - rev: v2.7.0 + rev: v2.7.1 hooks: # Online (queries osv.dev). Only runs when a supported lockfile is # in the file set: with none, osv-scanner exits 128 ("no packages diff --git a/Dockerfile b/Dockerfile index d694175..c041d42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -# syntax=docker/dockerfile:1.28@sha256:bb22d9815c728170f72750f4e5b0d672e06176142e1d602c7e66c050100b7e5b +# syntax=docker/dockerfile:1.29@sha256:572cebbc2b15e6f84c077742952674889cb63cd5e9b80abdffcbe587b6f19183 # Runtime image (builder → runner), the repo's only top-level Dockerfile, in # the layout template-docker expects (docs/TEMPLATE.md's "Image layer"). The # devcontainer image is the base-owned .devcontainer/Dockerfile's `develop` @@ -13,7 +13,7 @@ ARG PYTHON_VERSION=3.14.8 ARG DEBIAN_VERSION=trixie # renovate: datasource=github-releases depName=astral-sh/uv -ARG UV_VERSION=0.13.6 +ARG UV_VERSION=0.13.10 ARG APP_UID=1000 diff --git a/Makefile b/Makefile index 7d3a832..583a24e 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ IMAGE_SCAN_STRICT ?= # (a customManager in .github/renovate.json). The SBOM tool runs as root with # dist/ (the image tar) mounted read-write, so a retagged image must not run. # Apache-2.0. -SYFT_IMAGE := anchore/syft:v1.57.1@sha256:03215d0e98b661d0ecbc8575dbc14d65be1743b5de5df6410aecb7e80f95b060 +SYFT_IMAGE := anchore/syft:v1.57.2@sha256:e97e20b6e6d1699c60296b66ab337941724f9bd06ac279d893eda89601fc4b2a # Pinned by tag and digest; Renovate updates both together. Apache-2.0. The # `-immutable` tag, not `vX.Y.Z`: quay.io rebuilds the plain tags daily and diff --git a/compose.yml b/compose.yml index 8a73528..80404d5 100644 --- a/compose.yml +++ b/compose.yml @@ -141,7 +141,7 @@ services: # inline (configs: below) and the password file is built at startup from # the smoke-only credentials, so no secret-shaped file is checked in. mqtt: - image: eclipse-mosquitto:2.0.22@sha256:81a6193ae693942a3231cd3ac52875b02b7e3a19da671b2fb4b55cc874c5b279 + image: eclipse-mosquitto:2.0.23@sha256:6a332cc7a8dbe011cbc076180cbb76b37c6f0f55809682ea08e7980ef0112ad9 entrypoint: ["sh", "-c"] command: - >- diff --git a/pyproject.toml b/pyproject.toml index df63307..23f30e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,27 +7,27 @@ description = "Template repository for FastAPI projects" license = "GPL-3.0-only" requires-python = ">=3.14" dependencies = [ - "fastapi==0.162.0", - "uvicorn[standard]==0.54.0", - "pydantic-settings==2.16.2", + "fastapi==0.165.0", + "uvicorn[standard]==0.55.0", + "pydantic-settings==2.16.3", "pyjwt[crypto]==2.15.1", - "httpx==0.28.1", - "sqlalchemy[asyncio]==2.0.54", + "httpx==0.29.0", + "sqlalchemy[asyncio]==2.1.9", "asyncpg==0.32.0", "alembic==1.20.1", - "redis==8.1.0", - "boto3==1.43.123", + "redis==8.2.0", + "boto3==1.44.13", "debugpy==1.8.22", "opentelemetry-sdk==1.45.2", "opentelemetry-exporter-otlp-proto-http==1.45.2", - "python-multipart==0.0.33", + "python-multipart==0.0.34", "opentelemetry-instrumentation-logging==0.66b2", "defusedxml==0.7.1", "slowapi==0.1.10", "aiomqtt==2.5.1", "opentelemetry-instrumentation-fastapi==0.66b2", "opentelemetry-instrumentation-sqlalchemy==0.66b2", - "granian==2.8.7", + "granian==2.8.9", "craftainer-crud[mqtt,xml]>=0.11.0,<0.12", "craftainer-observability[otel,sqlalchemy,redis,s3,http,analytics]>=0.5.0,<0.6", ] @@ -35,25 +35,25 @@ dependencies = [ [project.optional-dependencies] dev = [ "pytest==9.2.0", - "pytest-asyncio==1.4.1.post1", - "ruff==0.17.4", + "pytest-asyncio==1.5.0", + "ruff==0.17.6", "mypy==2.4.1", - "prek==0.5.9", - "httpx2==2.16.0", - "playwright==1.64.1", + "prek==0.5.12", + "httpx2==2.16.2", + "playwright==1.65.2", "pytest-playwright==0.10.0", - "selenium==4.52.0", + "selenium==4.54.0", "pytest-cov==7.1.0", - "import-linter==2.15", - "boto3-stubs[s3]==1.43.123", + "import-linter==2.17", + "boto3-stubs[s3]==1.44.13", "types-defusedxml==0.7.0.20260504", "pip-audit==2.10.1", "locust==2.47.0", "pytest-benchmark==5.3.1", "pytest-codspeed==5.0.4", - "py-spy==0.4.2", - "pyinstrument==5.1.3", - "squawk-cli==2.71.0", + "py-spy==0.4.4", + "pyinstrument==5.1.4", + "squawk-cli==2.74.0", "craftainer-crud-sdk>=0.4.0,<0.5", ] diff --git a/scripts/develop.d/30-rustfs-cli.sh b/scripts/develop.d/30-rustfs-cli.sh index ec99449..34847cf 100755 --- a/scripts/develop.d/30-rustfs-cli.sh +++ b/scripts/develop.d/30-rustfs-cli.sh @@ -8,7 +8,7 @@ set -euo pipefail # renovate: datasource=github-releases depName=rustfs/cli -RUSTFS_CLI_VERSION=0.1.36 +RUSTFS_CLI_VERSION=0.1.38 rustfs_cli_arch="$(dpkg --print-architecture)" rustfs_cli_asset="rustfs-cli_${RUSTFS_CLI_VERSION}_${rustfs_cli_arch}.deb"