- Change
ctx.req
fromhttp.IncomingMessage
toICtxRequest
(which extendsIncomingMessage
)- This fixes many problems with types for
@routex/body-parser
- This fixes many problems with types for
- Upgrade dev dependencies
- Graduate to v1.0.0
- Require Node 10
- Export
IRouteOptions
- Fix empty chunk
- Clean development environment
- Remove typings for Superagent
- Update ESLint config
- Upgrade dependencies
- Fix small typing bug with previous update of middleware type
- Update handler/middleware types, add
MiddlewareNext
- Add
error
to context- Add catching in
Routex.runHandler
- Add catching in
- Add
Routex.createCtx
andRoutex.runHandler
as testing helpers
- Fix bug with middleware applying before params parsing
- Remove support for Node 8
- Upgrade dependencies
- Added body return in handler
- Added/refactored some tests
- Upgrade dependencies
- Upgrade dependencies
- Fix large body not fully sending again
- Change
IBody
to use Buffers
- First beta release candidate!
- Fix large body not fully sending
- Upgrade dependencies
- Export
ICtxData
andICtxProviders
- Upgrade dependencies
- Move to ESLint (from TSLint)
- Add
ICtxData
interface for easier extending - Add providers and
ICtxProviders
- Add
errorHandler
to Routex class options. - Move types
- Move org & docs
- Add content type to
TextBody
&JsonBody
- Small refactor
- Add HTTPS
- Add clustering
- Add request ID
- Add app middlewares
- Add more code documentation
- Small refactor
- Add params
- Add attaching multiple middlewares at once
- Add creating sub-routers with middlewares
- Add handling for
OPTIONS
- Add documentation on query string, headers, body parser, and cookies
- Export
Middleware
- Allow full child routers
- Add query string handling (under
ctx.query
)- Fix matching with query string
- Re-release of v0.0.6 (forgot to build again)
- Exported
ICtx
- Re-release of v0.0.4 (forgot to build)
- Exported
Handler
- Change
(req, res) => ...
toctx => ...
- Add
ctx.body
- Add
JsonBody
- Add
TextBody
- Add
- Change
req.data
toctx.data
- Add
useExpress
for Express/Connect/callback style middlewares
- Add more documentation to README
- Add middlewares
- Add
router.child
, removerouter.use
- Add
router.route
,router.any
- Add
PATCH
,PUT
,DELETE
methods - Add
port
andclose
toapp.listen
return - Rename
app.rootHandler
toapp.handler
- Add chaining routes
- Add exact route matching with route options
- Add multiple method routes
- Initial release