🥳 Middlewares & Responses Rework and new docs
This release adds many (breaking) changes.
Documentation
To get a clear overview, visit the all-new docs.
Middlewares
Middlewares have been reworked from the ground up to provide the full functionality you would expect from a router. Now you can use all the Middlewares you have ever created in your life, with little to no changes in There!
Previous middlewares still work as they were intended. Only several small things need to be changed
- Context is now parsed with the
request.WithContext(ctx)method - Instead of
Next()you now return the parsednextparameter
Find more info about the changes in the docs.
HttpResponse
The interface has been reworked, and it is now way easier to implement your own HttpResponses. Also, Msgpack and Yaml have been removed to eliminate all third-party dependencies to make There even more lightweight.
You can find a list of all reworked HttpResponses in the docs.
Most important change
There now has a great new mascot! How do you like it?
Help
If you need help, join our discord or create an issue.