Former-commit-id: b54a5e69c7bfbc809f84ef4ca64e7489b7237e95
5.0 KiB
Registro de cambios
¿Buscando soporte gratuito y en tiempo real?
https://github.com/kataras/iris/issues
https://chat.iris-go.com
¿Buscando versiones anteriores?
https://github.com/kataras/iris/releases
¿Quieres ser contratado?
https://facebook.com/iris.framework
¿Debo actualizar mi versión de Iris?
Los desarrolladores no están obligados a actualizar si realmente no lo necesitan. Actualice siempre que se sienta listo.
Cómo actualizar: Abra su línea de comandos y ejecute este comando: go get github.com/kataras/iris@master
.
Viernes, 16 de Augusto 2019 | v11.2.8
- Establecer
Cookie.SameSite
comoLax
cuando el uso compartido de sesiones de subdominios esté habilitado* - Agregados y actualizados todos los Handlers experimentales
- Nueva función
XMLMap
que envuelve unmap[string]interface{}
y la convierte en un contenido xml válido para representarlo a través del métodoContext.XML
- Add new
ProblemOptions.XML
andRenderXML
fields to render theProblem
as XML(application/problem+xml) instead of JSON("application/problem+json) and enrich theNegotiate
to easily accept theapplication/problem+xml
mime.
Commit log: https://github.com/kataras/iris/compare/v11.2.7...v11.2.8
Th, 15 August 2019 | v11.2.7
This minor version contains improvements on the Problem Details for HTTP APIs implemented on v11.2.5.
- Fix https://github.com/kataras/iris/issues/1335#issuecomment-521319721
- Add
ProblemOptions
withRetryAfter
as requested at: https://github.com/kataras/iris/issues/1335#issuecomment-521330994. - Add
iris.JSON
alias forcontext#JSON
options type.
References:
Commit log: https://github.com/kataras/iris/compare/v11.2.6...v11.2.7
We, 14 August 2019 | v11.2.6
app.Get("/{alias:string regexp(^[a-z0-9]{1,10}\\.xml$)}", PanoXML)
app.Get("/{alias:string regexp(^[a-z0-9]{1,10}$)}", Tour)
Commit log: https://github.com/kataras/iris/compare/v11.2.5...v11.2.6
Mo, 12 August 2019 | v11.2.5
Commit log: https://github.com/kataras/iris/compare/v11.2.4...v11.2.5
Fr, 09 August 2019 | v11.2.4
- Fixes iris.Jet: no view engine found for '.jet' or '.html'
- Fixes ctx.ViewData not work with JetEngine
- New Feature: HTTP Method Override
- Fixes Poor performance of session.UpdateExpiration on 200 thousands+ keys with new radix lib by introducing the
sessions.Config.Driver
configuration field which defaults toRedigo()
but can be set toRadix()
too, future additions are welcomed.
Commit log: https://github.com/kataras/iris/compare/v11.2.3...v11.2.4
Tu, 30 July 2019 | v11.2.3
- New Feature: Handle different parameter types in the same path
- New Feature: Content Negotiation
- Context.ReadYAML
- Fixes https://github.com/kataras/neffos/issues/1#issuecomment-515698536
We, 24 July 2019 | v11.2.2
Sessions as middleware:
import "github.com/kataras/iris/sessions"
// [...]
app := iris.New()
sess := sessions.New(sessions.Config{...})
app.Get("/path", func(ctx iris.Context){
session := sessions.Get(ctx)
// [work with session...]
})
- Add
Session.Len() int
to return the total number of stored values/entries. - Make
Context.HTML
andContext.Text
to accept an optional, variadic,args ...interface{}
input arg(s) too.
v11.1.1
Tu, 23 July 2019 | v11.2.0
Read about the new release at: https://www.facebook.com/iris.framework/posts/3276606095684693