diff --git a/src/content/docs/graphql/guides/upgrade.mdx b/src/content/docs/graphql/guides/upgrade.mdx
index 9688936..d7b7335 100644
--- a/src/content/docs/graphql/guides/upgrade.mdx
+++ b/src/content/docs/graphql/guides/upgrade.mdx
@@ -43,13 +43,13 @@ Each option is a `dotnet new` option:
| `authentication` | `--include-auth`, with `--authority` and `--audience` from inside it. Leave all three off when it's `null` |
-Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --reverse --format=%cs | head -1`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanGraphQLApi/releases). The options are in the solution too:
+Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --max-parents=0 --format=%cs`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanGraphQLApi/releases). The options are in the solution too:
- **Name**: your `.slnx` file's name, without the extension.
- **Author name**: `` in `src/Presentation/Presentation.csproj`. Skip it if that still says Stephen Walsh, and thanks for the credit.
- **Authentication**: you used `--include-auth` if `src/Presentation/Authentication` exists. The authority and audience are under `Authentication` in `src/Presentation/appsettings.json`, as they were when you started.
-The tag on the releases page, such as `2026.12.02.374`, works as the version below. NuGet shows the same version as `2026.12.2.374`.
+The tag on the releases page, such as `2026.12.02.245`, works as the version below. NuGet shows the same version as `2026.12.2.245`.
## Upgrade
@@ -61,7 +61,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
1. Generate a copy of the release you started from:
```bash
- dotnet new install CleanGraphQLApi.Template::2027.01.01.412
+ dotnet new install CleanGraphQLApi.Template@2027.01.01.412
dotnet new cleangraphqlapi --name WorksOnMyMachine.Movies --authorName "Jane Citizen" --include-auth --authority https://login.example.com --output ../upgrade/old --no-restore
```
@@ -75,7 +75,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
3. Diff the two copies into a patch:
```bash
- (cd ../upgrade && git diff --no-index --binary old new > template.patch)
+ git -C ../upgrade diff --no-index --binary --output=template.patch old new
```
An empty patch means the template hasn't changed anything that touches your solution. You're up to date; go and have a coffee.
@@ -90,7 +90,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
Files you never touched just take the new version. Files you changed get merged with the template's changes. Where you both changed the same lines, git leaves conflict markers, exactly like a merge, and `git status` lists the file as both modified. Sort each one out, then `git add` it.
- Git says "Falling back to direct application" for files the template added. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
+ Git says "Falling back to direct application" for files the template added or removed. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
5. Build, test and check the format, as CI would:
@@ -104,9 +104,10 @@ The commands run from your solution's folder and put their work in an `upgrade`
```bash
git commit -m "Upgrade to template release 2027.02.01.430"
- rm -rf ../upgrade
```
+ Then delete the `upgrade` folder. It's done its job.
+
@@ -121,6 +122,8 @@ The patch is yours to edit. Skip whole folders with `--exclude`, or take only so
git apply --3way -p2 --exclude='.agents/*' ../upgrade/template.patch
```
+One catch: the patch always moves `.lmca.json` to the new release, so the next upgrade starts from there and won't offer you the parts you skipped. If you might want them later, keep the patch somewhere, or add `--exclude='.lmca.json'` and stay on the old release until you've taken the lot.
+
Or open `template.patch` and read it first. Anything in `src/Application` and `src/Infrastructure` is the same in all five templates, so a fix there is usually worth having. Anything in `src/Presentation` is the API itself, where your own changes most likely live.
Coding agents are good at this. Ask yours to apply the patch, resolve the conflicts so it keeps your changes and the template's, and run the checks. It works as Jacques, so it already knows those checks from `AGENTS.md`.
@@ -129,6 +132,6 @@ Coding agents are good at this. Ask yours to apply the patch, resolve the confli
Each release's notes on GitHub link here. Each release gets a few lines below on what's worth bringing in and anything that needs care, newest first.
-### 2026.12.02.374
+### 2026.12.02.245
The release we launched with. Solutions made from it don't have a `.lmca.json`; see [Find your release and options](#find-your-release-and-options).
diff --git a/src/content/docs/lambda/guides/upgrade.mdx b/src/content/docs/lambda/guides/upgrade.mdx
index bef75bd..6f616c8 100644
--- a/src/content/docs/lambda/guides/upgrade.mdx
+++ b/src/content/docs/lambda/guides/upgrade.mdx
@@ -38,12 +38,12 @@ Each option is a `dotnet new` option:
| `authorName` | `--authorName` |
-Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --reverse --format=%cs | head -1`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanLambdaFunction/releases). The options are in the solution too:
+Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --max-parents=0 --format=%cs`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanLambdaFunction/releases). The options are in the solution too:
- **Name**: your `.slnx` file's name, without the extension.
- **Author name**: `` in `src/Presentation/Presentation.csproj`. Skip it if that still says Stephen Walsh, and thanks for the credit.
-The tag on the releases page, such as `2026.12.02.374`, works as the version below. NuGet shows the same version as `2026.12.2.374`.
+The tag on the releases page, such as `2026.12.02.208`, works as the version below. NuGet shows the same version as `2026.12.2.208`.
## Upgrade
@@ -55,7 +55,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
1. Generate a copy of the release you started from:
```bash
- dotnet new install CleanLambdaFunction.Template::2027.01.01.412
+ dotnet new install CleanLambdaFunction.Template@2027.01.01.412
dotnet new cleanlambdafunction --name WorksOnMyMachine.Reviews --authorName "Jane Citizen" --output ../upgrade/old --no-restore
```
@@ -69,7 +69,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
3. Diff the two copies into a patch:
```bash
- (cd ../upgrade && git diff --no-index --binary old new > template.patch)
+ git -C ../upgrade diff --no-index --binary --output=template.patch old new
```
An empty patch means the template hasn't changed anything that touches your solution. You're up to date; go and have a coffee.
@@ -84,7 +84,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
Files you never touched just take the new version. Files you changed get merged with the template's changes. Where you both changed the same lines, git leaves conflict markers, exactly like a merge, and `git status` lists the file as both modified. Sort each one out, then `git add` it.
- Git says "Falling back to direct application" for files the template added. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
+ Git says "Falling back to direct application" for files the template added or removed. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
5. Build, test and check the format, as CI would:
@@ -98,9 +98,10 @@ The commands run from your solution's folder and put their work in an `upgrade`
```bash
git commit -m "Upgrade to template release 2027.02.01.430"
- rm -rf ../upgrade
```
+ Then delete the `upgrade` folder. It's done its job.
+
@@ -115,6 +116,8 @@ The patch is yours to edit. Skip whole folders with `--exclude`, or take only so
git apply --3way -p2 --exclude='.agents/*' ../upgrade/template.patch
```
+One catch: the patch always moves `.lmca.json` to the new release, so the next upgrade starts from there and won't offer you the parts you skipped. If you might want them later, keep the patch somewhere, or add `--exclude='.lmca.json'` and stay on the old release until you've taken the lot.
+
Or open `template.patch` and read it first. Anything in `src/Application` and `src/Infrastructure` is the same in all five templates, so a fix there is usually worth having. Anything in `src/Presentation` is the function itself, where your own changes most likely live.
Coding agents are good at this. Ask yours to apply the patch, resolve the conflicts so it keeps your changes and the template's, and run the checks. It works as Jacques, so it already knows those checks from `AGENTS.md`.
@@ -123,6 +126,6 @@ Coding agents are good at this. Ask yours to apply the patch, resolve the confli
Each release's notes on GitHub link here. Each release gets a few lines below on what's worth bringing in and anything that needs care, newest first.
-### 2026.12.02.374
+### 2026.12.02.208
The release we launched with. Solutions made from it don't have a `.lmca.json`; see [Find your release and options](#find-your-release-and-options).
diff --git a/src/content/docs/mcp/guides/upgrade.mdx b/src/content/docs/mcp/guides/upgrade.mdx
index dac75c5..66b7dbb 100644
--- a/src/content/docs/mcp/guides/upgrade.mdx
+++ b/src/content/docs/mcp/guides/upgrade.mdx
@@ -43,13 +43,13 @@ Each option is a `dotnet new` option:
| `authentication` | `--include-auth`, with `--authority` and `--audience` from inside it. Leave all three off when it's `null` |
-Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --reverse --format=%cs | head -1`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol/releases). The options are in the solution too:
+Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --max-parents=0 --format=%cs`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanModelContextProtocol/releases). The options are in the solution too:
- **Name**: your `.slnx` file's name, without the extension.
- **Author name**: `` in `src/Presentation/Presentation.csproj`. Skip it if that still says Stephen Walsh, and thanks for the credit.
- **Authentication**: you used `--include-auth` if `src/Presentation/Authentication` exists. The authority and audience are under `Authentication` in `src/Presentation/appsettings.json`, as they were when you started.
-The tag on the releases page, such as `2026.12.02.374`, works as the version below. NuGet shows the same version as `2026.12.2.374`.
+The tag on the releases page, such as `2026.12.02.258`, works as the version below. NuGet shows the same version as `2026.12.2.258`.
## Upgrade
@@ -61,7 +61,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
1. Generate a copy of the release you started from:
```bash
- dotnet new install CleanModelContextProtocol.Template::2027.01.01.412
+ dotnet new install CleanModelContextProtocol.Template@2027.01.01.412
dotnet new cleanmodelcontextprotocol --name WorksOnMyMachine.Movies --authorName "Jane Citizen" --include-auth --authority https://login.example.com --output ../upgrade/old --no-restore
```
@@ -75,7 +75,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
3. Diff the two copies into a patch:
```bash
- (cd ../upgrade && git diff --no-index --binary old new > template.patch)
+ git -C ../upgrade diff --no-index --binary --output=template.patch old new
```
An empty patch means the template hasn't changed anything that touches your solution. You're up to date; go and have a coffee.
@@ -90,7 +90,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
Files you never touched just take the new version. Files you changed get merged with the template's changes. Where you both changed the same lines, git leaves conflict markers, exactly like a merge, and `git status` lists the file as both modified. Sort each one out, then `git add` it.
- Git says "Falling back to direct application" for files the template added. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
+ Git says "Falling back to direct application" for files the template added or removed. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
5. Build, test and check the format, as CI would:
@@ -104,9 +104,10 @@ The commands run from your solution's folder and put their work in an `upgrade`
```bash
git commit -m "Upgrade to template release 2027.02.01.430"
- rm -rf ../upgrade
```
+ Then delete the `upgrade` folder. It's done its job.
+
@@ -121,6 +122,8 @@ The patch is yours to edit. Skip whole folders with `--exclude`, or take only so
git apply --3way -p2 --exclude='.agents/*' ../upgrade/template.patch
```
+One catch: the patch always moves `.lmca.json` to the new release, so the next upgrade starts from there and won't offer you the parts you skipped. If you might want them later, keep the patch somewhere, or add `--exclude='.lmca.json'` and stay on the old release until you've taken the lot.
+
Or open `template.patch` and read it first. Anything in `src/Application` and `src/Infrastructure` is the same in all five templates, so a fix there is usually worth having. Anything in `src/Presentation` is the server itself, where your own changes most likely live.
Coding agents are good at this. Ask yours to apply the patch, resolve the conflicts so it keeps your changes and the template's, and run the checks. It works as Jacques, so it already knows those checks from `AGENTS.md`.
@@ -129,6 +132,6 @@ Coding agents are good at this. Ask yours to apply the patch, resolve the confli
Each release's notes on GitHub link here. Each release gets a few lines below on what's worth bringing in and anything that needs care, newest first.
-### 2026.12.02.374
+### 2026.12.02.258
The release we launched with. Solutions made from it don't have a `.lmca.json`; see [Find your release and options](#find-your-release-and-options).
diff --git a/src/content/docs/minimalapi/guides/upgrade.mdx b/src/content/docs/minimalapi/guides/upgrade.mdx
index a83246b..a54ebb4 100644
--- a/src/content/docs/minimalapi/guides/upgrade.mdx
+++ b/src/content/docs/minimalapi/guides/upgrade.mdx
@@ -43,7 +43,7 @@ Each option is a `dotnet new` option:
| `authentication` | `--include-auth`, with `--authority` and `--audience` from inside it. Leave all three off when it's `null` |
-Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --reverse --format=%cs | head -1`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanMinimalApi/releases). The options are in the solution too:
+Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --max-parents=0 --format=%cs`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanMinimalApi/releases). The options are in the solution too:
- **Name**: your `.slnx` file's name, without the extension.
- **Author name**: `` in `src/Presentation/Presentation.csproj`. Skip it if that still says Stephen Walsh, and thanks for the credit.
@@ -61,7 +61,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
1. Generate a copy of the release you started from:
```bash
- dotnet new install CleanMinimalApi.Template::2027.01.01.412
+ dotnet new install CleanMinimalApi.Template@2027.01.01.412
dotnet new cleanminimalapi --name WorksOnMyMachine.Movies --authorName "Jane Citizen" --include-auth --authority https://login.example.com --output ../upgrade/old --no-restore
```
@@ -75,7 +75,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
3. Diff the two copies into a patch:
```bash
- (cd ../upgrade && git diff --no-index --binary old new > template.patch)
+ git -C ../upgrade diff --no-index --binary --output=template.patch old new
```
An empty patch means the template hasn't changed anything that touches your solution. You're up to date; go and have a coffee.
@@ -90,7 +90,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
Files you never touched just take the new version. Files you changed get merged with the template's changes. Where you both changed the same lines, git leaves conflict markers, exactly like a merge, and `git status` lists the file as both modified. Sort each one out, then `git add` it.
- Git says "Falling back to direct application" for files the template added. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
+ Git says "Falling back to direct application" for files the template added or removed. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
5. Build, test and check the format, as CI would:
@@ -104,9 +104,10 @@ The commands run from your solution's folder and put their work in an `upgrade`
```bash
git commit -m "Upgrade to template release 2027.02.01.430"
- rm -rf ../upgrade
```
+ Then delete the `upgrade` folder. It's done its job.
+
@@ -121,6 +122,8 @@ The patch is yours to edit. Skip whole folders with `--exclude`, or take only so
git apply --3way -p2 --exclude='.agents/*' ../upgrade/template.patch
```
+One catch: the patch always moves `.lmca.json` to the new release, so the next upgrade starts from there and won't offer you the parts you skipped. If you might want them later, keep the patch somewhere, or add `--exclude='.lmca.json'` and stay on the old release until you've taken the lot.
+
Or open `template.patch` and read it first. Anything in `src/Application` and `src/Infrastructure` is the same in all five templates, so a fix there is usually worth having. Anything in `src/Presentation` is the API itself, where your own changes most likely live.
Coding agents are good at this. Ask yours to apply the patch, resolve the conflicts so it keeps your changes and the template's, and run the checks. It works as Jacques, so it already knows those checks from `AGENTS.md`.
diff --git a/src/content/docs/webapi/guides/upgrade.mdx b/src/content/docs/webapi/guides/upgrade.mdx
index 0623534..faad6eb 100644
--- a/src/content/docs/webapi/guides/upgrade.mdx
+++ b/src/content/docs/webapi/guides/upgrade.mdx
@@ -43,13 +43,13 @@ Each option is a `dotnet new` option:
| `authentication` | `--include-auth`, with `--authority` and `--audience` from inside it. Leave all three off when it's `null` |
-Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --reverse --format=%cs | head -1`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanWebApi/releases). The options are in the solution too:
+Your solution came from the December 2026 release or earlier. Releases come once a month, so the date of your first commit tells you which one: `git log --max-parents=0 --format=%cs`, then pick the last release on or before that date from the [releases page](https://github.com/LeanMeanCleanApps/CleanWebApi/releases). The options are in the solution too:
- **Name**: your `.slnx` file's name, without the extension.
- **Author name**: `` in `src/Presentation/Presentation.csproj`. Skip it if that still says Stephen Walsh, and thanks for the credit.
- **Authentication**: you used `--include-auth` if `src/Presentation/Authentication` exists. The authority and audience are under `Authentication` in `src/Presentation/appsettings.json`, as they were when you started.
-The tag on the releases page, such as `2026.12.02.374`, works as the version below. NuGet shows the same version as `2026.12.2.374`.
+The tag on the releases page, such as `2026.12.02.229`, works as the version below. NuGet shows the same version as `2026.12.2.229`.
## Upgrade
@@ -61,7 +61,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
1. Generate a copy of the release you started from:
```bash
- dotnet new install CleanWebApi.Template::2027.01.01.412
+ dotnet new install CleanWebApi.Template@2027.01.01.412
dotnet new cleanwebapi --name WorksOnMyMachine.Movies --authorName "Jane Citizen" --include-auth --authority https://login.example.com --output ../upgrade/old --no-restore
```
@@ -75,7 +75,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
3. Diff the two copies into a patch:
```bash
- (cd ../upgrade && git diff --no-index --binary old new > template.patch)
+ git -C ../upgrade diff --no-index --binary --output=template.patch old new
```
An empty patch means the template hasn't changed anything that touches your solution. You're up to date; go and have a coffee.
@@ -90,7 +90,7 @@ The commands run from your solution's folder and put their work in an `upgrade`
Files you never touched just take the new version. Files you changed get merged with the template's changes. Where you both changed the same lines, git leaves conflict markers, exactly like a merge, and `git status` lists the file as both modified. Sort each one out, then `git add` it.
- Git says "Falling back to direct application" for files the template added. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
+ Git says "Falling back to direct application" for files the template added or removed. That's fine; there was nothing to merge them with. The patch updates `.lmca.json` too, so the next upgrade starts from here.
5. Build, test and check the format, as CI would:
@@ -104,9 +104,10 @@ The commands run from your solution's folder and put their work in an `upgrade`
```bash
git commit -m "Upgrade to template release 2027.02.01.430"
- rm -rf ../upgrade
```
+ Then delete the `upgrade` folder. It's done its job.
+
@@ -121,6 +122,8 @@ The patch is yours to edit. Skip whole folders with `--exclude`, or take only so
git apply --3way -p2 --exclude='.agents/*' ../upgrade/template.patch
```
+One catch: the patch always moves `.lmca.json` to the new release, so the next upgrade starts from there and won't offer you the parts you skipped. If you might want them later, keep the patch somewhere, or add `--exclude='.lmca.json'` and stay on the old release until you've taken the lot.
+
Or open `template.patch` and read it first. Anything in `src/Application` and `src/Infrastructure` is the same in all five templates, so a fix there is usually worth having. Anything in `src/Presentation` is the API itself, where your own changes most likely live.
Coding agents are good at this. Ask yours to apply the patch, resolve the conflicts so it keeps your changes and the template's, and run the checks. It works as Jacques, so it already knows those checks from `AGENTS.md`.
@@ -129,6 +132,6 @@ Coding agents are good at this. Ask yours to apply the patch, resolve the confli
Each release's notes on GitHub link here. Each release gets a few lines below on what's worth bringing in and anything that needs care, newest first.
-### 2026.12.02.374
+### 2026.12.02.229
The release we launched with. Solutions made from it don't have a `.lmca.json`; see [Find your release and options](#find-your-release-and-options).