All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Charset to
html_body
function. (@R0DR160HM #6)
- Websocket support with the new
glen.websocket
API &glen/ws
module.
- Improved
log
middleware- More specific response colors for redirectional and informational responses
- Logs the amount of time the handler takes to respond in milliseconds
- Exported types from
conversation
.JsRequest
JsResponse
JsReadableStream
- Changelog to keep track of changes and releases
- Argument ordering of
serve
andcustom_serve
to beuse
-friendly and more idiomatic.// Before pub fn main() { glen.serve(handle_req, 8000) } // Now pub fn main() { glen.serve(8000, handle_req) }
// Before pub fn main() { glen.custom_serve(handle_req, my_serve, 8000) } // Now pub fn main() { glen.serve(8000, my_serve, handle_req) }
custom_serve
function in favor ofconvert_request
andconvert_response
(more info in the readme).
Pre v2.0.0 versions are not documented in the changelog.