Skip to content

Commit 0abd879

Browse files
committed
Describe the maintenance line without hardcoding 1.28
SECURITY.md and RELEASE.md named the maintenance line as 1.28.x / v1.28.Z, which went stale as soon as v1.29.0 was tagged. Refer to "the newest 1.x release" and v1.X.Y instead so the policy text no longer needs an edit on every maintenance release, and simplify the pinning advice to the operative <2 upper bound. No-Verification-Needed: doc-only change
1 parent 6f69a37 commit 0abd879

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

RELEASE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ own: a `main` tag builds and publishes two distributions (`mcp` and
1919
| Line | Branch | Tag | GitHub release flags |
2020
| ---------------------------- | ------ | ------------------------- | ------------------------------------- |
2121
| Current stable | `main` | `v2.X.Y` | not a pre-release; becomes **Latest** |
22-
| Maintenance (previous major) | `v1.x` | `v1.28.Z` | not a pre-release; **not** Latest |
22+
| Maintenance (previous major) | `v1.x` | `v1.X.Y` | not a pre-release; **not** Latest |
2323
| Pre-releases | `main` | `v2.X.YaN` / `bN` / `rcN` | **Pre-release** ticked, never Latest |
2424

2525
The `Development Status` classifier in both `pyproject.toml` files is
@@ -75,7 +75,7 @@ before the tag.
7575
the replacement version, since yanking doesn't stop `==` pins from installing
7676
the broken version.
7777

78-
## Maintenance release from `v1.x` (`v1.28.Z`)
78+
## Maintenance release from `v1.x` (`v1.X.Y`)
7979

8080
Land the `[v1.x]`-prefixed backport PRs (and any README banner update, which is
8181
the README PyPI shows for that version), verify the branch tip green, then
@@ -89,11 +89,11 @@ create the release the same way with two differences:
8989
- **It must not take "Latest" back from the 2.x line.** The UI ticks "Set as
9090
the latest release" by default for the newest non-pre-release; untick it, or
9191
pass `--latest=false`, and afterwards confirm `/releases/latest` still names
92-
the newest v2 tag. If it slipped, `gh release edit v1.28.Z --latest=false`
92+
the newest v2 tag. If it slipped, `gh release edit v1.X.Y --latest=false`
9393
fixes it — release metadata only, no re-cut.
9494

9595
```shell
96-
gh release create v1.28.Z --title v1.28.Z --target <commit-sha> --latest=false --notes-file <notes.md>
96+
gh release create v1.X.Y --title v1.X.Y --target <commit-sha> --latest=false --notes-file <notes.md>
9797
```
9898

9999
When generating notes, set **Previous tag** to the previous `v1.*` release by

SECURITY.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ Thank you for helping keep the Model Context Protocol and its ecosystem secure.
44

55
## Supported Versions
66

7-
| Version | Line | Support |
8-
| ------------------------------------ | ----------------------- | ---------------------------------------- |
9-
| 2.x (newest release) | current stable (`main`) | bug fixes, security fixes, new features |
10-
| 1.28.x (`v1.x` branch) | maintenance | critical bug fixes and security fixes |
11-
| < 1.28, and all pre-release versions | unsupported | upgrade to the newest 1.28.x or to 2.x |
7+
| Version | Line | Support |
8+
| ---------------------------------------- | ----------------------- | ------------------------------------------- |
9+
| 2.x (newest release) | current stable (`main`) | bug fixes, security fixes, new features |
10+
| 1.x newest release (`v1.x` branch) | maintenance | critical bug fixes and security fixes |
11+
| older 1.x releases, and all pre-releases | unsupported | upgrade to the newest 1.x release or to 2.x |
1212

1313
Only the newest release of a supported line receives fixes, so reproduce against
1414
it before reporting. If your project depends on `mcp` and is not yet ready for
15-
2.x, constrain to `mcp>=1.28,<2` and follow the
15+
2.x, keep a `<2` upper bound on your `mcp` requirement and follow the
1616
[migration guide](https://py.sdk.modelcontextprotocol.io/migration/) when you
1717
migrate.
1818

0 commit comments

Comments
 (0)