Skip to content

chore(release): 0.13.24 — .env config loading, retryable fill, test-runner and cursor fixes - #902

Merged
cyanheads merged 11 commits into
mainfrom
release/0.13.24
Nov 27, 2026
Merged

cyanheads merged 11 commits into
mainfrom
release/0.13.24

Conversation

@cyanheads

@cyanheads cyanheads commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

.env loads before server config reads under Node, a declared retryable reaches service throws, runToolContract and the fuzz helpers handle ctx.requestInput, decodeCursor tightens its validation and echo, and devcheck scans untracked files. MCP_LOG_LEVEL now defaults to info.

Changes

Gates

  • bun run devcheck (raw), run on head 7bdf1ae3: exit 0; every step PASSED, zero warnings. The Tests step is skipped by design (devcheck runs tests only with --test), and Security Audit lists one moderate transitive minimatch advisory while its step passes.
  • The rows below ran on the finished tree at 21c8de4a; the two commits after it change only framework-skills/api-errors/SKILL.md and the changelog entry.
  • bun run rebuild: exit 0 (finished tree)
  • bun run test:all: exit 0 (finished tree). Bun with coverage: 310 files, 10,816 passed / 19 skipped. Node: 310 files, 10,820 passed / 15 skipped. Node integration: 34 files, 348 passed. Worker: 14 files, 164 passed; worker bundle 1/1. Bun integration: 34 files, 348 passed.
  • bun run test:package: 1/1 (finished tree); the fresh scaffold's devcheck Biome row asserted PASSED
  • bun run test:soak: 1/1 (finished tree)

An earlier test:all run on an earlier tree of this batch failed once in the Node integration lane: tests/integration/http-auth-sessions.test.ts went 16/16 fetch failed / ECONNRESET. The file then passed alone on Node and Bun, and every later full run passed, including the row above.

CHANGELOG v0.13.24

… MCP_LOG_LEVEL to info (#634, #705)

parseEnvConfig, composeServices and createApp share the once-per-process .env load; the logLevel default was a leftover debug override.
…ror string patterns literally (#856, #676)

Tool and resource factories apply the entry's retryable beside its recovery; string patterns compile from RegExp.escape and the cache key separates strings from RegExps.
…olContractSuite stops re-parsing output (#667, #668)

The fuzz helpers count a requestInput round as a completed call; runToolContract resolves argument rejections against errors[] as the handler factory does (#856).
…valid_cursor hint, cut echoed cursors to 50 characters (#611, #603, #873)

A shared echoRejected cut ends a unit early rather than split a surrogate pair, and the storage key and prefix checks use it too.
…eports schema-root-meta-discarded (#688)

The copy is built from the definition's property descriptors; a spread dropped the non-enumerable record.
…ork issue citations in shipped files (#885, #721)

TODOs/FIXMEs, Framework Antipatterns and Tracked Secrets now cover files not yet added; shipped comments and templates cite cyanheads/mcp-ts-core#N.
…ep in test:package (#557)

Import order, two formatter findings and the keywords array now match biome.json, so the first devcheck rewrites nothing.
…test rounds and cursor rules

Skill versions bumped; code samples follow Biome's import order (#557).
…unner and cursor fixes

Version bumps, changelog entry, regenerated CHANGELOG.md.
@cyanheads cyanheads self-assigned this Nov 27, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T02:36:12.253433Z 21c8de4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 21c8de4acb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread changelog/template.md
then stalled the stream held the request open indefinitely. A 2xx
carrying a body now comes back as a passthrough wrapper that disarms
the deadline when the body closes, errors, or is cancelled; …
([#341](https://github.com/cyanheads/mcp-ts-core/issues/341)). `fetch`

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore the protected changelog template

This changes the reference template even though the root AGENTS.md explicitly identifies changelog/template.md as “never edited.” The same edit also appears in templates/changelog/template.md, whose scoped instructions likewise require a pristine reference. Revert both template edits and keep issue-reference updates in editable documentation or release notes.

AGENTS.md reference: AGENTS.md:L630-L630

Useful? React with 👍 / 👎.

…not be declared

An errors[] entry may name a framework-owned reason to set its severity and retryable, as the same skill documents; the sentence now says only the framework raises it.
A server that leaves MCP_LOG_LEVEL unset now logs at info; the entry records it as the behavior change #705 asks for.
@cyanheads

Copy link
Copy Markdown
Owner Author

Release review: 21c8de4a → 7bdf1ae3

Reviewed every commit in main...HEAD against the 0.13.24 changelog entry and each linked issue, body and comments.

Changes

Automated review

  • Codex, P1 on changelog/template.md: asked to revert the edits to changelog/template.md and templates/changelog/template.md because the template is marked "never edited". Declined. That rule covers writing a release: copy the template and never write an entry into it. The template's guidance is maintained content that 13 earlier commits have edited. bug(templates): files init copies into a server cite framework issues by bare number #721 requires the bare (#341) references in its example to be qualified while the two copies stay byte-identical, and they are.
  • Code scanning: CodeQL passed on both heads. No alerts are open on refs/pull/902/merge or on main.

Considered and left alone

  • encodeCursor throws InternalError when paginateArray would issue a cursor from a fractional page size, including a caller-supplied limit whose schema lacks .int(). Before this release that call produced fractional cursors and uneven pages, and bug(pagination): decodeCursor accepts offset and limit that are not safe integers #611 specifies the refusal. api-utils tells authors to add .int().
  • RegExp.escape compiles string patterns. It exists on every supported runtime (Node ≥24, Bun ≥1.4.4, workerd), and the framework's own pattern tables are all RegExps, so they never call it.
  • A .env that fails to load during an import-time parseEnvConfig leaves that server config parsed without it. createApp() then retries the load inside its startup boundary and exits on the banner before any transport binds, so no server runs on that config.
  • breaking: false and security: false hold. Each narrowing either rejects input that used to produce a wrong result or brings behavior in line with the docs.

Gates

  • bun run devcheck (raw) on 7bdf1ae3: exit 0, zero warnings.
  • The review commits change only a skill sentence and the changelog entry, so the rebuild, test:all, test:package, and test:soak rows from 21c8de4a stand.

No issues filed.

@cyanheads
cyanheads merged commit 7bdf1ae into main Nov 27, 2026
3 checks passed
@cyanheads
cyanheads deleted the release/0.13.24 branch November 27, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant