fix(server-core): publish schema factory required by server-hono#1229
Conversation
🦋 Changeset detectedLatest commit: 0f82a1a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughCreates a Changesets file documenting a patch release for Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
PR Checklist
Please check if your PR fulfills the following requirements:
Bugs / Features
What is the current behavior?
@voltagent/server-hono@2.0.12imports the newcreateServerCoreSchemasruntime export from@voltagent/server-core, but onlyserver-honowas published. The latest publishedserver-coreis still2.1.14, which does not provide that export.That can fail at startup with:
What is the new behavior?
This changeset publishes
@voltagent/server-coreas a patch release so the runtime export required byserver-honois available from the registry.server-hono@2.0.12already accepts@voltagent/server-corethrough^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.tspnpm 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.tsDocs were not updated because this is a release coordination hotfix.
Summary by CodeRabbit
@voltagent/server-corepackage. ThecreateServerCoreSchemasruntime export is now publicly available for dependent packages requiring schema generation integration capabilities.Summary by cubic
Publish a patch of
@voltagent/server-coreto exposecreateServerCoreSchemasrequired by@voltagent/server-hono@2.0.12, preventing startup errors from a missing export.createServerCoreSchemasso Swagger schemas build with the active Zod instance.server-corevia the existing^2.1.14range.Written for commit 0f82a1a. Summary will update on new commits.