1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 20:41:57 +00:00

new minor features

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-04-09 14:51:34 +03:00
parent f17a325df6
commit 4dfd4c53d3
14 changed files with 455 additions and 41 deletions

View File

@@ -28,6 +28,10 @@ The codebase for Dependency Injection, Internationalization and localization and
## Fixes and Improvements
- Add new [x/pagination](x/pagination/pagination.go) sub-package which supports generics code (go 1.18+).
- Add new [middleware/modrevision](middleware/modrevision) middleware (example at [_examples/project/api/router.go]_examples/project/api/router.go).
- Add `iris.BuildRevision` and `iris.BuildTime` to embrace the new go's 1.18 debug build information.
- Add `Context.SetJSONOptions` to customize on a higher level the JSON options on `Context.JSON` calls.
- Add new [auth](auth) sub-package which helps on any user type auth using JWT (access & refresh tokens) and a cookie (optional).