Skip to content

Commit 591905e

Browse files
authored
v0.16.0 - see CHANGELOG for details (#51)
1 parent 40211d8 commit 591905e

File tree

5 files changed

+67
-99
lines changed

5 files changed

+67
-99
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [0.16.0] - 2025-11-27
2+
3+
- upgraded dependencies: `npm:@asteasolutions/zod-to-openapi@^8.1.0`,
4+
`jsr:@oak/oak@^17.2.0`, `jsr:@std/assert@^1.0.16`, `jsr:@std/io@^0.225.2`,
5+
`jsr:@std/path@^1.1.3`, `jsr:@std/testing@^1.0.16`, `npm:zod@^4.1.13`
6+
17
## [0.15.2] - 2025-06-29
28

39
- upgraded dependencies: `npm:@asteasolutions/zod-to-openapi@^7.3.4`,

deno.jsonc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dklab/oak-routing-ctrl",
3-
"version": "0.15.2",
3+
"version": "0.16.0",
44
"exports": {
55
".": "./mod.ts",
66
"./mod": "./mod.ts"
@@ -20,13 +20,13 @@
2020
"doc": "deno doc --html mod.ts"
2121
},
2222
"imports": {
23-
"@asteasolutions/zod-to-openapi": "npm:@asteasolutions/zod-to-openapi@^7.3.4",
24-
"@oak/oak": "jsr:@oak/oak@^17.1.4",
25-
"@std/assert": "jsr:@std/assert@^1.0.13",
23+
"@asteasolutions/zod-to-openapi": "npm:@asteasolutions/zod-to-openapi@^8.1.0",
24+
"@oak/oak": "jsr:@oak/oak@^17.2.0",
25+
"@std/assert": "jsr:@std/assert@^1.0.16",
2626
"@std/io": "jsr:@std/io@^0.225.2",
27-
"@std/path": "jsr:@std/path@^1.1.0",
28-
"@std/testing": "jsr:@std/testing@^1.0.14",
29-
"zod": "npm:zod@^3.25.67",
27+
"@std/path": "jsr:@std/path@^1.1.3",
28+
"@std/testing": "jsr:@std/testing@^1.0.16",
29+
"zod": "npm:zod@^4.1.13",
3030
"superoak": "https://deno.land/x/[email protected]/mod.ts"
3131
},
3232
"fmt": {

deno.lock

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

src/useOakServer_test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,14 +255,13 @@ Deno.test({
255255
expectedCtxThrow: true,
256256
expectedError: `[
257257
{
258-
"received": "camela",
259-
"code": "invalid_enum_value",
260-
"options": [
258+
"code": "invalid_value",
259+
"values": [
261260
"alice",
262261
"bob"
263262
],
264263
"path": [],
265-
"message": "Invalid enum value. Expected 'alice' | 'bob', received 'camela'"
264+
"message": "Invalid option: expected one of \\"alice\\"|\\"bob\\""
266265
}
267266
]`,
268267
expectedResponse: undefined,

src/utils/schema_utils.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -50,45 +50,27 @@ type SubsetOfZ = Pick<
5050
| "undefined"
5151
| "null"
5252
| "enum"
53-
| "addIssueToContext"
5453
| "any"
5554
| "bigint"
5655
| "coerce"
5756
| "custom"
5857
| "date"
59-
| "datetimeRegex"
60-
| "defaultErrorMap"
6158
| "discriminatedUnion"
62-
| "effect"
6359
| "function"
6460
| "getErrorMap"
65-
| "getParsedType"
6661
| "instanceof"
6762
| "intersection"
68-
| "isAborted"
69-
| "isAsync"
70-
| "isDirty"
71-
| "isValid"
72-
| "late"
7363
| "lazy"
7464
| "literal"
75-
| "makeIssue"
7665
| "map"
77-
| "objectUtil"
78-
| "oboolean"
79-
| "onumber"
8066
| "optional"
81-
| "ostring"
82-
| "pipeline"
8367
| "preprocess"
8468
| "promise"
85-
| "quotelessJson"
8669
| "record"
8770
| "set"
8871
| "setErrorMap"
8972
| "strictObject"
9073
| "symbol"
91-
| "transformer"
9274
| "tuple"
9375
| "union"
9476
| "unknown"

0 commit comments

Comments
 (0)