Tide v0.7.0 Release Notes

Release Date: 2020-04-17 // about 4 years ago
  • 📄 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

    • Enables per-route middleware #399
    • ➕ Added an example for chunked encoding #430

    🔄 Changed

    • Made Endpoint::call generic over the lifetime #397
    • ✂ Removed Result from Request::cookie #413
    • 0️⃣ Use async-h1 as the default engine #414
    • 👉 Use http-types as the interface types #414

    🛠 Fixed

    • 🛠 Fixed a path on the changelog.md #395
    • ✂ Removed unnecessary internal pin-project call #410