Skip to content

chore(deps): bump @orpc/server from 2.0.0-beta.43 to 2.0.0-beta.51 - #914

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/orpc/server-2.0.0-beta.50
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/orpc/server-2.0.0-beta.50

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @orpc/server from 2.0.0-beta.43 to 2.0.0-beta.51.

Release notes

Sourced from @​orpc/server's releases.

v2.0.0-beta.51

[!TIP] v2 is close to stable. Tell us what hurt when migrating and what should change before stable: middleapi/orpc#2446

Highlights

This beta adds experimental OpenAPI schema inference from TypeScript types, and makes the server, contract, and client types cheaper to type-check. Two breaking changes affect AI SDK tool outputs and delimited query parameters.

import { OpenAPIGenerator } from '@orpc/experimental-openapi-inference'
// Drop-in for the generator in @orpc/openapi: converters still run first,
// and the rest is inferred from your TypeScript types
const generator = new OpenAPIGenerator({
converters: [new ZodToJsonSchemaConverter()],
})
const spec = await generator.generate(router, {
source: { file: './src/router.ts', export: 'router' },
})

  • OpenAPI type inference (experimental): @orpc/experimental-openapi-inference documents procedures without .output and inputs written as plain types, using the TypeScript 7 compiler. Schemas match what the serializer sends, project types become named components, and JSDoc sets summaries, descriptions, and keywords like @format. Docs
  • Faster type-checking: builder chains, .use(middleware), routers, RouterClient, and recursive client and router types are cheaper to check. Procedure handlers alone take 12% to 25% fewer instantiations.
  • Breaking — AI SDK tool outputs: tools from createToolFactory no longer validate or transform procedure outputs. They return what the handler returns, like plain AI SDK tools and the types already said. Docs
  • Breaking — delimited query styles: with *-delimited-* styles, a missing or empty parameter now decodes as [] or {} instead of undefined, so .optional() and .default() no longer see a missing value. The spec marks these parameters required only when the schema rejects the empty collection. Docs
  • OpenAPI spec changes: a body whose files may be absent also lists application/json, and a GET input that is a record of primitive values becomes one free-form query parameter. Docs

   🚨 Breaking Changes

   🚀 Features

   🐞 Bug Fixes

... (truncated)

Commits
  • c25ec31 chore: release v2.0.0-beta.51
  • 62b9b0d feat(openapi, openapi-inference): infer OpenAPI schemas from TypeScript types...
  • df5f5f0 fix: make options optional when context is an index-signature type (#2472)
  • 2b83b0b fix(server): make Procedure injected context covariant (#2471)
  • 5535a24 fix(contract, server): match prototype chain first in Symbol.hasInstance ch...
  • 765b100 perf(contract, server, openapi, msw): drop redundant per-key router checks in...
  • f188e56 fix(server): merge union and any middleware contexts correctly (#2469)
  • 1df6f2b fix(shared): infer unknown instead of ThrowableError when next has no t...
  • 13d572f fix(contract): keep schema constraint when inferring types of a generic schem...
  • 0c48eda fix(server): check context in .lazy of router implementer with middlewares ...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 23, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/orpc/server-2.0.0-beta.50 branch 3 times, most recently from b68d77b to 0ef7959 Compare November 23, 2026 16:46
Bumps [@orpc/server](https://github.com/middleapi/orpc/tree/HEAD/packages/server) from 2.0.0-beta.43 to 2.0.0-beta.51.
- [Release notes](https://github.com/middleapi/orpc/releases)
- [Commits](https://github.com/middleapi/orpc/commits/v2.0.0-beta.51/packages/server)

---
updated-dependencies:
- dependency-name: "@orpc/server"
  dependency-version: 2.0.0-beta.50
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump @orpc/server from 2.0.0-beta.43 to 2.0.0-beta.50 chore(deps): bump @orpc/server from 2.0.0-beta.43 to 2.0.0-beta.51 Nov 26, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/orpc/server-2.0.0-beta.50 branch from 0ef7959 to bc051fc Compare November 26, 2026 12:09

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants