Skip to content

Releases: akheron/typera

v2.4.4

23 Mar 19:29
Compare
Choose a tag to compare

What’s Changed

🐛 Bug Fixes

  • Enhance default response encoding and Content-Type (#418) @akheron

v2.4.3

09 Mar 20:05
Compare
Choose a tag to compare

What’s Changed

🐛 Bug Fixes

  • Allow all codecs again with Parser.headers (#407) @akheron

v2.4.2

24 Feb 18:36
Compare
Choose a tag to compare

What’s Changed

🐛 Bug Fixes

  • Prevent using exact codecs with Parser.headers + improve headers Proxy (#392) @rjoonas

🧰 Maintenance

  • docs: add example about how to use chainedMiddleware (#350) @ajmnz
  • docs: add typera-openapi url in README (#351) @GabeAtWork

v2.4.1

26 May 17:36
Compare
Choose a tag to compare

What’s Changed

🐛 Bug Fixes

v2.4.0

16 Mar 10:55
Compare
Choose a tag to compare

What’s Changed

🚀 Features

  • Allow middleware to access captured route params (#114) @akheron

v2.3.0

14 Mar 18:09
Compare
Choose a tag to compare

What’s Changed

🚀 Features

v2.2.1

03 Mar 20:10
Compare
Choose a tag to compare

What’s Changed

🐛 Bug Fixes

  • wrapNative: Add support for middleware that replace res.end (#102) @akheron

v2.2.0

15 Feb 18:57
Compare
Choose a tag to compare

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

09 Feb 17:09
Compare
Choose a tag to compare

What’s Changed

🚀 Features

  • Add Parser.cookies and Parser.cookiesP (#69) @akheron

v2.0.0

13 Jan 19:36
Compare
Choose a tag to compare

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()