Skip to content

Commit 009bbe0

Browse files
author
Guotong
committed
release: v0.3.1
1 parent d95f5f8 commit 009bbe0

File tree

7 files changed

+50
-10
lines changed

7 files changed

+50
-10
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.3.1 - 2026-03-18
4+
5+
- CI: publish workflow now skips PyPI upload when `PYPI_API_TOKEN` is not configured.
6+
- Docs: added explicit PyPI token vs trusted publisher guidance to publish runbook.
7+
38
## 0.3.0 - 2026-03-18
49

510
- Added external `$ref` resolution across local files and URLs.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ CI and release workflows are provided in `.github/workflows/`.
148148
- [docs/launch-checklist.md](docs/launch-checklist.md)
149149
- [docs/post-template.md](docs/post-template.md)
150150
- [docs/release/v0.3.0-release-notes.md](docs/release/v0.3.0-release-notes.md)
151+
- [docs/release/v0.3.1-release-notes.md](docs/release/v0.3.1-release-notes.md)
151152
- [docs/release/launch-copies.md](docs/release/launch-copies.md)
152153
- [docs/release/repo-branding.md](docs/release/repo-branding.md)
153154
- [docs/release/publish-runbook.md](docs/release/publish-runbook.md)

docs/release/publish-runbook.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Publish Runbook (v0.3.0)
1+
# Publish Runbook
22

33
## 0) Fill placeholders
44

@@ -34,19 +34,19 @@ conda run -n openapi-mcp openapi-to-mcp list examples/swagger2.yaml --json
3434
```bash
3535
git init
3636
git add .
37-
git commit -m "release: v0.3.0"
37+
git commit -m "release: vX.Y.Z"
3838
git branch -M main
3939
git remote add origin https://github.com/vect-G/openapi-to-mcp.git
4040
git push -u origin main
41-
git tag v0.3.0
42-
git push origin v0.3.0
41+
git tag vX.Y.Z
42+
git push origin vX.Y.Z
4343
```
4444

4545
## 3) Create GitHub Release
4646

47-
- Tag: `v0.3.0`
48-
- Title: `openapi-to-mcp v0.3.0`
49-
- Body: copy `docs/release/v0.3.0-release-notes.md`
47+
- Tag: `vX.Y.Z`
48+
- Title: `openapi-to-mcp vX.Y.Z`
49+
- Body: copy matching release notes from `docs/release/`
5050

5151
## 4) Publish announcement
5252

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# openapi-to-mcp v0.3.1
2+
3+
Release date: 2026-03-18
4+
5+
## TL;DR
6+
7+
This is a release-process patch.
8+
9+
- Publish workflow no longer fails when `PYPI_API_TOKEN` is missing.
10+
- If token is not configured, PyPI upload is skipped with a clear message.
11+
- Publish runbook now documents API token mode vs Trusted Publisher mode.
12+
13+
## Why this release
14+
15+
Some users saw failed checks on tag pushes due PyPI Trusted Publisher mismatch (`invalid-publisher`).
16+
This patch prevents unnecessary red checks for repositories that haven't configured PyPI yet.
17+
18+
## What changed
19+
20+
- `.github/workflows/publish.yml`
21+
- Skip publish step when `PYPI_API_TOKEN` is not set.
22+
- Print guidance message instead of failing.
23+
- `docs/release/publish-runbook.md`
24+
- Added setup guidance for PyPI token and Trusted Publisher.
25+
26+
## Upgrade
27+
28+
```bash
29+
pip install -U openapi-to-mcp
30+
```
31+
32+
## Notes
33+
34+
Core feature behavior is unchanged from v0.3.0.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "openapi-to-mcp"
7-
version = "0.3.0"
7+
version = "0.3.1"
88
description = "Turn any OpenAPI/Swagger spec into a runnable MCP server in one command."
99
readme = "README.md"
1010
requires-python = ">=3.10"

src/openapi_to_mcp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
__all__ = ["__version__"]
44

5-
__version__ = "0.3.0"
5+
__version__ = "0.3.1"

src/openapi_to_mcp/runtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class RuntimeConfig:
2525
server_version: str
2626
base_url: str
2727
timeout_seconds: float = 30.0
28-
user_agent: str = "openapi-to-mcp/0.3"
28+
user_agent: str = "openapi-to-mcp/0.3.1"
2929

3030

3131
class OpenAPIMCPRuntime:

0 commit comments

Comments
 (0)