2019-07-22 11:05:16 +02:00
|
|
|
<!-- # History/Changelog <a href="HISTORY_ZH.md"> <img width="20px" src="https://iris-go.com/images/flag-china.svg?v=10" /></a><a href="HISTORY_ID.md"> <img width="20px" src="https://iris-go.com/images/flag-indonesia.svg?v=10" /></a><a href="HISTORY_GR.md"> <img width="20px" src="https://iris-go.com/images/flag-greece.svg?v=10" /></a> -->
|
|
|
|
|
|
|
|
# Changelog
|
2017-11-02 04:54:33 +01:00
|
|
|
|
|
|
|
### 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
|
|
|
|
|
2019-07-22 11:05:16 +02:00
|
|
|
### Want to be hired?
|
|
|
|
|
|
|
|
https://facebook.com/iris.framework
|
|
|
|
|
2017-11-02 04:54:33 +01:00
|
|
|
### Should I upgrade my Iris?
|
|
|
|
|
|
|
|
Developers are not forced to upgrade if they don't really need it. Upgrade whenever you feel ready.
|
|
|
|
|
2019-07-29 22:09:22 +02:00
|
|
|
**How to upgrade**: Open your command-line and execute this command: `go get github.com/kataras/iris@master`.
|
2017-12-31 01:32:28 +01:00
|
|
|
|
2019-07-29 22:09:22 +02:00
|
|
|
# Tu, 30 July 2019 | v11.2.3
|
2019-07-25 16:08:16 +02:00
|
|
|
|
2019-07-29 22:09:22 +02:00
|
|
|
TODO:
|
2019-07-24 02:29:42 +02:00
|
|
|
|
2019-07-29 22:09:22 +02:00
|
|
|
- Different parameter types in the same path (done).
|
|
|
|
- [Content negotiation](https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation) (in-progress)
|
2019-07-24 02:29:42 +02:00
|
|
|
|
2019-07-29 22:09:22 +02:00
|
|
|
# We, 24 July 2019 | v11.2.2
|
2019-07-25 16:08:16 +02:00
|
|
|
|
|
|
|
Sessions as middleware:
|
|
|
|
|
|
|
|
```go
|
|
|
|
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.
|
|
|
|
|
2019-07-29 22:09:22 +02:00
|
|
|
## v11.1.1
|
|
|
|
|
|
|
|
- https://github.com/kataras/iris/issues/1298
|
|
|
|
- https://github.com/kataras/iris/issues/1207
|
|
|
|
|
2019-07-23 17:18:36 +02:00
|
|
|
# Tu, 23 July 2019 | v11.2.0
|
2019-07-23 18:34:03 +02:00
|
|
|
|
|
|
|
Read about the new release at: https://dev.to/kataras/iris-version-11-2-released-22bc
|