https://github.com/kataras/iris/issues
https://chat.iris-go.com
https://github.com/kataras/iris/releases
https://facebook.com/iris.framework
Developers are not forced to upgrade if they don't really need it. Upgrade whenever you feel ready.
How to upgrade: Open your command-line and execute this command: go get github.com/kataras/iris@master
.
- Set
Cookie.SameSite
toLax
when subdomains sessions share is enabled* - Add and update all experimental handlers
- New
XMLMap
function which wraps amap[string]interface{}
and converts it to a valid xml content to render throughContext.XML
method - 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
This minor version contains improvements on the Problem Details for HTTP APIs implemented on v11.2.5.
- Fix kataras#1335 (comment)
- Add
ProblemOptions
withRetryAfter
as requested at: kataras#1335 (comment). - Add
iris.JSON
alias forcontext#JSON
options type.
References:
Commit log: https://github.com/kataras/iris/compare/v11.2.6...v11.2.7
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
Commit log: https://github.com/kataras/iris/compare/v11.2.4...v11.2.5
- 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
- New Feature: Handle different parameter types in the same path
- New Feature: Content Negotiation
- Context.ReadYAML
- Fixes kataras/neffos#1 (comment)
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.
Read about the new release at: https://www.facebook.com/iris.framework/posts/3276606095684693