Changelog
1.0.23 - 9 Jun 2024
Feature:
toResponse
for mapping custom responseBug fix:
Changelog
1.0.22 - 23 May 2024
Breaking Change:
/
Feature:
form
utility for returning explicit formdataformdata
Bug fix:
Bun.file
by specifying t.File()
and t.Object({ any: t.File() })
as a responseChangelog
1.0.21 - 21 May 2024
Breaking Change:
t.type({ error })
now accepts (error: ({ type, validator, value, errors }) => unknown)
instead of (error: (type, validator, value) => unknown)
Improvement:
t.type({ error })
accepts string | number | boolean | Object
instead of string
t.type({ error })
return string | number | boolean | Object | void
instead of string
errors: ValueError[]
to t.type({ error({ errors }) {} })
Bug fix:
Changelog
1.0.20 - 13 May 2024
Bug fix:
Changelog
1.0.19 - 13 May 2024
Bug fix:
Changelog
1.0.18 - 11 May 2024
Feature:
Bug fix:
Changelog
1.0.17 - 9 May 2024
Improvement:
Changelog
1.0.15 - 27 Apr 2024
Feature:
redirect
function to Context
Improvement:
Change:
isArrowReturn
to separateFunction
query
is not foundChange:
type
is specifiedcontentType
to contextcontentType
as 2nd parse
parameterBug fix:
parse
, type
, body
generate invalid syntax