Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.58 KB

HISTORY.md

File metadata and controls

52 lines (31 loc) · 1.58 KB

Changelog

Looking for free and real-time support?

https://github.com/kataras/iris/issues
https://chat.iris-go.com

Looking for previous versions?

https://github.com/kataras/iris/releases

Want to be hired?

https://facebook.com/iris.framework

Should I upgrade my Iris?

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/[email protected].

We, 24 July 2019 | v11.2.1

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 and Context.Text to accept an optional, variadic, args ...interface{} input arg(s) too.

Tu, 23 July 2019 | v11.2.0

Read about the new release at: https://dev.to/kataras/iris-version-11-2-released-22bc