1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-10 21:45:57 +00:00

improvements of the new ContextWrapper

This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-11-03 21:20:32 +02:00
parent ec69670edc
commit 4d13ff3622
5 changed files with 143 additions and 87 deletions

View File

@@ -23,7 +23,7 @@ Developers are not forced to upgrade if they don't really need it. Upgrade whene
Changes apply to `main` branch.
- A new way to customize the handler's parameter among with the `hero` and `mvc` packages. New `iris.NewContextWrapper` method and `iris.DefaultContextPool` struct were added to wrap a handler and use a custom context instead of the iris.Context directly.
- A new way to customize the handler's parameter among with the `hero` and `mvc` packages. New `iris.NewContextWrapper` and `iris.NewContextPool` methods were added to wrap a handler and use a custom context instead of the iris.Context directly. Example at: https://github.com/kataras/iris/tree/main/_examples/routing/custom-context.
- The `cache` sub-package has an update, after 4 years: