v0.7.0
This patch switches Tide to use http-types
for its interface, and async-h1
as its default engine. Additionally we now allow middleware to be defined on a per-route basic. Put together this is effectively an overhaul of Tide's internals, and constitutes a fairly large change.
If you're using Tide in production please be advised this release may have a different stability profile than what you've become used to in the past, and we advice upgrading with appropriate caution. If you find any critical bugs, filing a bug report on one of the issue trackers and reaching out directly over Discord is the quickest way to reach the team.
The reason we're making these changes is that it will allow us to finally polish our error handling story, severely simplify internal logic, and enable many many other features we've been wanting to implement for years now. This is a big step for the project, and we're excited to be taking it together.
Added
Changed
- Made
Endpoint::call
generic over the lifetime #397 - Removed
Result
fromRequest::cookie
#413 - Use
async-h1
as the default engine #414 - Use
http-types
as the interface types #414