1
0
mirror of https://github.com/kataras/iris.git synced 2026-03-06 08:25:59 +00:00

add Context.SetJSONOptions

This commit is contained in:
Gerasimos (Makis) Maropoulos
2022-03-31 20:47:01 +03:00
parent cf36063adf
commit 84d1a60334
3 changed files with 55 additions and 9 deletions

View File

@@ -28,6 +28,9 @@ The codebase for Dependency Injection, Internationalization and localization and
## Fixes and Improvements
- Add `Context.SetJSONOptions` to customize on a higher level the JSON options on `Context.JSON` calls.
- Add new `sso` sub-package which helps on any user type auth using JWT (access & refresh tokens) and a cookie (optional).
- Add `Party.EnsureStaticBindings` which, if called, the MVC binder panics if a struct's input binding depends on the HTTP request data instead of a static dependency. This is useful to make sure your API crafted through `Party.PartyConfigure` depends only on struct values you already defined at `Party.RegisterDependency` == will never use reflection at serve-time (maximum performance).
- Add a new [x/sqlx](/x/sqlx/) sub-package ([example](_examples/database/sqlx/main.go)).