- Added route-aware middleware, see README
- Switched to
eslint-plugin-expect-type
for type assertions. - Various dependency updates
- Fix bug where query parameters weren't supported or post/patch/put requests #22
- 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.
- Support more complex inline types in handlers, e.g.
Endpoint<{user: User|null}, User>
. This also adds support for intersection types. See #10
- Suppress invalid HTTP Errors #6
- Add wrappers for all HTTP verbs (
router.post
,router.patch
, etc.) #2
- Add support for readonly request bodies #1
- Initial release