Iris v11.2.2 Release Notes

Release Date: 2019-07-24 // over 4 years ago
  • 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 and Context.Text to accept an optional, variadic, args ...interface{} input arg(s) too.

    ๐Ÿš€ Read about the full 11.2 release at: https://dev.to/kataras/iris-version-11-2-released-22bc

    ๐Ÿ“š The whole documentation lives in one single spot now: https://github.com/kataras/iris/wiki