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.
Unreleased, on start.pyahu.io now
Section titled “Unreleased, on start.pyahu.io now”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.
Upgrade a project generated on v0.1-b10
Section titled “Upgrade a project generated on v0.1-b10”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.
Other changes
Section titled “Other changes”- A project with the Next.js frontend gets
frontends/web/AGENTS.md, which points to the rootAGENTS.mdand the Next.js guides of its baseline and carries thenextjs-agent-rulesblock of Next.js 16.4, the onenext devwrites when it detects an AI coding agent.
v0.1-b10, 2026-11-29
Section titled “v0.1-b10, 2026-11-29”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.
Upgrade a project generated on v0.1-b9
Section titled “Upgrade a project generated on v0.1-b9”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:
git clone --depth 1 --branch <baseline> https://github.com/pyahu/initializer /tmp/pyahu-initializermkdir -p .agents/skillscp -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.
Versions
Section titled “Versions”| Component | v0.1-b9 | v0.1-b10 |
|---|---|---|
| pyahu-cli | 0.18.0 | 0.19.0 |
51 other components are unchanged.
Other changes
Section titled “Other changes”- Every project and every monorepo gets
.agents/skills/pyahu-production-guides/, the Agent Skill ofskills/as it is, and itsAGENTS.mda section “Pyahu in this project”: where the guides of the baseline are, that tools come from the Pyahu Toolchain, local dependencies frompyahu.yamlunder the CLI’s service keys (orcompose.yml) and routine commands frommise.toml, and that decisions against a checklist item are written inCHECKLIST.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.mdandAGENTS.mdask for it, andAGENTS.mdnames the stack file’s service keys (redisis Valkey) and tells a coding tool to runpyahu validateafter each change topyahu.yaml.
v0.1-b9, 2026-11-29
Section titled “v0.1-b9, 2026-11-29”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.
Upgrade a project generated on v0.1-b8
Section titled “Upgrade a project generated on v0.1-b8”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, thecluster.registryblock and, with PostgreSQL, thesecretsblock at the end. deploy/overlays/local/, all three files.- The
local)line ofdeploy/apply.sh, the usage line above it and, with a frontend, the twotest "$environment" = local ||lines that leave the frontend out of the local environment. - The
cluster:deploytask ofmise.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, thecluster.registryblock and thesecretsblock at the end. - For each vertical,
verticals/<vertical>/service/deploy/overlays/local/and thelocal)line of itsdeploy/apply.sh. - The
cluster:deploy:<vertical>tasks ofmise.toml.
The registry belongs to the cluster, so recreate it once: pyahu down, then
mise run cluster:deploy:<vertical>.
Versions
Section titled “Versions”| Component | v0.1-b8 | v0.1-b9 |
|---|---|---|
| pyahu-cli | 0.17.0 | 0.18.0 |
51 other components are unchanged.
Guide steps that changed
Section titled “Guide steps that changed”- Local development, step 11: Step 11 runs the service in the local cluster with
mise run cluster:deploy: a registry next to the cluster, alocaloverlay of the service’s own manifests applied bydeploy/apply.sh, the same issuer inside the cluster and the roles as Secrets. The frontend stays on the laptop.
Other changes
Section titled “Other changes”- 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, anddeploy.sh), alocalenvironment indeploy/apply.shand the taskcluster:deploy; a monorepo getscluster:deploy:<vertical>per vertical.pyahu.yamlturns on the registry on127.0.0.1:5111and, with PostgreSQL, declares the Secrets<name>-db-appand<name>-db-migratorwith the local role credentials.deploy.shkeeps only the last local image on the laptop. In the local environmentdeploy/apply.shchecks 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.pemandtruststore.p12,cluster.registry, and literal Secret values. - Checklist: new LOCAL-16 (the service in the local cluster with its own manifests and apply script).
v0.1-b8, 2026-11-29
Section titled “v0.1-b8, 2026-11-29”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.
Upgrade a project generated on v0.1-b7
Section titled “Upgrade a project generated on v0.1-b7”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.bootRunblock that starts with “A debugger attaches on localhost:5005”, inbuild.gradle.kts. src/main/resources/logback-spring.xml, which letsbootRunprint 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 ownrun:anddev:tasks, like the others.- In
build-logic/src/main/kotlin/platform.service.gradle.kts, theenvironment("APP_LOGS_CONSOLE", "text")line and thedebugOptionsblock at the start of thebootRunblock. - Each vertical’s
src/main/resources/logback-spring.xml, which letsbootRunprint the console as text. - In each
verticals/<vertical>/service/build.gradle.kts, thedebugOptions { port = ... }line oftasks.bootRun: the vertical’s HTTP port plus 3.
Run mise trust once, then mise run dev, or mise run dev:<vertical> for one.
Versions
Section titled “Versions”| Component | v0.1-b7 | v0.1-b8 |
|---|---|---|
| mise | (new) | 2026.11.12 |
51 other components are unchanged.
Guide steps that changed
Section titled “Guide steps that changed”- Local development, step 9: New step 9: the project’s tasks in
mise.toml,mise run devwith 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 --continuousas 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.
Other changes
Section titled “Other changes”- A project of one service gets
mise.tomlwith the tasksdev,run,compile,compile:watchandcheck; with the Pyahu CLI alsodeps:up,deps:down,deps:statusand, with OIDC,token; with a frontendwebandweb:install.bootRunopens a debug port onlocalhost:5005that never suspends the service, and prints the console as text:logback-spring.xmlpicks its text or its JSON console appender byapp.logs.console, JSON by default, so every other environment and the tests keep the JSON. - A monorepo gets a root
mise.tomlwith the same tasks plusrun:<vertical>anddev:<vertical>for each vertical. The service convention plugin turns on the debug port of everybootRun, 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.tomltakes it as itsmin_version. - Checklist: new LOCAL-13 (one command,
mise run dev, and amise.tomlwithout 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).
v0.1-b7, 2026-11-29
Section titled “v0.1-b7, 2026-11-29”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.
Upgrade a project generated on v0.1-b6
Section titled “Upgrade a project generated on v0.1-b6”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.bootRunblock that starts with “On the laptop the service runs against the stack of pyahu.yaml”, inbuild.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, thediscoveryUrldefault infrontends/web/src/auth.tsand the.env*.localline offrontends/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, thebootRunblock at the end, and remove the"developmentOnly"(lib("spring-boot-docker-compose"))line. - In each vertical with a database, the
environment(...)lines oftasks.bootRuninverticals/<vertical>/service/build.gradle.kts. - In each vertical’s
src/main/resources/application.yaml, removespring.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.
Versions
Section titled “Versions”| 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.
Guide steps that changed
Section titled “Guide steps that changed”- Local development, step 2: New step 2: the dependencies in
pyahu.yaml, started bypyahu up, andbootRunpassing 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 upwrites, andpyahu tokenfor curl and grpcurl. - Monorepos with several services, step 8: One
pyahu.yamlat the root replaces a Compose file per vertical andplatform.compose.yaml.
Other changes
Section titled “Other changes”- A project of one service takes
local=pyahu(default) orlocal=compose; start.pyahu.io shows both. With the Pyahu CLI it getspyahu.yamlinstead ofcompose.ymland nospring-boot-docker-compose.bootRunconnects as<name>_app, migrates as<name>_migrator, sends telemetry tohttp://localhost:4318and, with OIDC, trusts the local CA. The issuer’s local default ishttps://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, whichpyahu upwrites and git ignores, and trusts the local CA ininstrumentation.tsin development only.local=composegives 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.yamlwith a database per vertical that has one, each seeded by itsdb/roles.sql, and one ZITADEL project named after the platform.compose.yaml,platform.compose.yamland each vertical’scompose.yamlare gone, withspring-boot-docker-composeandspring.docker.compose.lifecycle-management. The service convention plugin passes the OTLP endpoint and the trust store to every vertical’sbootRun. - The baseline adds the Pyahu CLI 0.17.0, which generated projects need on the laptop, and ZITADEL 4.15.2, the version
pyahu.yamlnames. The comments ofdb/roles.sqlanddb/init-local.shname 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.
v0.1-b6, 2026-11-28
Section titled “v0.1-b6, 2026-11-28”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.
Versions
Section titled “Versions”| Component | v0.1-b5 | v0.1-b6 |
|---|
49 other components are unchanged.
Guide steps that changed
Section titled “Guide steps that changed”- gRPC services, step 3: The build names
protocand the gRPC generator at the versions Boot manages: with protobuf Gradle plugin 0.10.1, Boot’s own setting leftprotocwithout 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.
Other changes
Section titled “Other changes”- A project of one service takes
api=grpc,restorgrpc+rest, gRPC by default; start.pyahu.io shows a gRPC and a REST box, gRPC ticked. With gRPC it getssrc/main/protoandbuf.yaml, a gRPC adapter for the sample, with OIDC the rules ofGrpcSecurityConfig, named health checks, reflection on forbootRunonly, port 9090 in its Deployment, Service and NetworkPolicy, a headless Service, Guava constrained to 33.8.0-jre, and CI steps forbuf lint,buf formatandbuf breakingand a smoke test over gRPC. Without REST it has no OpenAPI contract and no controller.api=restgives 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/genasbuf generatewithprotoc-gen-es2.17.0 writes it; CI runsnpm run proto:check. The Deployment gives itAPI_GRPC_URLand its NetworkPolicy lets it reach port 9090. - NEXT-02 and NEXT-12 now name both clients: types from the OpenAPI document or from the
.protofiles, and the trace context throughfetch.propagateContextUrlsor a gRPC interceptor.
v0.1-b5, 2026-11-28
Section titled “v0.1-b5, 2026-11-28”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.
Upgrade a project generated on v0.1-b4
Section titled “Upgrade a project generated on v0.1-b4”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.
Versions
Section titled “Versions”| 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.
Other changes
Section titled “Other changes”- 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-coreandcom.google.protobuf:protobuf-java, the jars a fixture run resolves, instead of their BOMs.
v0.1-b4, 2026-11-28
Section titled “v0.1-b4, 2026-11-28”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.
Upgrade a project generated on v0.1-b3
Section titled “Upgrade a project generated on v0.1-b3”1. A project with one service drops the monorepo checklist items (optional)
- Files:
CHECKLIST.md - Needed when:
grep -q 'MONO-01' CHECKLIST.md - Check:
! grep -q 'MONO-' CHECKLIST.md - Why: Monorepos with several services, step 1
The monorepo items (MONO-01 to MONO-13) now go only into generated monorepos. Delete the “Monorepos with
several services” section of CHECKLIST.md.
Versions
Section titled “Versions”| 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.
Guide steps that changed
Section titled “Guide steps that changed”- Monorepos with several services, step 2: A new step on the layout: one folder per vertical,
verticals/<name>/, with its service inservice/and its contract inapi/, and room for its web app inweb/(not generated yet); flat project names and an owner for every vertical. - Monorepos with several services, step 3: The service convention plugin fails the build when a service depends on another service’s project.
- Monorepos with several services, step 4: A contract lives in its service’s
apiproject, generated once and checked againstmainin CI. - Monorepos with several services, step 7: A new step on the configuration cache and a build cache that only builds of
mainsave. - Monorepos with several services, step 8: Each vertical has its own
AGENTS.mdand its service its owncompose.yaml. - Monorepos with several services, step 9: One workflow builds every project with the cache of
mainand runs the convention plugins’ tests. - gRPC services, step 1: gRPC is the default API for what your own services and frontends call; REST is added next to it for outside callers. The guide gains steps on tokens (
grpc-auth) and streams (grpc-streaming) and corrects the versions Boot 4.2 manages: Spring gRPC 1.1.2, gRPC Java 1.84.1, Protocol Buffers 4.36.2. - Protobuf contracts, step 1: A new guide on the
.protocontract, from who owns it to how it changes without breaking clients. - gRPC behind a Next.js frontend, step 1: A new guide on calling gRPC services from the Next.js server, never from the browser.
Other changes
Section titled “Other changes”- 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.mdlists 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, apigrpc,restorgrpc+rest); on start.pyahu.io each vertical has a gRPC and a REST box, gRPC ticked. A gRPC vertical gets its contract inapi/src/main/protowith abuf.yaml, a gRPC adapter for the sample and, with OIDC, the rules ofGrpcSecurityConfigthat 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 runsbuf lint,buf formatandbuf breakingon 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
openApiValidateonly where there is an OpenAPI contract, so a service whose contract is in.protofiles passes it. CI runsbuf lintandbuf formatalso 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 inservice/and its contract project inapi/. Each vertical’sArchitectureTestnames 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.
v0.1-b3, 2026-11-27
Section titled “v0.1-b3, 2026-11-27”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.
Upgrade a project generated on v0.1-b2
Section titled “Upgrade a project generated on v0.1-b2”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-plugin3.5.13.6.1# datasource-micrometer2.3.02.3.1# error-prone2.50.02.53.0# errorprone-gradle-plugin5.1.15.2.0# nullaway0.14.20.14.4# openapi-generator-gradle-plugin7.26.07.27.0# opentelemetry-logback-appender2.28.1-alpha2.34.0-alpha# otel-lgtm-imagegrafana/otel-lgtm:0.37.0grafana/otel-lgtm:0.41.1sha256:57b5ab1ca6619beb180174e2fccce04762470750669d043f544b4726d0582d07sha256:1b852b77d7bcadb7699bfe7c78a51d059dff85168de674728cf7abf4474645e5# palantir-java-format2.102.02.103.0# postgres-imagepostgres:18.6postgres:18.7sha256:74935e72241653ca55e0414067e6d8763aceb8a810eb51b452253ec3dcfc4336sha256:64c8b0d31e4ab6ea665e8426ea406a94bf52de3c05b3a4a8bf713704eefa9328# spotless-gradle-plugin8.10.48.12.0# spring-boot4.1.24.2.0# spring-modulith2.1.12.2.0# temurin-jdk-imageeclipse-temurin:25.0.5_8-jdk-nobleeclipse-temurin:25.0.5.1_2-jdk-noblesha256:80f67fb3d6f76e2d817d98a4cc2a9cf05f054d4e6adc5e2144bde671d722e63fsha256:c7eef3dfeb81468533ea48c67bddaa8c7ca916454259e4d0d734d12bcff8e125# temurin-jre-imageeclipse-temurin:25.0.5_8-jre-nobleeclipse-temurin:25.0.5.1_2-jre-noblesha256:e3b6f7887a50f20d8f07abf279d8a81a5953fb398a9555bd9edd56b9bd15968csha256:2ec98aa522c472deadfd2b7c5b39bca680e33ef522a53a72f10789bdf89a6bb52. 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:2416d1f74045b57274df1a340eee6b510cacd73c66a6ccb8da092b117eb7d222docker://aquasec/trivy:0.76.2@sha256:8f6bb947dbc528902e11f2f5be52f7b519f6a39d5d148f41166f2040499768fb3. 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.
./gradlew wrapper --gradle-version 9.9.2 \ --gradle-distribution-sha256-sum 971fcd7150ca4ba04852c0b2ca0d2d0ab9468e14b03473eab19528809914c76b./gradlew wrapper --gradle-version 9.9.2 \ --gradle-distribution-sha256-sum 971fcd7150ca4ba04852c0b2ca0d2d0ab9468e14b03473eab19528809914c76b4. 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-serverDo 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.
gradle/quality-report/andconfig/pmd/ruleset.xml, copied as they are.settings.gradle.kts:includeBuild("gradle/quality-report")at the top ofpluginManagement.gradle/libs.versions.toml: thepmd,jacoco,pitest,pitest-junit5andpitest-gradle-pluginversions and thepitestplugin.build.gradle.kts: thejacoco,pmd,id("io.pyahu.quality-report")andalias(libs.plugins.pitest)plugins;check("RequireExplicitNullMarking", CheckSeverity.ERROR)in the Error Prone options; and in place of yourtasks.testblock, everything from the comment “Fast tests on every change” to the end oftasks.check.- Tests:
@Tag("integration")on every test that starts the application or a container (ApplicationTest,DatabaseRolesTestandPendingMigrationsTestin a generated project), the new project’sArchitectureTest, and its fast tests inping/application/while the samplepingcapability is still there. Your own domain and application code needs fast tests of its own. .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”.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, eachstep 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 itexits 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.
Versions
Section titled “Versions”| 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.
Guide steps that changed
Section titled “Guide steps that changed”- Security hardening, step 5: Pins
server.request.header.forwarded.strategy(web-server), the Spring Boot 4.2 name. - HTTP clients and resilience, step 1: RestTemplate is deprecated for removal; RestTemplateBuilder and TestRestTemplate with it.
- RabbitMQ, step 1: Adds
spring-boot-starter-rabbitmq, no longerspring-boot-starter-amqp. - Build and code quality, step 1: Gradle 9.9.2 and its checksum.
- Observability, step 3: The OpenTelemetry Logback appender 2.34.0-alpha for SDK 1.68.0.
Other changes
Section titled “Other changes”- 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.
v0.1-b2
Section titled “v0.1-b2”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.