Releases: akheron/typera
Releases · akheron/typera
v2.4.4
What’s Changed
🐛 Bug Fixes
- Enhance default response encoding and Content-Type (#418) @akheron
v2.4.3
What’s Changed
🐛 Bug Fixes
v2.4.2
What’s Changed
🐛 Bug Fixes
- Prevent using exact codecs with Parser.headers + improve headers Proxy (#392) @rjoonas
🧰 Maintenance
v2.4.1
What’s Changed
🐛 Bug Fixes
v2.4.0
What’s Changed
🚀 Features
- Allow middleware to access captured route params (#114) @akheron
v2.3.0
What’s Changed
🚀 Features
v2.2.1
What’s Changed
🐛 Bug Fixes
- wrapNative: Add support for middleware that replace
res.end
(#102) @akheron
v2.2.0
What’s Changed
🚀 Features
- Add experimental support for Express middleware:
Middleware.wrapNative()
(#75) @akheron
🐛 Bug Fixes
- Allow ChainedMiddleware to access the request base (#76) @akheron
v2.1.0
What’s Changed
🚀 Features
v2.0.0
BREAKING CHANGES
- Requires TypeScript 4.1 or newer
- Remove the deprecated
routeHandler()
, run()
, Parser.routeParams()
and Parser.routeParamsP()
functions.
- Remvove the deprecated function chaining syntax for defining routes
- Remove
URL.int()
and URL.str()
in favor of path patterns and conversions
New features
- Type-safe support for path patterns like
'/user/:id(num)/foo/:bar(custom)'
- Support for registering custom route parameter conversions with
route.useParamConversions()