- Added a name to special routes (the
notFound
andmethodNotAllowed
routes) so it is possible to know if there was no matched route from inside a global middleware. testutil.TestMiddleware
now also copies therequest.Route
.- ⚠️ The auth middleware is now only executed if the matched route (or one of its parents) have the meta
auth.MetaAuth
set totrue
. This means theauth.Middleware
is now meant to be used as a global middleware. Routers and routes can be individually marked as requiring auth or not.