Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update effect dependencies #678

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/gorgeous-hotels-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"effect-http-node": patch
"effect-http": patch
---

Update effect dependencies.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.8",
"@effect/build-utils": "^0.7.8",
"@effect/docgen": "^0.4.4",
"@effect/docgen": "^0.4.5",
"@effect/dtslint": "^0.1.1",
"@effect/eslint-plugin": "^0.2.0",
"@effect/language-service": "^0.1.0",
"@effect/vitest": "^0.10.0",
"@types/node": "^22.5.5",
"@effect/vitest": "^0.10.4",
"@types/node": "^22.7.0",
"@types/swagger-ui-dist": "^3.30.5",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@vitest/coverage-v8": "^2.1.1",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"eslint": "^8.57.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-codegen": "0.28.0",
"eslint-plugin-codegen": "0.29.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
Expand Down
18 changes: 9 additions & 9 deletions packages/effect-http-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@
"swagger-ui-dist": "^5.17.14"
},
"peerDependencies": {
"@effect/platform": "^0.65.0",
"@effect/platform-node": "^0.60.0",
"@effect/schema": "^0.73.0",
"@effect/platform": "^0.66.0",
"@effect/platform-node": "^0.61.0",
"@effect/schema": "^0.74.0",
"effect": "^3.8.0",
"effect-http": "workspace:^"
},
"devDependencies": {
"@effect/platform": "^0.65.1",
"@effect/platform-bun": "^0.45.1",
"@effect/platform-node": "^0.60.1",
"@effect/schema": "^0.73.0",
"@types/node": "^22.5.5",
"effect": "^3.8.0",
"@effect/platform": "^0.66.2",
"@effect/platform-bun": "^0.46.3",
"@effect/platform-node": "^0.61.3",
"@effect/schema": "^0.74.1",
"@types/node": "^22.7.0",
"effect": "^3.8.4",
"effect-http": "workspace:^"
}
}
2 changes: 1 addition & 1 deletion packages/effect-http-node/test/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ it.scoped(
)

expect(result.message).toEqual(
"Failed to encode headers. Expected { readonly another-header: string; readonly x-my-header: NumberFromString }, actual undefined"
"Failed to encode headers. Expected { readonly x-my-header: NumberFromString; readonly another-header: string }, actual undefined"
)
expect(result.side).toEqual("client")

Expand Down
10 changes: 5 additions & 5 deletions packages/effect-http-node/test/handler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,10 @@ describe("error reporting", () => {
expect(yield* response.json).toEqual({
error: "Request validation error",
location: "query",
message: `{ readonly another: string; readonly value: "x" | "y" }
├─ ["another"]
message: `{ readonly value: "x" | "y"; readonly another: string }
├─ ["value"]
│ └─ is missing
└─ ["value"]
└─ ["another"]
└─ is missing`
})
}))
Expand All @@ -319,8 +319,8 @@ describe("error reporting", () => {
expect(yield* response.json).toEqual({
error: "Request validation error",
location: "query",
message: `{ readonly another: string; readonly value: "x" | "y" }
└─ ["another"]
message: `{ readonly value: "x" | "y"; readonly another: string }
└─ ["value"]
└─ is missing`
})
}))
Expand Down
10 changes: 5 additions & 5 deletions packages/effect-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"coverage": "vitest --coverage"
},
"peerDependencies": {
"@effect/platform": "^0.65.0",
"@effect/schema": "^0.73.0",
"@effect/platform": "^0.66.0",
"@effect/schema": "^0.74.0",
"effect": "^3.8.0"
},
"devDependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
"@effect/platform": "^0.65.1",
"@effect/schema": "^0.73.0",
"effect": "^3.8.0"
"@effect/platform": "^0.66.2",
"@effect/schema": "^0.74.1",
"effect": "^3.8.4"
}
}
10 changes: 5 additions & 5 deletions packages/effect-http/test/openapi.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ describe("data types", () => {

expect(OpenApi.makeSchema(schema)).toStrictEqual({
type: "string",
description: "a string"
description: "a string that will be parsed into a number"
})
})
})
Expand Down Expand Up @@ -815,7 +815,7 @@ describe("objects", () => {
id: { type: "integer", description: "an integer" },
name: { type: "string", description: "a string" }
},
required: ["name", "id"]
required: ["id", "name"]
})
})

Expand All @@ -842,7 +842,7 @@ describe("objects", () => {
name: { type: "string", description: "a string" },
username: { type: "string", description: "a string" }
},
required: ["username", "id"]
required: ["id", "username"]
})
})

Expand All @@ -863,7 +863,7 @@ describe("objects", () => {
name: { description: "a string", type: "string" },
username: { description: "a string", type: "string" }
},
required: ["username", "id"]
required: ["id", "username"]
})
})
})
Expand Down Expand Up @@ -971,7 +971,7 @@ describe("description annotation", () => {
id: { type: "integer", description: "id description" },
name: { type: "string", enum: ["value"], description: "value description" }
},
required: ["name", "id"],
required: ["id", "name"],
description: "my description"
})
})
Expand Down
Loading