kochab/CHANGELOG.md
2020-11-20 10:05:18 -05:00

1.5 KiB

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]

Added

  • document API for creating Gemini documents
  • preliminary timeout API, incl a special case for complex MIMEs by @Alch-Emi
  • Response::success_with_body by @Alch-Emi
  • redirect_temporary_lossy for Response and ResponseHeader
  • bad_request_lossy for Response and ResponseHeader
  • support for a lot more mime-types in guess_mime_from_path, backed by the mime_guess crate
  • customizable TLS cert & key paths by @Alch-Emi
  • server_dir default feature for serve_dir utils @Alch-Emi
  • Docments can be converted into responses with std::convert::Into @Alch-Emi

Improved

[0.3.0] - 2020-11-14

Added

  • GEMINI_MIME_STR, the &str representation of the Gemini MIME
  • Meta::new_lossy, constructor that never fails
  • Meta::MAX_LEN, which is 1024
  • "lossy" constructors for Response and Status (see Meta::new_lossy)

Changed

  • Meta::new now rejects strings exceeding Meta::MAX_LEN (1024)
  • Some Response and Status constructors are now infallible
  • Improve error messages

Deprecated

  • Instead of gemini_mime() use GEMINI_MIME

[0.2.0] - 2020-11-14

Added