Skip to content

Commit 0c53c6f

Browse files
chore(release): version packages (#2731)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c921c8b commit 0c53c6f

14 files changed

Lines changed: 34 additions & 45 deletions

.changeset/bump-cli-runtime-deps.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/bump-mcp-runtime-deps.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/ctx7-1604-prompts-resources-handlers.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/git-bash-library-id.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/mcp-auth-elicit.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/sdk-non-json-error-response.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/xdg-context7-dirs.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/cli/CHANGELOG.md

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

3+
## 0.5.2
4+
5+
### Patch Changes
6+
7+
- cb6aee1: Bump runtime dependencies: `commander` 13 -> 15 and `ora` 9.0 -> 9.4.
8+
- 428af3e: Recover Context7 library IDs that Git Bash mangles on Windows. Git Bash rewrites a leading-slash argument like `/facebook/react` into a Windows path under the Git install dir (`C:/Program Files/Git/facebook/react`), causing `ctx7 docs` to reject it as invalid; this mainly affected users running ctx7 through Claude Code. The CLI now detects and undoes the conversion before validation, accepts the `//owner/repo` escape, and points users at that workaround for install layouts it can't auto-detect.
9+
- c03bc9c: Store CLI files in XDG Base Directory locations instead of `~/.context7`. Credentials move to `$XDG_CONFIG_HOME/context7` (default `~/.config/context7`), updater state to `$XDG_STATE_HOME/context7` (default `~/.local/state/context7`), and `generate` previews to `$XDG_CACHE_HOME/context7` (default `~/.cache/context7`). Existing files in `~/.context7` are migrated automatically on first use; migration is best-effort and falls back to reading the legacy file if it cannot complete. The credentials file is always re-asserted to `0o600` after migration or write so it is never group/world-readable. Relative or empty `XDG_*` values are ignored per the spec.
10+
311
## 0.5.1
412

513
### Patch Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ctx7",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"description": "Context7 CLI - Fetch documentation context and configure Context7",
55
"type": "module",
66
"bin": {

packages/mcp/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @upstash/context7-mcp
22

3+
## 3.2.0
4+
5+
### Minor Changes
6+
7+
- c921c8b: Replace the in-result sign-in nudge with an MCP form elicitation. When the backend signals (via `X-Context7-Auth-Prompt: 1`) that an anonymous client has crossed the per-IP threshold, the MCP server now fires an `elicitation/create` request instead of appending instructions into the tool result.
8+
- Surfaces the `npx ctx7 setup --<client> --mcp[ --stdio] -y` command in a client-rendered dialog rather than as model-visible text. The previous text-injection approach was treated as untrusted instruction content by some agents; elicitations are delivered out-of-band to the user so they bypass that path entirely.
9+
- Gated on the client advertising the `elicitation` capability — clients without it see no nudge, which is a safe no-op.
10+
- Presents a two-option radio: "I'll run the command to sign in" or "Continue anonymously with smaller limits".
11+
- The server holds no suppression state: the backend emits the header at most once per MCP session, so the dialog is shown whenever the header is present. Frequency is owned entirely by the backend.
12+
- Fire-and-forget: the elicitation does not block or alter the surrounding tool response.
13+
14+
### Patch Changes
15+
16+
- cb6aee1: Bump runtime dependencies: `@modelcontextprotocol/sdk` 1.25 -> 1.29, `undici` 6 -> 7, and `zod` 4.3 -> 4.4.
17+
- fcdc36e: Advertise empty `prompts` and `resources` capabilities with no-op `prompts/list`, `resources/list`, and `resources/templates/list` handlers. Some MCP clients (e.g. opencode) call these unconditionally and treat `-32601 Method not found` as a fatal connection error rather than honoring the negotiated capabilities, which previously prevented the server from loading.
18+
319
## 3.1.0
420

521
### Minor Changes

0 commit comments

Comments
 (0)