Skip to content

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

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

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/orpc/openapi-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/openapi from 2.0.0-beta.43 to 2.0.0-beta.51.

Release notes

Sourced from @​orpc/openapi'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)
  • ce8dfeb fix(client, tanstack-query, swr, pinia-colada, effect, openapi): stop reverse...
  • 765b100 perf(contract, server, openapi, msw): drop redundant per-key router checks in...
  • 426e1d0 perf(client, tanstack-query, swr, pinia-colada, effect, openapi): drop redund...
  • 850fec8 fix(openapi)!: decode missing collection-style query parameters as empty coll...
  • f1015a6 chore: sync sponsors
  • 9ad3104 chore: release v2.0.0-beta.50
  • da7ad7b chore: upgrade @standard-server/* to 0.16.0 and @openapi-spec/* to 0.8.0 (#2449)
  • 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/openapi-2.0.0-beta.50 branch 3 times, most recently from 064ce29 to 8aa913e Compare November 23, 2026 16:46
Bumps [@orpc/openapi](https://github.com/middleapi/orpc/tree/HEAD/packages/openapi) 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/openapi)

---
updated-dependencies:
- dependency-name: "@orpc/openapi"
  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/openapi from 2.0.0-beta.43 to 2.0.0-beta.50 chore(deps): bump @orpc/openapi 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/openapi-2.0.0-beta.50 branch from 8aa913e to 412efaf 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