File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 29
29
attributes :
30
30
label : What environment are you using
31
31
description : |
32
+ Answer with runtime and version you are using.
32
33
- Bun version: `bun --version`
33
34
- Node version: `node --version`
34
35
- Deno version: `deno --version`
Original file line number Diff line number Diff line change
1
+ # 1.3.11 - 18 Aug 2025
2
+ Bug fix:
3
+ - [ #1346 ] ( https://github.com/elysiajs/elysia/issues/1346 ) cannot declare 'mep' twice
4
+
1
5
# 1.3.10 - 18 Aug 2025
2
6
Bug fix:
3
7
- [ #1028 ] ( https://github.com/elysiajs/elysia/issues/1028 ) query array nuqs format in dynamic mode
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " elysia" ,
3
3
"description" : " Ergonomic Framework for Human" ,
4
- "version" : " 1.3.10 " ,
4
+ "version" : " 1.3.11 " ,
5
5
"author" : {
6
6
"name" : " saltyAom" ,
7
7
"url" : " https://github.com/SaltyAom" ,
Original file line number Diff line number Diff line change @@ -1969,6 +1969,8 @@ export const composeHandler = ({
1969
1969
else fnLiteral += `c.code=error.code??error[ERROR_CODE]??"UNKNOWN"\n`
1970
1970
1971
1971
fnLiteral += `let er\n`
1972
+ // Mapped error Response
1973
+ if ( hooks . mapResponse ?. length ) fnLiteral += 'let mep\n'
1972
1974
1973
1975
for ( let i = 0 ; i < hooks . error . length ; i ++ ) {
1974
1976
const endUnit = errorReporter . resolveChild ( hooks . error [ i ] . fn . name )
@@ -1987,9 +1989,6 @@ export const composeHandler = ({
1987
1989
total : hooks . mapResponse ?. length
1988
1990
} )
1989
1991
1990
- // Mapped error Response
1991
- fnLiteral += 'let mep\n'
1992
-
1993
1992
for ( let i = 0 ; i < hooks . mapResponse . length ; i ++ ) {
1994
1993
const mapResponse = hooks . mapResponse [ i ]
1995
1994
You can’t perform that action at this time.
0 commit comments