Skip to content

Commit

Permalink
chore: Update version for release (#325)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and mcansh committed Apr 25, 2024
1 parent 5c87dd5 commit f536e6a
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 55 deletions.
45 changes: 0 additions & 45 deletions .changeset/tall-clocks-develop.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/wild-bikes-approve.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"@fastify/static": "^7.0.3",
"@mcansh/remix-fastify": "3.2.2",
"@mcansh/remix-fastify": "3.3.0",
"@remix-run/css-bundle": "*",
"@remix-run/node": "*",
"@remix-run/react": "*",
Expand Down
2 changes: 1 addition & 1 deletion examples/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@fastify/middie": "^8.3.0",
"@fastify/static": "^7.0.3",
"@mcansh/remix-fastify": "3.2.2",
"@mcansh/remix-fastify": "3.3.0",
"@remix-run/node": "*",
"@remix-run/react": "*",
"cross-env": "^7.0.3",
Expand Down
52 changes: 52 additions & 0 deletions packages/remix-fastify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,57 @@
# @mcansh/remix-fastify

## 3.3.0

### Minor Changes

- 597df2e: re-introduce plugin for easy configuration, we're still publicly exporting all the pieces, so you can still continue to configure your server as you do today.

```js
import { remixFastify } from "@mcansh/remix-fastify";
import { installGlobals } from "@remix-run/node";
import { fastify } from "fastify";

installGlobals();

let app = fastify();

await app.register(remixFastify);

let port = Number(process.env.PORT) || 3000;

let address = await app.listen({ port, host: "0.0.0.0" });
console.log(`✅ app ready: ${address}`);
```

and if you need to configure loadContext, you can do so like this:

```js
import { remixFastify } from "@mcansh/remix-fastify";
import { installGlobals } from "@remix-run/node";
import { fastify } from "fastify";
installGlobals();
let app = fastify();
await app.register(remixFastify, {
getLoadContext(request, reply) {
return {};
},
});
let port = Number(process.env.PORT) || 3000;
let address = await app.listen({ port, host: "0.0.0.0" });
console.log(`✅ app ready: ${address}`);
```

### Patch Changes

- 90c6c61: changeset for #324

bump dependencies to the latest versions

## 3.2.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/remix-fastify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mcansh/remix-fastify",
"version": "3.2.2",
"version": "3.3.0",
"description": "Fastify server request handler for Remix",
"repository": "mcansh/remix-fastify",
"license": "MIT",
Expand Down

0 comments on commit f536e6a

Please sign in to comment.