0.3.0
Highlights π
- Added built-in support for React and JSX
- Added
request.route
, which is the route that was matched to handle the request - Added examples and improved documentation, including how to serve static files
- Added
pogo.router()
and aRouter
API to create collections of routes without a server - Added
server.stop()
, which is useful for graceful shutdown - Added convenience APIs for cookies (
request.state
,response.state()
,response.unstate()
) - Use Deno's automatic text encoding (tests using
server.inject()
receive the body as a string in most cases now and don't need to decode it) - Updated to Deno v0.33.0
Bug fixes π
- Fixed handling of
Uint8Array
s when returned by route handlers