From 9bdfce823ea4c49d36afb2f86bdb41edbb4d9b44 Mon Sep 17 00:00:00 2001 From: Stephen Walsh <868017+stphnwlsh@users.noreply.github.com> Date: Sat, 5 Dec 2026 19:56:56 +0000 Subject: [PATCH 1/3] Use each template's own December release number in the upgrade guide --- src/content/docs/graphql/guides/upgrade.mdx | 4 ++-- src/content/docs/lambda/guides/upgrade.mdx | 4 ++-- src/content/docs/mcp/guides/upgrade.mdx | 4 ++-- src/content/docs/webapi/guides/upgrade.mdx | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/content/docs/graphql/guides/upgrade.mdx b/src/content/docs/graphql/guides/upgrade.mdx index 9688936..3decc75 100644 --- a/src/content/docs/graphql/guides/upgrade.mdx +++ b/src/content/docs/graphql/guides/upgrade.mdx @@ -49,7 +49,7 @@ Your solution came from the December 2026 release or earlier. Releases come once - **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 @@ -129,6 +129,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..86e5653 100644 --- a/src/content/docs/lambda/guides/upgrade.mdx +++ b/src/content/docs/lambda/guides/upgrade.mdx @@ -43,7 +43,7 @@ Your solution came from the December 2026 release or earlier. Releases come once - **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 @@ -123,6 +123,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..fc61eb8 100644 --- a/src/content/docs/mcp/guides/upgrade.mdx +++ b/src/content/docs/mcp/guides/upgrade.mdx @@ -49,7 +49,7 @@ Your solution came from the December 2026 release or earlier. Releases come once - **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 @@ -129,6 +129,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/webapi/guides/upgrade.mdx b/src/content/docs/webapi/guides/upgrade.mdx index 0623534..c3e2ea3 100644 --- a/src/content/docs/webapi/guides/upgrade.mdx +++ b/src/content/docs/webapi/guides/upgrade.mdx @@ -49,7 +49,7 @@ Your solution came from the December 2026 release or earlier. Releases come once - **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 @@ -129,6 +129,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). From 93b0cfe8430b7bb4b6263666b440eda0e651b000 Mon Sep 17 00:00:00 2001 From: Stephen Walsh <868017+stphnwlsh@users.noreply.github.com> Date: Sat, 5 Dec 2026 20:00:44 +0000 Subject: [PATCH 2/3] Use @ for the package version and say git falls back for removed files too --- src/content/docs/graphql/guides/upgrade.mdx | 4 ++-- src/content/docs/lambda/guides/upgrade.mdx | 4 ++-- src/content/docs/mcp/guides/upgrade.mdx | 4 ++-- src/content/docs/minimalapi/guides/upgrade.mdx | 4 ++-- src/content/docs/webapi/guides/upgrade.mdx | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/content/docs/graphql/guides/upgrade.mdx b/src/content/docs/graphql/guides/upgrade.mdx index 3decc75..2f0dcdf 100644 --- a/src/content/docs/graphql/guides/upgrade.mdx +++ b/src/content/docs/graphql/guides/upgrade.mdx @@ -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 ``` @@ -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: diff --git a/src/content/docs/lambda/guides/upgrade.mdx b/src/content/docs/lambda/guides/upgrade.mdx index 86e5653..4105ea1 100644 --- a/src/content/docs/lambda/guides/upgrade.mdx +++ b/src/content/docs/lambda/guides/upgrade.mdx @@ -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 ``` @@ -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: diff --git a/src/content/docs/mcp/guides/upgrade.mdx b/src/content/docs/mcp/guides/upgrade.mdx index fc61eb8..9be9c3b 100644 --- a/src/content/docs/mcp/guides/upgrade.mdx +++ b/src/content/docs/mcp/guides/upgrade.mdx @@ -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 ``` @@ -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: diff --git a/src/content/docs/minimalapi/guides/upgrade.mdx b/src/content/docs/minimalapi/guides/upgrade.mdx index a83246b..f02b17c 100644 --- a/src/content/docs/minimalapi/guides/upgrade.mdx +++ b/src/content/docs/minimalapi/guides/upgrade.mdx @@ -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 ``` @@ -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: diff --git a/src/content/docs/webapi/guides/upgrade.mdx b/src/content/docs/webapi/guides/upgrade.mdx index c3e2ea3..8f796b5 100644 --- a/src/content/docs/webapi/guides/upgrade.mdx +++ b/src/content/docs/webapi/guides/upgrade.mdx @@ -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 ``` @@ -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: From 3f47538e30918894606b1cc82e300a84e7d76053 Mon Sep 17 00:00:00 2001 From: Stephen Walsh <868017+stphnwlsh@users.noreply.github.com> Date: Sat, 5 Dec 2026 20:12:51 +0000 Subject: [PATCH 3/3] Make the upgrade commands work in any shell and say what a partial upgrade costs --- src/content/docs/graphql/guides/upgrade.mdx | 9 ++++++--- src/content/docs/lambda/guides/upgrade.mdx | 9 ++++++--- src/content/docs/mcp/guides/upgrade.mdx | 9 ++++++--- src/content/docs/minimalapi/guides/upgrade.mdx | 9 ++++++--- src/content/docs/webapi/guides/upgrade.mdx | 9 ++++++--- 5 files changed, 30 insertions(+), 15 deletions(-) diff --git a/src/content/docs/graphql/guides/upgrade.mdx b/src/content/docs/graphql/guides/upgrade.mdx index 2f0dcdf..d7b7335 100644 --- a/src/content/docs/graphql/guides/upgrade.mdx +++ b/src/content/docs/graphql/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` |