Skip to content

v0.6.0

Latest
Compare
Choose a tag to compare
@robertwayne robertwayne released this 24 Jun 22:16
· 5 commits to main since this release
9f18889

v0.6.0

  • Added support for Vary headers in responses via the VaryHxRequest, VaryHxTarget, VaryHxTrigger, and VaryHxTriggerName responders. (@imbolc)
  • Header names/values are now typed as HeaderName and HeaderValue instead of &str. (@imbolc)
  • HxError now implements source on error::Error. (@imbolc)
  • Added AutoVaryLayer middleware to automatically manage Vary headers when using corresponding extractors. The middleware is behind the auto-vary feature. See this section of the README for more details.. (@imbolc)