From 755c747d0d7cb5d97dfa5e3384c724cccc4e0866 Mon Sep 17 00:00:00 2001 From: Kevin Edry Date: Mon, 2 Nov 2026 14:31:18 -0800 Subject: [PATCH] docs: State NestJS 9-12 compatibility The docs never named the supported NestJS range, so a visitor on NestJS 12 had to read package.json to learn it is supported. Add the range to the installation page and the landing FAQ, which also feeds the FAQPage JSON-LD search results. --- docs/components/FAQ/index.tsx | 4 ++-- docs/pages/docs/index.mdx | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/components/FAQ/index.tsx b/docs/components/FAQ/index.tsx index b1e7cce..8eb4d7f 100644 --- a/docs/components/FAQ/index.tsx +++ b/docs/components/FAQ/index.tsx @@ -14,9 +14,9 @@ const faqs = [ 'NestJS tRPC wraps tRPC with NestJS-native decorators (@Router, @Query, @Mutation) and integrates with NestJS dependency injection. You get the same end-to-end typesafety as vanilla tRPC, but with the conventions and DI system you already use in NestJS.', }, { - question: 'What versions of tRPC and Zod are supported?', + question: 'What versions of NestJS, tRPC, and Zod are supported?', answer: - 'NestJS tRPC v2.0.0 supports tRPC v11 and both Zod 3 and Zod 4 schemas for input/output validation. The library tracks tRPC releases closely and supports the latest stable versions.', + 'NestJS tRPC v2.0.0 supports NestJS 9 through 12, tRPC v11, and both Zod 3 and Zod 4 schemas for input/output validation. The library tracks NestJS and tRPC releases closely and supports the latest stable versions.', }, { question: 'How fast is the type generation CLI?', diff --git a/docs/pages/docs/index.mdx b/docs/pages/docs/index.mdx index 0bf67bd..d68a17e 100644 --- a/docs/pages/docs/index.mdx +++ b/docs/pages/docs/index.mdx @@ -32,6 +32,8 @@ import JsonLd from '../../components/JsonLd'; This document will guide you through the installation and setting up of **NestJS tRPC** in your nestjs project. +**NestJS tRPC** supports NestJS 9 through 12 on both the Express and Fastify adapters, and requires tRPC v11 with Zod 3 or Zod 4. + If you don't have a NestJS project setup yet, please visit our NestJS Quickstart Guide