Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.26 KB

CHANGELOG.md

File metadata and controls

41 lines (25 loc) · 1.26 KB

Changelog

1.5.0

  • Added route-aware middleware, see README
  • Switched to eslint-plugin-expect-type for type assertions.
  • Various dependency updates

1.4.1

  • Fix bug where query parameters weren't supported or post/patch/put requests #22

1.4

  • Type validation for query parameters #19. Thanks to @CarterGrimmeisen for the contribution!
  • Security update for y18n #20
  • Add an option for a custom 400 Invalid Request handler #19
  • Add --noExtraProps to README with some explanatory Q&A.

1.3

  • Support more complex inline types in handlers, e.g. Endpoint<{user: User|null}, User>. This also adds support for intersection types. See #10

1.2.2

  • Suppress invalid HTTP Errors #6

1.2

  • Add wrappers for all HTTP verbs (router.post, router.patch, etc.) #2

1.1

  • Add support for readonly request bodies #1

1.0

  • Initial release