Change8

v11.16.0

📦 trpcView on GitHub →
4 features🐛 1 fixes🔧 1 symbols

Summary

The @trpc/openapi package receives significant updates, including hardened support for cyclic types and the removal of the type depth limit. Several minor fixes related to schema description gathering were also implemented.

✨ New Features

  • OpenAPI Cyclic Types support.
  • Type depth limit of 20 dropped in @trpc/openapi, significantly hardening cyclic-type support for inference and Zod.
  • Support for zod.lazy via Standard Schema fallback in @trpc/openapi.
  • Symbols stripped from output in @trpc/openapi (no more `__@asyncIterator@5456` symbols in output).

🐛 Bug Fixes

  • Fixed several issues with gathering schema descriptions in @trpc/openapi, including consuming jsdoc comments from node_modules types.

Affected Symbols