Skip to content

Latest commit

 

History

History
78 lines (54 loc) · 1.54 KB

CHANGELOG.md

File metadata and controls

78 lines (54 loc) · 1.54 KB

Changelog

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.

Unreleased

v2.2.1 - 2024-11-06

Changed

  • Charset to html_body function. (@R0DR160HM #6)

v2.2.0 - 2024-02-29

Added

  • Websocket support with the new glen.websocket API & glen/ws module.

v2.1.1 - 2024-02-17

Changed

  • Improved log middleware
    • More specific response colors for redirectional and informational responses
    • Logs the amount of time the handler takes to respond in milliseconds

v2.1.0 - 2024-02-09

Added

  • Exported types from conversation.
    • JsRequest
    • JsResponse
    • JsReadableStream

v2.0.0 - 2024-02-05

Added

  • Changelog to keep track of changes and releases

Changed

  • Argument ordering of serve and custom_serve to be use-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)
    }

Removed

  • custom_serve function in favor of convert_request and convert_response (more info in the readme).

Pre-v2.0.0

Pre v2.0.0 versions are not documented in the changelog.