Skip to content

Commit 720849f

Browse files
chore: update effect dependencies (#1274)
Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
1 parent d822137 commit 720849f

10 files changed

Lines changed: 3769 additions & 930 deletions

File tree

.changeset/fifty-jars-turn.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@example/backend-adapters": patch
3+
"@example/backend-adapters-server": patch
4+
"@uploadthing/shared": patch
5+
"uploadthing": patch
6+
"next-playground": patch
7+
"next-playground-v6": patch
8+
"@uploadthing/tsconfig": patch
9+
---
10+
11+
chore: update effect dependencies

examples/backend-adapters/server/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
"dev:effect": "NODE_ENV=development PORT=3003 tsx watch src/effect-platform.ts"
1414
},
1515
"dependencies": {
16-
"@effect/platform": "0.90.3",
17-
"@effect/platform-node": "0.96.0",
16+
"@effect/platform": "0.96.0",
17+
"@effect/platform-node": "0.106.0",
1818
"@elysiajs/cors": "^1.2.0",
1919
"@fastify/cors": "^10.0.1",
2020
"@hono/node-server": "^1.13.7",
2121
"@sinclair/typebox": "^0.34.13",
2222
"cors": "^2.8.5",
2323
"dotenv": "^16.4.5",
24-
"effect": "3.17.7",
24+
"effect": "3.21.0",
2525
"elysia": "^1.2.9",
2626
"express": "^5.0.1",
2727
"fastify": "^5.2.0",

examples/backend-adapters/server/src/effect-platform.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ const cors = HttpMiddleware.make((app) =>
5050

5151
const router = HttpRouter.empty.pipe(
5252
HttpRouter.get("/api", HttpServerResponse.text("Hello from Effect")),
53-
// @ts-expect-error - FIXME!!!
54-
HttpRouter.mount("/api/uploadthing", uploadthingRouter),
53+
HttpRouter.mountApp("/api/uploadthing", uploadthingRouter),
5554
);
5655

5756
const app = router.pipe(

packages/shared/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@
4242
},
4343
"dependencies": {
4444
"@uploadthing/mime-types": "workspace:*",
45-
"effect": "3.17.7",
45+
"effect": "3.21.0",
4646
"sqids": "^0.3.0"
4747
},
4848
"devDependencies": {
49-
"@effect/vitest": "0.25.1",
49+
"@effect/vitest": "0.29.0",
5050
"@types/react": "19.2.7",
5151
"@uploadthing/eslint-config": "workspace:",
5252
"@uploadthing/tsconfig": "workspace:",

packages/uploadthing/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,14 @@
159159
"typecheck": "tsc --noEmit"
160160
},
161161
"dependencies": {
162-
"@effect/platform": "0.90.3",
162+
"@effect/platform": "0.96.0",
163163
"@standard-schema/spec": "1.0.0-beta.4",
164164
"@uploadthing/mime-types": "workspace:*",
165165
"@uploadthing/shared": "workspace:*",
166-
"effect": "3.17.7"
166+
"effect": "3.21.0"
167167
},
168168
"devDependencies": {
169-
"@effect/vitest": "0.25.1",
169+
"@effect/vitest": "0.29.0",
170170
"@remix-run/server-runtime": "^2.12.0",
171171
"@types/body-parser": "^1.19.5",
172172
"@types/express": "^5.0.0",

packages/uploadthing/src/effect-platform.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import type * as HttpApp from "@effect/platform/HttpApp";
2+
import type * as HttpClient from "@effect/platform/HttpClient";
13
import * as HttpRouter from "@effect/platform/HttpRouter";
24
import * as HttpServerRequest from "@effect/platform/HttpServerRequest";
35
import * as Effect from "effect/Effect";
@@ -51,7 +53,7 @@ export const createRouteHandler = <TRouter extends FileRouter>(opts: {
5153
* ```
5254
*/
5355
config?: Omit<RouteHandlerConfig, "fetch" | "logLevel">;
54-
}) => {
56+
}): HttpApp.Default<unknown, HttpClient.HttpClient> => {
5557
const router = Effect.runSync(
5658
createRequestHandler<TRouter>(opts, "effect-platform"),
5759
);

playground-v6/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dependencies": {
1212
"@uploadthing/react": "npm:@uploadthing/react@6",
1313
"clsx": "2.1.1",
14-
"effect": "3.17.7",
14+
"effect": "3.21.0",
1515
"next": "canary",
1616
"react": "19.2.2",
1717
"react-dom": "19.2.2",

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dependencies": {
1212
"@uploadthing/react": "workspace:*",
1313
"class-variance-authority": "^0.7.1",
14-
"effect": "3.17.7",
14+
"effect": "3.21.0",
1515
"lucide-react": "^0.469.0",
1616
"next": "canary",
1717
"react": "19.2.2",

pnpm-lock.yaml

Lines changed: 3742 additions & 915 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tooling/tsconfig/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"base.json"
77
],
88
"dependencies": {
9-
"@effect/language-service": "0.35.2",
10-
"effect": "3.17.7",
9+
"@effect/language-service": "0.84.3",
10+
"effect": "3.21.0",
1111
"typescript": "5.8.3"
1212
}
1313
}

0 commit comments

Comments
 (0)