Skip to content

Release notes

A generated project says in its README.md and AGENTS.md which baseline it was generated on. To bring it up to date, apply the upgrade steps of every release after that one, oldest first. Each step says how to tell whether your project still needs it: run the Needed when command from the project root; exit status 0 means the step applies. Steps that change the Gradle wrapper, .github/ or config/pmd/ touch files your AGENTS.md leaves to a person: put them in a pull request of their own. Required steps keep the project building and scanning clean on the new versions, recommended ones follow changed advice and optional ones adopt what new projects get.

A project with the Next.js frontend gets frontends/web/AGENTS.md: it sends coding tools to the root AGENTS.md and the frontend’s guides, and holds the block next dev writes for AI coding agents, so running the frontend no longer leaves a new file in the working tree.

1. Give the frontend its own AGENTS.md (optional)

  • Applies when: frontend is nextjs.
  • Files: frontends/web/AGENTS.md
  • Needed when: test -d frontends/web && ! grep -q 'Read the root' frontends/web/AGENTS.md 2>/dev/null
  • Check: grep -q 'Read the root' frontends/web/AGENTS.md && grep -q 'BEGIN:nextjs-agent-rules' frontends/web/AGENTS.md
  • Why: Next.js next to the service

Take frontends/web/AGENTS.md from a project generated again on start.pyahu.io with the same options. If next dev already wrote one, replace it: the new file keeps the same block between the nextjs-agent-rules markers, so next dev leaves it as it is.

  • A project with the Next.js frontend gets frontends/web/AGENTS.md, which points to the root AGENTS.md and the Next.js guides of its baseline and carries the nextjs-agent-rules block of Next.js 16.4, the one next dev writes when it detects an AI coding agent.

A generated project carries the guides of its baseline for AI coding tools: the Agent Skill in .agents/skills/pyahu-production-guides/, and a section of AGENTS.md that sends every tool to it and to the Pyahu projects the project already uses (ADR 0009). The baseline moves the Pyahu CLI to 0.19.0, whose pyahu validate checks pyahu.yaml without starting anything. A project generated before keeps working as it is; the optional steps below add both.

1. Give AI coding tools the guides of the project’s baseline (optional)

  • Files: .agents/skills/pyahu-production-guides/, AGENTS.md
  • Needed when: test -f AGENTS.md && test ! -f .agents/skills/pyahu-production-guides/SKILL.md
  • Check: test -f .agents/skills/pyahu-production-guides/SKILL.md && grep -q 'Pyahu in this project' AGENTS.md

Copy the skill of the baseline the project follows, from its tag:

Terminal window
git clone --depth 1 --branch <baseline> https://github.com/pyahu/initializer /tmp/pyahu-initializer
mkdir -p .agents/skills
cp -R /tmp/pyahu-initializer/skills/pyahu-production-guides .agents/skills/

Generate the project again on start.pyahu.io with the same options and take from its AGENTS.md the section “Pyahu in this project”, the sentence on the skill’s folder under “Upgrading to a newer baseline” and .agents/skills/ in “Leave these to a person”.

2. Check the stack file with pyahu validate (optional)

  • Applies when: pyahuCli is true.
  • Files: README.md, AGENTS.md
  • Needed when: test -f pyahu.yaml && ! grep -q 'pyahu validate' AGENTS.md
  • Check: grep -q 'pyahu validate' AGENTS.md && pyahu validate
  • Why: Local development, step 2

Install the Pyahu CLI 0.19.0 or later: the Pyahu Toolchain’s cloud profile from release 1.1.2 has it, or mise use -g github:pyahu/cli@0.19.0. In README.md and AGENTS.md, replace 0.18.0 or later with 0.19.0 or later, then take from a project generated again on start.pyahu.io the sentence of AGENTS.md that ends “run pyahu validate after each change to the file”. Run pyahu validate once: it exits 0 on a valid stack file and names the field otherwise.

Component v0.1-b9 v0.1-b10
pyahu-cli 0.18.0 0.19.0

51 other components are unchanged.

  • Every project and every monorepo gets .agents/skills/pyahu-production-guides/, the Agent Skill of skills/ as it is, and its AGENTS.md a section “Pyahu in this project”: where the guides of the baseline are, that tools come from the Pyahu Toolchain, local dependencies from pyahu.yaml under the CLI’s service keys (or compose.yml) and routine commands from mise.toml, and that decisions against a checklist item are written in CHECKLIST.md. Upgrading a project replaces the skill’s folder with the new baseline’s.
  • The baseline moves the Pyahu CLI to 0.19.0. README.md and AGENTS.md ask for it, and AGENTS.md names the stack file’s service keys (redis is Valkey) and tells a coding tool to run pyahu validate after each change to pyahu.yaml.

A generated project runs its service in the local cluster with its own manifests: mise run cluster:deploy builds a small image from the jar, pushes it to a registry next to the cluster and applies a local overlay through deploy/apply.sh, as every environment is applied. The Pyahu CLI 0.18.0 provides the registry, makes zitadel.localhost resolve inside the cluster and puts the trust files in a ConfigMap. A project generated before keeps working as it is; the optional steps below add the task.

1. Run the service in the local cluster (optional)

  • Applies when: layout is single; pyahuCli is true.
  • Files: pyahu.yaml, deploy/apply.sh, deploy/overlays/local/kustomization.yaml, deploy/overlays/local/Dockerfile, deploy/overlays/local/deploy.sh, mise.toml
  • Needed when: test -f pyahu.yaml && test ! -f deploy/overlays/local/deploy.sh
  • Check: test -x deploy/overlays/local/deploy.sh && grep -q 'registry:' pyahu.yaml && grep -q 'local)' deploy/apply.sh
  • Why: Local development, step 11

Install the Pyahu CLI 0.18.0 or later. Generate the project again on start.pyahu.io with the same options and take from it:

  • In pyahu.yaml, the cluster.registry block and, with PostgreSQL, the secrets block at the end.
  • deploy/overlays/local/, all three files.
  • The local) line of deploy/apply.sh, the usage line above it and, with a frontend, the two test "$environment" = local || lines that leave the frontend out of the local environment.
  • The cluster:deploy task of mise.toml.

The registry belongs to the cluster, so recreate it once: pyahu down, then mise run cluster:deploy.

2. Run a vertical in the local cluster (optional)

  • Applies when: layout is monorepo.
  • Files: pyahu.yaml, mise.toml, verticals/<vertical>/service/deploy/apply.sh, verticals/<vertical>/service/deploy/overlays/local/
  • Needed when: test -f pyahu.yaml && ! grep -q 'registry:' pyahu.yaml
  • Check: grep -q 'registry:' pyahu.yaml && grep -q 'cluster:deploy:' mise.toml
  • Why: Local development, step 11

Install the Pyahu CLI 0.18.0 or later. Generate the monorepo again on start.pyahu.io with the same name, group and verticals and take from it:

  • In pyahu.yaml, the cluster.registry block and the secrets block at the end.
  • For each vertical, verticals/<vertical>/service/deploy/overlays/local/ and the local) line of its deploy/apply.sh.
  • The cluster:deploy:<vertical> tasks of mise.toml.

The registry belongs to the cluster, so recreate it once: pyahu down, then mise run cluster:deploy:<vertical>.

Component v0.1-b8 v0.1-b9
pyahu-cli 0.17.0 0.18.0

51 other components are unchanged.

  • Local development, step 11: Step 11 runs the service in the local cluster with mise run cluster:deploy: a registry next to the cluster, a local overlay of the service’s own manifests applied by deploy/apply.sh, the same issuer inside the cluster and the roles as Secrets. The frontend stays on the laptop.
  • A project with the Pyahu CLI gets deploy/overlays/local/ (an overlay into the stack’s namespace, a Dockerfile for a small image from the jar on the production JRE and user, without the AOT cache, and deploy.sh), a local environment in deploy/apply.sh and the task cluster:deploy; a monorepo gets cluster:deploy:<vertical> per vertical. pyahu.yaml turns on the registry on 127.0.0.1:5111 and, with PostgreSQL, declares the Secrets <name>-db-app and <name>-db-migrator with the local role credentials. deploy.sh keeps only the last local image on the laptop. In the local environment deploy/apply.sh checks neither the frontend’s Secret nor its rollout, since the frontend stays on the laptop.
  • The baseline moves the Pyahu CLI to 0.18.0: ingress hosts resolve inside the cluster, the CA ConfigMap holds ca-bundle.pem and truststore.p12, cluster.registry, and literal Secret values.
  • Checklist: new LOCAL-16 (the service in the local cluster with its own manifests and apply script).

A generated project runs its inner loop with one command (ADR 0008): mise run dev starts the stack of pyahu.yaml, the service or every vertical, a compiler that makes devtools restart it on each saved change and, with a frontend, next dev; Ctrl-C stops it all. mise.toml holds only the project’s tasks, and the tools come from the Pyahu Toolchain. Every service listens for a debugger on its own port on localhost. A project generated before keeps working as it is; the optional steps below add the tasks.

1. Run the inner loop with mise (optional)

  • Applies when: layout is single.
  • Files: mise.toml, build.gradle.kts, src/main/resources/logback-spring.xml
  • Needed when: test ! -f mise.toml
  • Check: test -f mise.toml && grep -q 'port = 5005' build.gradle.kts
  • Why: Local development, step 9

Install mise 2026.11.12 or later and the Pyahu Toolchain with the java and cloud profiles (node too with a frontend; cloud only with the Pyahu CLI). Generate the project again on start.pyahu.io with the same options and take from it:

  • mise.toml, at the root.
  • The tasks.bootRun block that starts with “A debugger attaches on localhost:5005”, in build.gradle.kts.
  • src/main/resources/logback-spring.xml, which lets bootRun print the console as text.

Run mise trust once, then mise run dev.

2. Run every vertical with mise (optional)

  • Applies when: layout is monorepo.
  • Files: mise.toml, build-logic/src/main/kotlin/platform.service.gradle.kts, verticals/<vertical>/service/build.gradle.kts, verticals/<vertical>/service/src/main/resources/logback-spring.xml
  • Needed when: test ! -f mise.toml
  • Check: test -f mise.toml && grep -q 'debugOptions' build-logic/src/main/kotlin/platform.service.gradle.kts
  • Why: Local development, step 9

Install mise 2026.11.12 or later and the Pyahu Toolchain with the java and cloud profiles. Generate the monorepo again on start.pyahu.io with the same name, group and verticals and take from it:

  • mise.toml, at the root. A vertical added since needs its own run: and dev: tasks, like the others.
  • In build-logic/src/main/kotlin/platform.service.gradle.kts, the environment("APP_LOGS_CONSOLE", "text") line and the debugOptions block at the start of the bootRun block.
  • Each vertical’s src/main/resources/logback-spring.xml, which lets bootRun print the console as text.
  • In each verticals/<vertical>/service/build.gradle.kts, the debugOptions { port = ... } line of tasks.bootRun: the vertical’s HTTP port plus 3.

Run mise trust once, then mise run dev, or mise run dev:<vertical> for one.

Component v0.1-b7 v0.1-b8
mise (new) 2026.11.12

51 other components are unchanged.

  • Local development, step 9: New step 9: the project’s tasks in mise.toml, mise run dev with a compiler that makes devtools restart the service outside the IDE, and a debug port per service on localhost. Sample data is now step 10 and the local cluster step 11.
  • Local development, step 8: Step 8 names ./gradlew classes --continuous as the way to compile outside the IDE.
  • Monorepos with several services, step 8: mise run dev:<vertical> starts the stack and one vertical, and each vertical has its own debug port.
  • A project of one service gets mise.toml with the tasks dev, run, compile, compile:watch and check; with the Pyahu CLI also deps:up, deps:down, deps:status and, with OIDC, token; with a frontend web and web:install. bootRun opens a debug port on localhost:5005 that never suspends the service, and prints the console as text: logback-spring.xml picks its text or its JSON console appender by app.logs.console, JSON by default, so every other environment and the tests keep the JSON.
  • A monorepo gets a root mise.toml with the same tasks plus run:<vertical> and dev:<vertical> for each vertical. The service convention plugin turns on the debug port of every bootRun, and each vertical sets its own, three after its HTTP port.
  • The baseline adds mise 2026.11.12, the version the Start workflow runs the tasks with; mise.toml takes it as its min_version.
  • Checklist: new LOCAL-13 (one command, mise run dev, and a mise.toml without tool versions), LOCAL-14 (a debug port per service, on localhost only, that never waits) and LOCAL-15 (text on the laptop’s console, JSON everywhere else).

A generated project starts its local dependencies with the Pyahu CLI by default (ADR 0007): pyahu.yaml declares PostgreSQL with the two roles of production, ZITADEL over HTTPS with the project, app and test user, and Grafana LGTM, and pyahu up starts them in a local k3d cluster. A project of one service can keep Docker Compose with local=compose. A project generated before keeps working as it is; the optional steps below move it to the Pyahu CLI.

1. Start the local dependencies with the Pyahu CLI (optional)

  • Applies when: layout is single.
  • Files: pyahu.yaml, compose.yml, build.gradle.kts, gradle/libs.versions.toml, src/main/resources/application.yaml, .gitignore
  • Needed when: test -f compose.yml && test ! -f pyahu.yaml
  • Check: test -f pyahu.yaml && test ! -f compose.yml && ! grep -q 'spring.boot.docker.compose' build.gradle.kts gradle/libs.versions.toml
  • Why: Local development, step 2

Install the Pyahu CLI 0.17.0 or later. Generate the project again on start.pyahu.io with the same options (the Pyahu CLI is the default) and take from it:

  • pyahu.yaml, at the root.
  • The tasks.bootRun block that starts with “On the laptop the service runs against the stack of pyahu.yaml”, in build.gradle.kts, in place of the one that migrated as the one database user.
  • With OIDC, the issuer’s local default in src/main/resources/application.yaml: ${OIDC_ISSUER_URI:https://zitadel.localhost}.
  • The .pyahu/ line of .gitignore.
  • With a Next.js frontend: frontends/web/instrumentation.ts, the discoveryUrl default in frontends/web/src/auth.ts and the .env*.local line of frontends/web/.gitignore.

Then remove compose.yml, developmentOnly(libs.spring.boot.docker.compose) from build.gradle.kts and the spring-boot-docker-compose line from gradle/libs.versions.toml. Without that, Spring Boot would still start Compose and its service connections would replace the roles of bootRun. Run pyahu up, then ./gradlew bootRun.

2. Start every vertical’s dependencies from one pyahu.yaml (optional)

  • Applies when: layout is monorepo.
  • Files: pyahu.yaml, compose.yaml, platform.compose.yaml, build-logic/src/main/kotlin/platform.service.gradle.kts, gradle/libs.versions.toml, .gitignore
  • Needed when: test -f platform.compose.yaml && test ! -f pyahu.yaml
  • Check: test -f pyahu.yaml && test ! -f platform.compose.yaml && ! grep -rq 'spring-boot-docker-compose' build-logic/src gradle/libs.versions.toml
  • Why: Monorepos with several services, step 8

Install the Pyahu CLI 0.17.0 or later. Generate the monorepo again on start.pyahu.io with the same name, group and verticals and take from it:

  • pyahu.yaml, at the root.
  • In build-logic/src/main/kotlin/platform.service.gradle.kts, the bootRun block at the end, and remove the "developmentOnly"(lib("spring-boot-docker-compose")) line.
  • In each vertical with a database, the environment(...) lines of tasks.bootRun in verticals/<vertical>/service/build.gradle.kts.
  • In each vertical’s src/main/resources/application.yaml, remove spring.docker.compose; with OIDC, set the issuer’s local default to ${OIDC_ISSUER_URI:https://zitadel.localhost}.
  • The .pyahu/ line of .gitignore.

Then remove compose.yaml, platform.compose.yaml, each verticals/<vertical>/service/compose.yaml and the spring-boot-docker-compose line from gradle/libs.versions.toml. Run pyahu up, then ./gradlew :<vertical>:bootRun.

Component v0.1-b6 v0.1-b7
pyahu-cli (new) 0.17.0
zitadel (new) 4.15.2, from pyahu-cli

49 other components are unchanged.

  • Local development, step 2: New step 2: the dependencies in pyahu.yaml, started by pyahu up, and bootRun passing the database roles and the OTLP endpoint. Docker Compose is now step 3 and the later steps move down.
  • Local development, step 5: New step 5: a real identity provider over HTTPS on the laptop, the local CA trusted by the JVM and Node through the files pyahu up writes, and pyahu token for curl and grpcurl.
  • Monorepos with several services, step 8: One pyahu.yaml at the root replaces a Compose file per vertical and platform.compose.yaml.
  • A project of one service takes local=pyahu (default) or local=compose; start.pyahu.io shows both. With the Pyahu CLI it gets pyahu.yaml instead of compose.yml and no spring-boot-docker-compose. bootRun connects as <name>_app, migrates as <name>_migrator, sends telemetry to http://localhost:4318 and, with OIDC, trusts the local CA. The issuer’s local default is https://zitadel.localhost, and the ZITADEL project named after the service gives the tokens the audience the service already checks. A Next.js frontend reads its client from .env.development.local, which pyahu up writes and git ignores, and trusts the local CA in instrumentation.ts in development only. local=compose gives what v0.1-b6 generated. With the Pyahu CLI a name has at most 48 characters, the longest stack name the CLI takes.
  • A monorepo always uses the Pyahu CLI: one root pyahu.yaml with a database per vertical that has one, each seeded by its db/roles.sql, and one ZITADEL project named after the platform. compose.yaml, platform.compose.yaml and each vertical’s compose.yaml are gone, with spring-boot-docker-compose and spring.docker.compose.lifecycle-management. The service convention plugin passes the OTLP endpoint and the trust store to every vertical’s bootRun.
  • The baseline adds the Pyahu CLI 0.17.0, which generated projects need on the laptop, and ZITADEL 4.15.2, the version pyahu.yaml names. The comments of db/roles.sql and db/init-local.sh name what runs them: pyahu up, Docker Compose and the tests.
  • Checklist: LOCAL-02 and LOCAL-03 apply with Docker Compose only; LOCAL-04 names the three ways to start the dependencies; LOCAL-10 is generated; new LOCAL-11 (the two database roles on the laptop) and LOCAL-12 (a real provider over HTTPS, no certificate check turned off); MONO-17 names the root pyahu.yaml.

A project of one service serves gRPC by default too, REST when asked, as each vertical of a monorepo already does (ADR 0006). Its Next.js frontend then calls the service over gRPC, with the TypeScript of the contract generated and checked in CI. A project generated before keeps working as it is.

Component v0.1-b5 v0.1-b6

49 other components are unchanged.

  • gRPC services, step 3: The build names protoc and the gRPC generator at the versions Boot manages: with protobuf Gradle plugin 0.10.1, Boot’s own setting left protoc without a version.
  • gRPC behind a Next.js frontend, step 2: The input path for a project of one service, and how CI compares the output where it has no git.
  • A project of one service takes api=grpc, rest or grpc+rest, gRPC by default; start.pyahu.io shows a gRPC and a REST box, gRPC ticked. With gRPC it gets src/main/proto and buf.yaml, a gRPC adapter for the sample, with OIDC the rules of GrpcSecurityConfig, named health checks, reflection on for bootRun only, port 9090 in its Deployment, Service and NetworkPolicy, a headless Service, Guava constrained to 33.8.0-jre, and CI steps for buf lint, buf format and buf breaking and a smoke test over gRPC. Without REST it has no OpenAPI contract and no controller. api=rest gives what v0.1-b5 generated.
  • With gRPC, the Next.js frontend calls the service through one Connect transport with a 2 second timeout and the tracing interceptor, and ships src/gen as buf generate with protoc-gen-es 2.17.0 writes it; CI runs npm run proto:check. The Deployment gives it API_GRPC_URL and its NetworkPolicy lets it reach port 9090.
  • NEXT-02 and NEXT-12 now name both clients: types from the OpenAPI document or from the .proto files, and the trace context through fetch.propagateContextUrls or a gRPC interceptor.

A security release. gRPC Java 1.84.1 brings Guava 33.6.0-jre, which has a fixed high vulnerability (CVE-2026-102554), so the image scan of every gRPC vertical failed. The baseline adds Guava 33.8.0-jre and build-logic constrains every project of a monorepo to it.

1. Constrain Guava to 33.8.0-jre in a monorepo (required)

  • Applies when: layout is monorepo.
  • Files: gradle/libs.versions.toml, build-logic/src/main/kotlin/platform.java.gradle.kts
  • Needed when: ! grep -q '^guava = ' gradle/libs.versions.toml
  • Check: grep -q '^guava = "33.8.0-jre"' gradle/libs.versions.toml && grep -q 'lib("guava")' build-logic/src/main/kotlin/platform.java.gradle.kts
  • Why: The container image and supply chain, step 7

In gradle/libs.versions.toml, add guava = "33.8.0-jre" under [versions] and guava = { module = "com.google.guava:guava", version.ref = "guava" } under [libraries]. In the dependencies block of build-logic/src/main/kotlin/platform.java.gradle.kts, add:

constraints {
"implementation"(lib("guava"))
}

Then ./gradlew build and the image scan of each vertical pass again.

Component v0.1-b4 v0.1-b5
grpc-java 1.84.1, from spring-boot 1.84.1, from spring-boot
guava (new) 33.8.0-jre
protobuf-java 4.36.2, from spring-boot 4.36.2, from spring-boot

46 other components are unchanged.

  • A generated monorepo constrains Guava to 33.8.0-jre in every project, so the jar in each vertical’s image no longer has CVE-2026-102554.
  • The baseline names gRPC Java and Protocol Buffers by io.grpc:grpc-core and com.google.protobuf:protobuf-java, the jars a fixture run resolves, instead of their BOMs.

start.pyahu.io generates a monorepo: a platform of verticals in one Gradle build that keeps them apart, each with its own architecture, database, contract, image and deployment (ADR 0004). Each vertical serves gRPC by default and REST when asked (ADR 0005), and the baseline adds the protobuf Gradle plugin and the gRPC versions Spring Boot 4.2.0 manages. The gRPC guide is rewritten, with new guides on Protobuf contracts and on gRPC behind a Next.js frontend. A project with one service no longer lists the monorepo checklist items.

1. A project with one service drops the monorepo checklist items (optional)

The monorepo items (MONO-01 to MONO-13) now go only into generated monorepos. Delete the “Monorepos with several services” section of CHECKLIST.md.

Component v0.1-b3 v0.1-b4
grpc-java (new) 1.84.1, from spring-boot
protobuf-gradle-plugin (new) 0.10.1
protobuf-java (new) 4.36.2, from spring-boot
spring-grpc (new) 1.1.2, from spring-boot

44 other components are unchanged.

  • New checklist items for gRPC (GRPC-13 to GRPC-15, PROTO-01 to PROTO-07, GWEB-01 to GWEB-08) and GRPC-01 and GRPC-05 reworded. They apply to projects that serve gRPC: a monorepo’s CHECKLIST.md lists them, a project with one service, which serves REST, does not.
  • Each vertical of a monorepo serves gRPC by default (verticals=name:architecture:database:api, api grpc, rest or grpc+rest); on start.pyahu.io each vertical has a gRPC and a REST box, gRPC ticked. A gRPC vertical gets its contract in api/src/main/proto with a buf.yaml, a gRPC adapter for the sample and, with OIDC, the rules of GrpcSecurityConfig that keep the health service open and deny every other call without a token. It also gets named liveness and readiness checks, reflection off, keepalive.connection.max-age, port 9090 in its Deployment, Service and NetworkPolicy (in, and out to the other verticals), and a headless Service for clients. CI runs buf lint, buf format and buf breaking on every Protobuf contract, and the smoke test calls the gRPC API with grpcurl. Tests that start the application use the in-process transport, and the migration Job turns the gRPC server off so it ends.
  • The quality report’s package gate requires openApiValidate only where there is an OpenAPI contract, so a service whose contract is in .proto files passes it. CI runs buf lint and buf format also on a first push, when there is no base to compare with.
  • A monorepo option on start.pyahu.io and in the API (layout=monorepo, verticals=name:architecture:database,...), proven by fixtures/monorepo, which is what the generator produces for its options. Each vertical is a folder, verticals/<name>/, with its service in service/ and its contract project in api/. Each vertical’s ArchitectureTest names the packages it may use of the platform: itself, every contract and the libraries.
  • The quality report keeps one report per project, so a build of several projects writes one for each service. A project with one service writes the same report as before.

Spring Boot 4.2.0 with Spring Framework 7.1, Spring Security 7.2, Spring Data 2026.1, Micrometer 1.18 and OpenTelemetry 1.68, on Temurin 25.0.5.1 and Gradle 9.9.2. Projects generated on v0.1-b2 move their pins, the Gradle wrapper and one renamed property; a Next.js frontend also patches zstd in its runtime image. Projects generated before the quality gates can adopt them.

1. Move every pin to v0.1-b3 (required)

  • Files: gradle/libs.versions.toml, Dockerfile, .github/workflows/ci.yml, compose.yml, src/test/java/**/Postgres.java, src/test/java/**/PendingMigrationsTest.java
  • Needed when: grep -rqsF -e '"4.1.2"' -e '"2.1.1"' -e '"2.28.1-alpha"' -e '"2.50.0"' -e '"0.14.2"' -e '"2.102.0"' -e '"5.1.1"' -e '"8.10.4"' -e '"3.5.1"' -e '"7.26.0"' -e '"2.3.0"' -e 'eclipse-temurin:25.0.5_8-jdk-noble' -e 'sha256:80f67fb3d6f76e2d817d98a4cc2a9cf05f054d4e6adc5e2144bde671d722e63f' -e 'eclipse-temurin:25.0.5_8-jre-noble' -e 'sha256:e3b6f7887a50f20d8f07abf279d8a81a5953fb398a9555bd9edd56b9bd15968c' -e 'postgres:18.6' -e 'sha256:74935e72241653ca55e0414067e6d8763aceb8a810eb51b452253ec3dcfc4336' -e 'grafana/otel-lgtm:0.37.0' -e 'sha256:57b5ab1ca6619beb180174e2fccce04762470750669d043f544b4726d0582d07' gradle/libs.versions.toml Dockerfile .github/workflows/ci.yml compose.yml src/test/java
  • Check: ./gradlew build
  • Why: Build and code quality, step 2

Replace each - value below with the + value under it. Image references and digests are unique strings: replace them in every file of the project (Dockerfile, .github/workflows/ci.yml, compose.yml and the PostgreSQL test containers). Replace plain versions in gradle/libs.versions.toml only, where each appears once. Components not listed are not in a generated project or come from a BOM. The Needed when command finds any old value still there, also after Renovate moved some of them.

# cyclonedx-gradle-plugin
3.5.1
3.6.1
# datasource-micrometer
2.3.0
2.3.1
# error-prone
2.50.0
2.53.0
# errorprone-gradle-plugin
5.1.1
5.2.0
# nullaway
0.14.2
0.14.4
# openapi-generator-gradle-plugin
7.26.0
7.27.0
# opentelemetry-logback-appender
2.28.1-alpha
2.34.0-alpha
# otel-lgtm-image
grafana/otel-lgtm:0.37.0
grafana/otel-lgtm:0.41.1
sha256:57b5ab1ca6619beb180174e2fccce04762470750669d043f544b4726d0582d07
sha256:1b852b77d7bcadb7699bfe7c78a51d059dff85168de674728cf7abf4474645e5
# palantir-java-format
2.102.0
2.103.0
# postgres-image
postgres:18.6
postgres:18.7
sha256:74935e72241653ca55e0414067e6d8763aceb8a810eb51b452253ec3dcfc4336
sha256:64c8b0d31e4ab6ea665e8426ea406a94bf52de3c05b3a4a8bf713704eefa9328
# spotless-gradle-plugin
8.10.4
8.12.0
# spring-boot
4.1.2
4.2.0
# spring-modulith
2.1.1
2.2.0
# temurin-jdk-image
eclipse-temurin:25.0.5_8-jdk-noble
eclipse-temurin:25.0.5.1_2-jdk-noble
sha256:80f67fb3d6f76e2d817d98a4cc2a9cf05f054d4e6adc5e2144bde671d722e63f
sha256:c7eef3dfeb81468533ea48c67bddaa8c7ca916454259e4d0d734d12bcff8e125
# temurin-jre-image
eclipse-temurin:25.0.5_8-jre-noble
eclipse-temurin:25.0.5.1_2-jre-noble
sha256:e3b6f7887a50f20d8f07abf279d8a81a5953fb398a9555bd9edd56b9bd15968c
sha256:2ec98aa522c472deadfd2b7c5b39bca680e33ef522a53a72f10789bdf89a6bb5

2. Trivy 0.76.2 in CI (required)

  • Files: .github/workflows/ci.yml
  • Needed when: grep -qF 'aquasec/trivy:0.76.0@' .github/workflows/ci.yml
  • Check: ! grep -qF 'aquasec/trivy:0.76.0@' .github/workflows/ci.yml
  • Why: The container image and supply chain, step 7

The Trivy image is pinned in the workflow, not in the catalog. Replace it in every step that uses it:

docker://aquasec/trivy:0.76.0@sha256:2416d1f74045b57274df1a340eee6b510cacd73c66a6ccb8da092b117eb7d222
docker://aquasec/trivy:0.76.2@sha256:8f6bb947dbc528902e11f2f5be52f7b519f6a39d5d148f41166f2040499768fb

3. Gradle 9.9.2 in the wrapper (required)

  • Files: gradle/wrapper/gradle-wrapper.properties, gradle/wrapper/gradle-wrapper.jar, gradlew, gradlew.bat
  • Needed when: ! grep -q 'gradle-9.9.2-bin.zip' gradle/wrapper/gradle-wrapper.properties
  • Check: ./gradlew --version | grep -q 'Gradle 9.9.2'
  • Why: Build and code quality, step 1

Run the wrapper task twice: the first run writes the new version and checksum, the second runs on 9.9.2 and writes its own wrapper jar and scripts.

Terminal window
./gradlew wrapper --gradle-version 9.9.2 \
--gradle-distribution-sha256-sum 971fcd7150ca4ba04852c0b2ca0d2d0ab9468e14b03473eab19528809914c76b
./gradlew wrapper --gradle-version 9.9.2 \
--gradle-distribution-sha256-sum 971fcd7150ca4ba04852c0b2ca0d2d0ab9468e14b03473eab19528809914c76b

4. Rename the forwarded headers property (required)

  • Files: src/main/resources/application.yaml
  • Needed when: grep -q 'forward-headers-strategy' src/main/resources/application.yaml
  • Check: ./gradlew build
  • Why: Security hardening, step 5

Spring Boot 4.2 deprecates server.forward-headers-strategy. Its native value is now web-server, and setting both properties stops the application at startup.

server:
forward-headers-strategy: native
request:
header:
forwarded:
strategy: web-server

Do the same in any profile file or Deployment environment variable that sets it (SERVER_FORWARD_HEADERS_STRATEGY becomes SERVER_REQUEST_HEADER_FORWARDED_STRATEGY).

5. Patch zstd in the frontend image (required)

  • Applies when: frontend is nextjs.
  • Files: frontends/web/Dockerfile
  • Needed when: test -f frontends/web/Dockerfile && ! grep -q 'libzstd1=1.5.7+dfsg-1+deb13u1' frontends/web/Dockerfile
  • Check: docker build --build-arg DEPLOYMENT_ID=check -t web-check frontends/web && docker run --rm --entrypoint dpkg-query web-check -W libzstd1 | grep -q deb13u1
  • Why: The container image and supply chain, step 7

The Node base image still ships zstd 1.5.7+dfsg-1, which Trivy reports as HIGH (CVE-2026-124851), so the image scan in CI fails. Install Debian’s fixed package next to the zlib patch in the runtime stage, and keep the zlib pin:

&& apt-get install -y --no-install-recommends zlib1g=1:1.3.dfsg+really1.3.1-1+deb13u1 \
&& apt-get install -y --no-install-recommends zlib1g=1:1.3.dfsg+really1.3.1-1+deb13u1 libzstd1=1.5.7+dfsg-1+deb13u1 \

6. Two checklist items changed their text (recommended)

  • Files: CHECKLIST.md
  • Needed when: grep -qE 'server.forward-headers-strategy pinned|otel-lgtm 0.37.0' CHECKLIST.md
  • Check: ! grep -qE 'server.forward-headers-strategy pinned|otel-lgtm 0.37.0' CHECKLIST.md
  • Why: Security hardening, step 5

SEC-06 names server.request.header.forwarded.strategy instead of server.forward-headers-strategy, and LOCAL-05 names grafana/otel-lgtm 0.41.1. Edit both lines and keep your ticks.

7. The RabbitMQ starter is spring-boot-starter-rabbitmq (required)

  • Applies when: your build depends on spring-boot-starter-amqp to talk to RabbitMQ.
  • Files: gradle/libs.versions.toml, build.gradle.kts
  • Needed when: grep -q 'spring-boot-starter-amqp' gradle/libs.versions.toml build.gradle.kts
  • Check: ./gradlew build
  • Why: RabbitMQ, step 1

In Spring Boot 4.2, spring-boot-starter-amqp is generic AMQP 1.0. Depend on spring-boot-starter-rabbitmq for RabbitMQ’s AMQP 0.9.1 client, and spring-boot-starter-amqp-rabbitmq only for RabbitMQ’s AMQP 1.0 client. Auto-configuration classes moved from org.springframework.boot.amqp to org.springframework.boot.rabbitmq; spring.rabbitmq.* properties are unchanged.

8. Plan the move off RestTemplate (recommended)

  • Applies when: your code uses RestTemplate, RestTemplateBuilder or TestRestTemplate.
  • Files: src/main/java, src/test/java
  • Needed when: grep -rqE 'RestTemplate' src
  • Check: ./gradlew compileJava compileTestJava
  • Why: HTTP clients and resilience, step 1

Spring Framework 7.1 deprecates RestTemplate for removal in 8.0 and Spring Boot 4.2 deprecates RestTemplateBuilder and TestRestTemplate. The code keeps working with deprecation warnings. Move each client to RestClient when you touch it, and tests to RestTestClient with @AutoConfigureRestTestClient.

9. Adopt the quality gates and the quality report (optional)

  • Applies when: your project was generated before the quality gates and has no gradle/quality-report directory.
  • Files: build.gradle.kts, settings.gradle.kts, gradle/libs.versions.toml, gradle/quality-report/, config/pmd/ruleset.xml, .github/workflows/ci.yml, src/test/java, CHECKLIST.md, README.md
  • Needed when: test ! -d gradle/quality-report
  • Check: ./gradlew check && jq -e '.status == "passed"' build/reports/pyahu/quality.json
  • Why: CI pipelines, step 9

New projects fail the build on complex code (PMD), untested business rules (JaCoCo, 80% of lines and 70% of branches in the domain and application packages), tests that notice no mistake (PIT, 70% of mutations) and more architecture rules (ArchUnit), and write a quality report that CI requires to say passed. To adopt them, generate the same project on start.pyahu.io with the same name, group, package and options into a temporary directory, then take from it what follows. The generator always serves the newest release: if it is past v0.1-b3, you get the newer versions of these files, and the upgrade steps of the later releases find that part done.

  1. gradle/quality-report/ and config/pmd/ruleset.xml, copied as they are.
  2. settings.gradle.kts: includeBuild("gradle/quality-report") at the top of pluginManagement.
  3. gradle/libs.versions.toml: the pmd, jacoco, pitest, pitest-junit5 and pitest-gradle-plugin versions and the pitest plugin.
  4. build.gradle.kts: the jacoco, pmd, id("io.pyahu.quality-report") and alias(libs.plugins.pitest) plugins; check("RequireExplicitNullMarking", CheckSeverity.ERROR) in the Error Prone options; and in place of your tasks.test block, everything from the comment “Fast tests on every change” to the end of tasks.check.
  5. Tests: @Tag("integration") on every test that starts the application or a container (ApplicationTest, DatabaseRolesTest and PendingMigrationsTest in a generated project), the new project’s ArchitectureTest, and its fast tests in ping/application/ while the sample ping capability is still there. Your own domain and application code needs fast tests of its own.
  6. .github/workflows/ci.yml: in place of the step “Gradle build in the pinned JDK”, every step from “Format” to “Keep the test and analysis reports”.
  7. CHECKLIST.md: the new items BLD-12, ARCH-11, TEST-10, TEST-11 and CI-15 and the new text of BLD-07; README.md: the paragraph about the quality report.

Existing code may fail the new gates. Fix the code or add tests; do not lower a limit.

10. Add AGENTS.md for coding agents (optional)

  • Applies when: your project was generated before AGENTS.md was added.
  • Files: AGENTS.md, CLAUDE.md
  • Needed when: test ! -f AGENTS.md
  • Check: test -f AGENTS.md && test -f CLAUDE.md

New projects carry an AGENTS.md with what the build enforces, what to do when it fails and which guide to read before each change, and a CLAUDE.md that points to it. Copy both from a project generated with the same options and adjust the layout table if you moved packages.

11. Link these notes from README.md and AGENTS.md (optional)

  • Files: README.md, AGENTS.md
  • Needed when: ! grep -q 'initializer.pyahu.io/releases/' AGENTS.md
  • Check: grep -q 'initializer.pyahu.io/releases/#v0-1-b3' AGENTS.md README.md

New projects link to the release notes after their baseline. Add, after the Renovate sentence of README.md:

A new baseline also changes generated files: its
[release notes](https://initializer.pyahu.io/releases/#v0-1-b3) list, from this project's baseline on, each
step to apply and how to tell whether the project still needs it.

and, before “Leave these to a person” in AGENTS.md:

## Upgrading to a newer baseline
The [release notes](https://initializer.pyahu.io/releases/#v0-1-b3) list every step after baseline v0.1-b3,
oldest first. Run a step's **Needed when** command from the repository root and apply the step only when it
exits 0, then run its **Check**. A step that changes a file listed below goes in its own pull request.

12. Record v0.1-b3 as the project’s baseline, last (required)

  • Files: README.md, AGENTS.md, gradle/libs.versions.toml, .github/workflows/ci.yml
  • Needed when: grep -qF 'baseline v0.1-b2' README.md AGENTS.md gradle/libs.versions.toml .github/workflows/ci.yml
  • Check: ! grep -qF 'v0.1-b2' README.md AGENTS.md gradle/libs.versions.toml .github/workflows/ci.yml

Once every required step above that applies, and each other step you chose, passed its check, replace v0.1-b2 with v0.1-b3 and Spring Boot 4.1.2 with Spring Boot 4.2.0 in these files. Until then the project still says v0.1-b2, so whoever picks the upgrade up starts from these notes again.

Component v0.1-b2 v0.1-b3
cosign 3.1.3 3.1.5
cyclonedx-gradle-plugin 3.5.1 3.6.1
datasource-micrometer 2.3.0 2.3.1
error-prone 2.50.0 2.53.0
errorprone-gradle-plugin 5.1.1 5.2.0
gradle 9.8.1 9.9.2
java 25.0.5+8 25.0.5.1+2
kubernetes-1.36 1.36.5 1.36.7
kubernetes-1.37 1.37.1 1.37.3
micrometer 1.17.2, from spring-boot 1.18.0, from spring-boot
micrometer-tracing 1.7.2, from spring-boot 1.8.0, from spring-boot
nullaway 0.14.2 0.14.4
openapi-generator-gradle-plugin 7.26.0 7.27.0
opentelemetry-java 1.62.0, from spring-boot 1.68.0, from spring-boot
opentelemetry-logback-appender 2.28.1-alpha 2.34.0-alpha
otel-lgtm-image 0.37.0 (sha256:57b5ab1ca661) 0.41.1 (sha256:1b852b77d7bc)
palantir-java-format 2.102.0 2.103.0
postgres-image 18.6 (sha256:74935e722416) 18.7 (sha256:64c8b0d31e4a)
renovate 44.166.0 44.258.3
spotless-gradle-plugin 8.10.4 8.12.0
spring-boot 4.1.2 4.2.0
spring-data 2026.0.2, from spring-boot 2026.1.0, from spring-boot
spring-framework 7.0.10, from spring-boot 7.1.0, from spring-boot
spring-modulith 2.1.1 2.2.0
spring-security 7.1.2, from spring-boot 7.2.0, from spring-boot
syft 1.54.1 1.57.2
temurin-jdk-image 25.0.5_8-jdk-noble (sha256:80f67fb3d6f7) 25.0.5.1_2-jdk-noble (sha256:c7eef3dfeb81)
temurin-jre-image 25.0.5_8-jre-noble (sha256:e3b6f7887a50) 25.0.5.1_2-jre-noble (sha256:2ec98aa522c4)
trivy 0.76.0 0.76.2

15 other components are unchanged.

  • Release notes, on this page, in the Agent Skill and as GitHub releases; generated projects link to them.
  • The Initializer itself runs on Spring Boot 4.2.0 and the same pins.
  • The reference docs point at the Spring Boot 4.2, Spring Framework 7.1 and Spring Security 7.2 documentation.

The first release with release notes. Its pins are kept in data/baselines/v0.1-b2.yaml so the next release can list what changed.