Skip to content

Commit dae6dcc

Browse files
authored
docs(readme): add compatibility table (#338)
Signed-off-by: Frazer Smith <[email protected]>
1 parent 6e8e442 commit dae6dcc

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,21 @@ Supports `gzip`, `deflate`, and `brotli`.
1414
npm i @fastify/compress
1515
```
1616

17+
### Compatibility
18+
| Plugin version | Fastify version |
19+
| ---------------|-----------------|
20+
| `^8.x` | `^5.x` |
21+
| `^6.x` | `^4.x` |
22+
| `^3.x` | `^3.x` |
23+
| `^2.x` | `^2.x` |
24+
| `^0.x` | `^1.x` |
25+
26+
27+
Please note that if a Fastify version is out of support, then so are the corresponding version(s) of this plugin
28+
in the table above.
29+
See [Fastify's LTS policy](https://github.com/fastify/fastify/blob/main/docs/Reference/LTS.md) for more details.
30+
31+
1732
## Usage - Compress replies
1833

1934
This plugin adds two functionalities to Fastify: a compress utility and a global compression hook.

0 commit comments

Comments
 (0)