Skip to content

Commit f3ba033

Browse files
authored
v0.14.1 - see CHANGELOG for details (#44)
1 parent d3e9df9 commit f3ba033

File tree

5 files changed

+22
-9
lines changed

5 files changed

+22
-9
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [0.14.1] - 2025-02-23
2+
3+
### Changed
4+
5+
- upgraded dependencies: `npm:zod@^3.24.2`
6+
17
## [0.14.0] - 2025-02-04
28

39
## Changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,3 +486,10 @@ deno coverage cov_profile
486486
```
487487

488488
[![test coverage](https://codecov.io/gh/Thesephi/oak-routing-ctrl/graphs/tree.svg?token=BA3M9P6410)](https://codecov.io/github/Thesephi/oak-routing-ctrl)
489+
490+
## FAQs
491+
492+
Q: can this library support fullstack web development?
493+
494+
A: yes, in fact there's a fullstack web framework on top of this library:
495+
[FullSoak](https://jsr.io/@fullsoak/fullsoak)

deno.jsonc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dklab/oak-routing-ctrl",
3-
"version": "0.14.0",
3+
"version": "0.14.1",
44
"exports": {
55
".": "./mod.ts",
66
"./mod": "./mod.ts"
@@ -26,7 +26,7 @@
2626
"@std/io": "jsr:@std/io@^0.225.2",
2727
"@std/path": "jsr:@std/path@^1.0.8",
2828
"@std/testing": "jsr:@std/testing@^1.0.9",
29-
"zod": "npm:zod@^3.24.1",
29+
"zod": "npm:zod@^3.24.2",
3030
"superoak": "https://deno.land/x/[email protected]/mod.ts"
3131
},
3232
"fmt": {

deno.lock

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

src/useOakServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const useOakServer = (
4848
ctx.response.body = ctx.response.body ?? handlerRetVal;
4949
} catch (e) {
5050
if (e instanceof z.ZodError) {
51-
return ctx.throw(Status.BadRequest, e.toString());
51+
return ctx.throw(Status.BadRequest, (e as Error).toString());
5252
}
5353
throw e;
5454
}

0 commit comments

Comments
 (0)