1
0
mirror of https://github.com/kataras/iris.git synced 2026-03-07 08:55:57 +00:00

New 'Application.UseRouter(...Handler)'. Read HISTORY.md

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-09 22:28:44 +03:00
parent 24de7bf7fb
commit da029d6f37
3 changed files with 102 additions and 35 deletions

View File

@@ -359,6 +359,8 @@ Response:
Other Improvements:
- `Application.UseRouter(...Handler)` - to register handlers before the main router, useful on handlers that should control whether the router itself should ran or not. Independently of the incoming request's method and path values. These handlers will be executed ALWAYS against ALL incoming requests. Example of use-case: CORS.
- `*versioning.Group` type is a full `Party` now.
- `Party.UseOnce` - either inserts a middleware, or on the basis of the middleware already existing, replace that existing middleware instead.