- Removed requirements to implement
fsutil.FS
forfsutil.WorkingDirFS
,fsutil.MkdirFS
,fsutil.WritableFS
,fsutil.RemoveFS
- Fixed
RouteParams
were emptied if the matched route doesn't have parameters but its parents do. - Fixed error trace added twice as an attribute in slog when logging
*errors.Error
having a reason of type*errors.Error
. Only the correct trace is printed now. - Validation: the request context is now automatically attached to the DB in the validation middleware.
- Extra in request and validation are now using typed keys instead of strings. You can now (and you are encouraged to) use comparable structures as keys.
ExtraJWTClaims
key has been moved to theauth
package.