Skip to content

Releases: hwchen/tophat

v0.3.0

30 Dec 20:25
Compare
Choose a tag to compare

Breaking

  • update Glitch setters to have consistent naming. status and message are now set_status and set_message
  • replace log with tracing

Features

  • handle 100 continue
  • new api for bytes_written from ResponseWritten
  • new example for tokio-postgres with deadpool

Internal

  • swap piper for async-dup and async-channel
  • update deps
  • swap in futures-lite where possible.

v0.2.1

27 May 01:30
Compare
Choose a tag to compare

Internal

  • remove thiserror as a dependency (just manually derive errors)

v0.2.0

20 May 02:25
Compare
Choose a tag to compare

Features

  • ResponseWriter now holds a Response, so it's not need to create one separately.
  • Convenience methods on ResponseWriter.
  • Glitch and GlitchExt for error management to error response.
  • ResponseWritten no longer creatable by user.
  • Remove unwrap macros (were they ever a good idea?).
  • Router now behind feature gate.
  • Cors, feature gated.
  • Identity, feature gated.
  • "Middleware" philosophy confirmed. (no specific framework for it)
  • Beginning of docs.

Internal

  • remove mime crate.
  • pub use http crate.
  • remove more unwraps.
  • ci on all features
  • remove clippy on stable (nightly has different lints)
  • anyhow was added then removed.