Skip to content

Latest commit

 

History

History
135 lines (89 loc) · 4.82 KB

CHANGELOG.md

File metadata and controls

135 lines (89 loc) · 4.82 KB

Changes

0.10.0

  • Replace chrono with time-rs

    chrono was only used to store and format DateTime into the slightly odd format required by RFC 7231, so to avoid the numerous RUSTSEC advisories generated by the localtime_r issue, we can just drop it entirely and switch to time-rs. Unfortunately this means we need to bump our minimum tested compiler version to 1.51, and as such this change requires a full minor release.

0.9.0

  • Rust 2018 Refactor

  • Enable prompt responses, before the request has been fully read

    This isn't an API change, but does result in different behaviour to 0.8.2 and so justifies a minor version bump.

    HTTP requests now return a boxed FusedReader which drops the underlying reader once it reaches EOF, such that the reader no longer needs to be explicitly consumed and the server may now respond with e.g. a "413 Payload too large" without waiting for the whole reader.

  • Bumped the minimum compiler version tested by CI to 1.48 (the version supported in Debian Bullseye)

0.8.2

0.8.1

0.8.0

0.7.0

0.6.2

0.6.1

0.6.0

0.5.9

  • Expanded and changed status code description mapping according to IANA registry:
  • #138

0.5.8

0.5.7

  • Fix using Transfer-Encoding: identity with no content length
  • #126

0.5.6

  • Update link to documentation
  • #123
  • Fix websockets
  • #124
  • Drop the request reader earlier
  • #125

0.5.5

  • Start using the log crate
  • #121
  • Unblock the accept thread on shutdown
  • #120

0.5.4

  • Fix compilation warnings
  • #118

0.5.3

  • Add try_recv_timeout function to the server
  • #116

0.5.2

  • Update ascii to version 0.7
  • #114

0.5.1

  • Request::respond now returns an IoResult
  • #110

0.5.0

  • HTTPS support
  • #107
  • Rework the server creation API
  • #106

0.4.1

  • Allow binding to a nic by specifying the socket address
  • #103

0.4.0

  • Make Method into an enum instead of a character string
  • #102