Skip to content

Commit 11bf2b6

Browse files
committed
Merge branch 'main' of github.com:prefabs-tech/fastify into feat/error-handler
2 parents 47af02e + 9557382 commit 11bf2b6

16 files changed

Lines changed: 83 additions & 280 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## [0.88.2](https://github.com/prefabs-tech/fastify/compare/v0.88.1...v0.88.2) (2025-07-31)
2+
3+
4+
### Bug Fixes
5+
6+
* **user/photo:** fix photo upload ([#1005](https://github.com/prefabs-tech/fastify/issues/1005)) ([f32a4e0](https://github.com/prefabs-tech/fastify/commit/f32a4e06e6947f5c1a0b3ddeb503d4660225de94))
7+
8+
9+
110
## [0.88.1](https://github.com/prefabs-tech/fastify/compare/v0.88.0...v0.88.1) (2025-07-28)
211

312

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prefabs.tech/fastify",
3-
"version": "0.88.1",
3+
"version": "0.88.2",
44
"private": true,
55
"repository": {
66
"type": "git",

‎packages/config/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prefabs.tech/fastify-config",
3-
"version": "0.88.1",
3+
"version": "0.88.2",
44
"description": "Fastify config plugin",
55
"homepage": "https://github.com/prefabs-tech/fastify/tree/main/packages/config#readme",
66
"repository": {

‎packages/firebase/package.json‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prefabs.tech/fastify-firebase",
3-
"version": "0.88.1",
3+
"version": "0.88.2",
44
"description": "Fastify firebase plugin",
55
"homepage": "https://github.com/prefabs-tech/fastify/tree/main/packages/firebase#readme",
66
"repository": {
@@ -34,9 +34,9 @@
3434
},
3535
"devDependencies": {
3636
"@prefabs.tech/eslint-config": "0.2.0",
37-
"@prefabs.tech/fastify-config": "0.88.1",
38-
"@prefabs.tech/fastify-graphql": "0.88.1",
39-
"@prefabs.tech/fastify-slonik": "0.88.1",
37+
"@prefabs.tech/fastify-config": "0.88.2",
38+
"@prefabs.tech/fastify-graphql": "0.88.2",
39+
"@prefabs.tech/fastify-slonik": "0.88.2",
4040
"@prefabs.tech/tsconfig": "0.2.0",
4141
"@types/node": "20.19.9",
4242
"@typescript-eslint/eslint-plugin": "8.38.0",
@@ -63,9 +63,9 @@
6363
"vitest": "3.2.4"
6464
},
6565
"peerDependencies": {
66-
"@prefabs.tech/fastify-config": "0.88.1",
67-
"@prefabs.tech/fastify-graphql": "0.88.1",
68-
"@prefabs.tech/fastify-slonik": "0.88.1",
66+
"@prefabs.tech/fastify-config": "0.88.2",
67+
"@prefabs.tech/fastify-graphql": "0.88.2",
68+
"@prefabs.tech/fastify-slonik": "0.88.2",
6969
"fastify": ">=5.2.1",
7070
"fastify-plugin": ">=5.0.1",
7171
"mercurius": ">=16.1.0",

‎packages/graphql/package.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prefabs.tech/fastify-graphql",
3-
"version": "0.88.1",
3+
"version": "0.88.2",
44
"description": "Fastify graphql plugin",
55
"homepage": "https://github.com/prefabs-tech/fastify/tree/main/packages/graphql#readme",
66
"repository": {
@@ -34,8 +34,8 @@
3434
},
3535
"devDependencies": {
3636
"@prefabs.tech/eslint-config": "0.2.0",
37-
"@prefabs.tech/fastify-config": "0.88.1",
38-
"@prefabs.tech/fastify-slonik": "0.88.1",
37+
"@prefabs.tech/fastify-config": "0.88.2",
38+
"@prefabs.tech/fastify-slonik": "0.88.2",
3939
"@prefabs.tech/tsconfig": "0.2.0",
4040
"@types/node": "20.19.9",
4141
"@typescript-eslint/eslint-plugin": "8.38.0",
@@ -62,8 +62,8 @@
6262
"zod": "3.25.67"
6363
},
6464
"peerDependencies": {
65-
"@prefabs.tech/fastify-config": "0.88.1",
66-
"@prefabs.tech/fastify-slonik": "0.88.1",
65+
"@prefabs.tech/fastify-config": "0.88.2",
66+
"@prefabs.tech/fastify-slonik": "0.88.2",
6767
"fastify": ">=5.2.1",
6868
"fastify-plugin": ">=5.0.1",
6969
"graphql": ">=16.9.0",

‎packages/mailer/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prefabs.tech/fastify-mailer",
3-
"version": "0.88.1",
3+
"version": "0.88.2",
44
"description": "Fastify mailer plugin",
55
"homepage": "https://github.com/prefabs-tech/fastify/tree/main/packages/mailer#readme",
66
"repository": {
@@ -37,7 +37,7 @@
3737
},
3838
"devDependencies": {
3939
"@prefabs.tech/eslint-config": "0.2.0",
40-
"@prefabs.tech/fastify-config": "0.88.1",
40+
"@prefabs.tech/fastify-config": "0.88.2",
4141
"@prefabs.tech/tsconfig": "0.2.0",
4242
"@types/mjml": "4.7.4",
4343
"@types/node": "20.19.9",
@@ -64,7 +64,7 @@
6464
"vitest": "3.2.4"
6565
},
6666
"peerDependencies": {
67-
"@prefabs.tech/fastify-config": "0.88.1",
67+
"@prefabs.tech/fastify-config": "0.88.2",
6868
"fastify": ">=5.2.1",
6969
"fastify-plugin": ">=5.0.1",
7070
"mjml": ">=4.15.3"

‎packages/s3/package.json‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prefabs.tech/fastify-s3",
3-
"version": "0.88.1",
3+
"version": "0.88.2",
44
"description": "Fastify S3 plugin",
55
"homepage": "https://github.com/prefabs-tech/fastify/tree/main/packages/s3#readme",
66
"repository": {
@@ -42,9 +42,9 @@
4242
},
4343
"devDependencies": {
4444
"@prefabs.tech/eslint-config": "0.2.0",
45-
"@prefabs.tech/fastify-config": "0.88.1",
46-
"@prefabs.tech/fastify-graphql": "0.88.1",
47-
"@prefabs.tech/fastify-slonik": "0.88.1",
45+
"@prefabs.tech/fastify-config": "0.88.2",
46+
"@prefabs.tech/fastify-graphql": "0.88.2",
47+
"@prefabs.tech/fastify-slonik": "0.88.2",
4848
"@prefabs.tech/tsconfig": "0.2.0",
4949
"@types/node": "20.19.9",
5050
"@typescript-eslint/eslint-plugin": "8.38.0",
@@ -70,9 +70,9 @@
7070
"zod": "3.25.67"
7171
},
7272
"peerDependencies": {
73-
"@prefabs.tech/fastify-config": "0.88.1",
74-
"@prefabs.tech/fastify-graphql": "0.88.1",
75-
"@prefabs.tech/fastify-slonik": "0.88.1",
73+
"@prefabs.tech/fastify-config": "0.88.2",
74+
"@prefabs.tech/fastify-graphql": "0.88.2",
75+
"@prefabs.tech/fastify-slonik": "0.88.2",
7676
"fastify": ">=5.2.1",
7777
"fastify-plugin": ">=5.0.1",
7878
"slonik": ">=46.1.0",

‎packages/s3/src/index.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ export { default as FileService } from "./model/files/service";
1414
export { default as S3Client } from "./utils/s3Client";
1515
export type { FilePayload, Multipart, S3Config } from "./types";
1616
export type { File, FileCreateInput, FileUpdateInput } from "./types/file";
17-
export type { FileUpload as GraphQLFileUpload } from "graphql-upload-minimal";
17+
export type {
18+
FileUpload as GraphQLFileUpload,
19+
Upload as GraphQLUpload,
20+
} from "graphql-upload-minimal";
1821

1922
export { default } from "./plugin";
2023
export { default as ajvFilePlugin } from "./plugins/ajvFile";

‎packages/s3/src/plugins/multipartParser.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ const plugin = async (fastify: FastifyInstance) => {
2020
req.routeOptions.url?.startsWith(req.config.graphql.path as string)
2121
) {
2222
req.graphqlFileUploadMultipart = true;
23-
24-
// eslint-disable-next-line unicorn/no-null
25-
done(null);
2623
} else {
2724
processMultipartFormData(req, _payload, done);
2825
}
2926
}
27+
28+
// eslint-disable-next-line unicorn/no-null
29+
done(null);
3030
});
3131
};
3232

‎packages/slonik/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@prefabs.tech/fastify-slonik",
3-
"version": "0.88.1",
3+
"version": "0.88.2",
44
"description": "Fastify slonik plugin",
55
"homepage": "https://github.com/prefabs-tech/fastify/tree/main/packages/slonik#readme",
66
"repository": {
@@ -36,7 +36,7 @@
3636
},
3737
"devDependencies": {
3838
"@prefabs.tech/eslint-config": "0.2.0",
39-
"@prefabs.tech/fastify-config": "0.88.1",
39+
"@prefabs.tech/fastify-config": "0.88.2",
4040
"@prefabs.tech/tsconfig": "0.2.0",
4141
"@slonik/driver": "46.8.0",
4242
"@types/humps": "2.0.6",
@@ -65,7 +65,7 @@
6565
"zod": "3.25.67"
6666
},
6767
"peerDependencies": {
68-
"@prefabs.tech/fastify-config": "0.88.1",
68+
"@prefabs.tech/fastify-config": "0.88.2",
6969
"fastify": ">=5.2.1",
7070
"fastify-plugin": ">=5.0.1",
7171
"pg-mem": ">=3.0.2",

0 commit comments

Comments
 (0)