Skip to content

Commit

Permalink
set version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alenap93 committed Sep 21, 2024
1 parent 45145a0 commit e0373a1
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,35 @@ server.register(fastifyKysely, { namespace: 'sqliteDB', kysely: kyselyInstance }

By using the `namespace` option you can register multiple Kysely instances.

## Compatibility to Fastify Versions

<table>
<thead>
<tr>
<th>Fastify</th>
<th>fastify-kysely</th>
</tr>
</thead>
<tbody>
<tr>
<td>
v4
</td>
<td>
1.x.x
</td>
</tr>
<tr>
<td>
v5
</td>
<td>
2.x.x
</td>
</tr>
</tbody>
</table>

## Example

Example is available [here](https://github.com/alenap93/fastify-kysely-example).
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fastify-kysely",
"version": "1.0.2",
"version": "2.0.0",
"description": "Plugin to share a common Kysely instance across Fastify.",
"main": "index.js",
"type": "commonjs",
Expand Down

0 comments on commit e0373a1

Please sign in to comment.