---
changelog:
  category: Prerelease
  version: 2.0.0-beta.21
date: '2026-07-26T09:51:57Z'
seo:
  description: >-
    openapi: Replace shouldHoistDef with customComponentName option in generator
    - by @dinwwwh in https://github.com/middleapi/orpc/issues/1728 (69418)…
title: v2.0.0-beta.21
type: changelog
---
### &nbsp;&nbsp;&nbsp;🚨 Breaking Changes

- **openapi**: Replace shouldHoistDef with customComponentName option in generator &nbsp;-&nbsp; by @dinwwwh in https://github.com/middleapi/orpc/issues/1728 [<samp>(69418)</samp>](https://github.com/middleapi/orpc/commit/6941896a)

### &nbsp;&nbsp;&nbsp;🐞 Bug Fixes

- **json-schema**: Safer value coercion and smarter union matching &nbsp;-&nbsp; by @dinwwwh in https://github.com/middleapi/orpc/issues/1729 [<samp>(91471)</samp>](https://github.com/middleapi/orpc/commit/91471ef5)

##### &nbsp;&nbsp;&nbsp;&nbsp;[View changes on GitHub](https://github.com/middleapi/orpc/compare/v2.0.0-beta.20...v2.0.0-beta.21)
