Skip to content

chore: release 1.28.0 - #153

Merged
stackbilt-admin merged 2 commits into
mainfrom
release/1.28.0
Nov 9, 2026
Merged

stackbilt-admin merged 2 commits into
mainfrom
release/1.28.0

Conversation

@stackbilt-admin

Copy link
Copy Markdown
Member

Summary

Release 1.28.0 (minor). It ships native JSON Schema output on Cloudflare Workers AI, contributed in #129, which closes #127.

What's in it

  • Native JSON Schema on Workers AI.
    • Models on Cloudflare's JSON mode list get the schema as response_format.json_schema.
    • @cf/zai-org/glm-5.3 and @cf/zai-org/glm-5.3-flash get { name, schema, strict? }.
  • StructuredOutputUnsupportedError (code STRUCTURED_OUTPUT_UNSUPPORTED).
    • It's thrown before any Workers AI call when a Cloudflare model can't serve a json_schema request.
    • The factory falls back on it unless allowFallback: false.
    • It doesn't count against the circuit breaker.
  • Model selection: unpinned json_schema requests are planned only on Cloudflare models with native support, unless the caller allows prompt emulation.
  • New optional public fields:
    • ModelCapabilities.supportsStructuredOutput;
    • the route-plan fields;
    • allowStructuredOutputEmulation, on LLMRequest and as providerOptions.cloudflare.allowStructuredOutputEmulation.

Upgrade note (in the CHANGELOG)

Cloudflare json_schema requests used to drop the schema silently. Now:

  • models with native support enforce it;
  • on other Cloudflare models, a direct CloudflareProvider call throws unless emulation is allowed, and the factory falls back;
  • streaming json_schema requests on Cloudflare always throw.

Changes in this PR

  • package.json, package-lock.json and src/version.ts are bumped to 1.28.0.
  • CHANGELOG: [Unreleased] becomes ## [1.28.0] — 2026-11-09, with the upgrade note.
  • README: the explicitOnly paragraph now says "In 1.28.0". The list itself is unchanged.
  • docs/maintenance/issue-sweep.md: adds a 1.28.0 summary, test counts (response format 32, Cloudflare factory fallback 5) and validation totals.

Validation

npm run typecheck, npm test (977 tests across 34 files), npm run build, bash scripts/package-smoke.sh, npm run test:worker-import and git diff --check all pass.

After merge: create GitHub release v1.28.0 on the merge commit, which publishes to npm through OIDC.

🤖 Generated with Claude Code

kovermier and others added 2 commits November 9, 2026 12:49
- Native JSON Schema output on Cloudflare Workers AI (#129, closes #127)
- Upgrade note for Cloudflare json_schema behaviour
- Checkpoint and README version references updated

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@stackbilt-admin
stackbilt-admin merged commit 2d5bf37 into main Nov 9, 2026
4 checks passed
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.

Workers AI silently drops json_schema while the route plan reports no degradation

2 participants