Releases: hwchen/tophat
Releases · hwchen/tophat
v0.3.0
Breaking
- update
Glitch
setters to have consistent naming.status
andmessage
are nowset_status
andset_message
- replace log with tracing
Features
- handle 100 continue
- new api for
bytes_written
fromResponseWritten
- 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
v0.2.0
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.