From 4abe337727f633aa1a36fcbe90b5c1caca84b394 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Fri, 27 Jun 2025 10:13:26 +0100 Subject: [PATCH] docs(readme): add compatibility table --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c30d8a0..afbb0fd 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,16 @@ Install using `npm`: npm i fastify-json-to-xml ``` -For Fastify v4.x support, use `fastify-json-to-xml@1.1.12`. +### Compatibility + +| Plugin version | Fastify version | +| -------------- | --------------- | +| `>=2.x` | `^5.x` | +| `>=1.x <2.x` | `^4.x` | + +Please note that if a Fastify version is out of support, then so are the corresponding versions of this plugin +in the table above. +See [Fastify's LTS policy](https://github.com/fastify/fastify/blob/main/docs/Reference/LTS.md) for more details. ## Example usage