Skip to content

v2.5.0

Compare
Choose a tag to compare
@yoshuawuyts yoshuawuyts released this 27 Sep 15:51
· 238 commits to main since this release

This patch introduces various typed headers for content-negotiation, proxying, and makes it easier to work with statuscodes in errors.

Added

  • Add contains to HeaderValues. #240
  • impl Display for Version #238
  • Add content::AcceptEncoding. #232
  • Add conditional::Vary #225
  • Add conditional::{IfMatch, IfNoneMatch} #224
  • Add conditional::{IfModifiedSince, IfUnmodifiedSince, LastModified} #222
  • Add proxies::Forwarded header #221
  • Add cache::Expires #220
  • Add cache::Age header #219
  • Added Error::type_name #213

Changed

  • Allow Error::set_status to take TryInto<StatusCode> #249
  • Enabled Error::new to take TryInto<StatusCode> #216
  • Tweak main lib docs #235
  • Update headers copy #223

Removed

  • Removed "unstable" Client and Server traits #218

Fixed

  • Fix typo #243
  • Fix error message #237
  • Headers: etag: reject invalid characters #233

Internal

  • Dont deny warnings during dev #245
  • Bump dependencies #242
  • CI: only run clippy as part of fmt #239
  • Upgrade to infer 0.2.3 #236
  • Fix clippy warnings #234
  • Fix clippy warning #250
  • Run ci on stable as well as nightly #229
  • Do not run ci for wasm — async-std 1.6.3 does not compile on wasm arch #228
  • Main branch renamed to main #226
  • Move TimingAllowOrigin to security submodule #217