Skip to content

fix(server-core): publish schema factory required by server-hono#1229

Merged
omeraplak merged 1 commit into
mainfrom
fix/publish-server-core-schema-factory
Apr 23, 2026
Merged

fix(server-core): publish schema factory required by server-hono#1229
omeraplak merged 1 commit into
mainfrom
fix/publish-server-core-schema-factory

Conversation

@omeraplak

@omeraplak omeraplak commented Apr 23, 2026

Copy link
Copy Markdown
Member

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

What is the current behavior?

@voltagent/server-hono@2.0.12 imports the new createServerCoreSchemas runtime export from @voltagent/server-core, but only server-hono was published. The latest published server-core is still 2.1.14, which does not provide that export.

That can fail at startup with:

The requested module '@voltagent/server-core' does not provide an export named 'createServerCoreSchemas'

What is the new behavior?

This changeset publishes @voltagent/server-core as a patch release so the runtime export required by server-hono is available from the registry.

server-hono@2.0.12 already accepts @voltagent/server-core through ^2.1.14, so publishing the patch release is enough for fresh installs and Deno reloads to resolve the matching package.

fixes #1222

Notes for reviewers

Validation run:

  • pnpm --filter @voltagent/server-core test -- src/schemas/agent.schemas.spec.ts
  • pnpm exec biome check .changeset/silver-rules-report.md packages/server-core/src/schemas/agent.schemas.ts packages/server-hono/src/routes/agent.routes.ts packages/server-hono/src/app-factory.spec.ts

Docs were not updated because this is a release coordination hotfix.

Summary by CodeRabbit

  • Chores
    • Released patch version of @voltagent/server-core package. The createServerCoreSchemas runtime export is now publicly available for dependent packages requiring schema generation integration capabilities.

Summary by cubic

Publish a patch of @voltagent/server-core to expose createServerCoreSchemas required by @voltagent/server-hono@2.0.12, preventing startup errors from a missing export.

  • Bug Fixes
    • Exposes createServerCoreSchemas so Swagger schemas build with the active Zod instance.
    • Ensures fresh installs and Deno reloads resolve a compatible server-core via the existing ^2.1.14 range.

Written for commit 0f82a1a. Summary will update on new commits.

@changeset-bot

changeset-bot Bot commented Apr 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0f82a1a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@voltagent/server-core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 191187f0-7f32-4f22-aed1-28b77728216a

📥 Commits

Reviewing files that changed from the base of the PR and between f658e9f and 0f82a1a.

📒 Files selected for processing (1)
  • .changeset/silver-rules-report.md

📝 Walkthrough

Walkthrough

Creates a Changesets file documenting a patch release for @voltagent/server-core that publishes the createServerCoreSchemas runtime export needed by @voltagent/server-hono for Swagger schema generation to use the active Zod instance.

Changes

Cohort / File(s) Summary
Changesets Metadata
.changeset/silver-rules-report.md
Adds changeset entry documenting patch release for @voltagent/server-core publishing createServerCoreSchemas export for Swagger/OpenAPI schema generation compatibility.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Poem

🐰 A schema so bright, now published with care,
Swagger will find it, schemas everywhere!
Zod's active instance, no longer astray,
Hono's docs flourish—hop hooray! 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'fix(server-core): publish schema factory required by server-hono' directly describes the main change: publishing the schema factory export from server-core to fix the dependency issue.
Description check ✅ Passed The description follows the template with all required sections completed: checklist items are marked, current and new behavior are clearly explained, the linked issue is referenced, and validation notes are provided.
Linked Issues check ✅ Passed The PR directly addresses issue #1222 by publishing the missing 'createServerCoreSchemas' export that server-hono@2.0.12 requires, which resolves the swagger generation failure reported in the bug.
Out of Scope Changes check ✅ Passed The changeset only includes the necessary release coordination file to publish server-core with the required export; no extraneous or unrelated code changes are present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/publish-server-core-schema-factory

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ghost

This comment has been minimized.

@omeraplak omeraplak merged commit 39715f2 into main Apr 23, 2026
22 of 24 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.

[BUG] swagger is empty

1 participant