Skip to content

Commit d75b4f5

Browse files
authored
docs(readme): add compatibility table (#193)
Signed-off-by: Frazer Smith <[email protected]>
1 parent cea66ea commit d75b4f5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,21 @@ Under the hood [node-postgres](https://github.com/brianc/node-postgres) is used,
1111
```
1212
npm i pg @fastify/postgres
1313
```
14+
15+
### Compatibility
16+
| Plugin version | Fastify version |
17+
| ---------------|-----------------|
18+
| `^6.x` | `^5.x` |
19+
| `^5.x` | `^4.x` |
20+
| `^3.x` | `^3.x` |
21+
| `^1.x` | `^2.x` |
22+
| `^1.x` | `^1.x` |
23+
24+
25+
Please note that if a Fastify version is out of support, then so are the corresponding versions of this plugin
26+
in the table above.
27+
See [Fastify's LTS policy](https://github.com/fastify/fastify/blob/main/docs/Reference/LTS.md) for more details.
28+
1429
## Usage
1530
Add it to your project with `register` and you are done!
1631
This plugin will add the `pg` namespace to your Fastify instance, with the following properties:

0 commit comments

Comments
 (0)