1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-10 05:25:58 +00:00
History, Books  & examples are updated.
This commit is contained in:
Makis Maropoulos
2016-06-28 18:06:52 +03:00
parent aa319fd8e4
commit 7e9dc068fb
4 changed files with 72 additions and 5 deletions

View File

@@ -1,9 +1,23 @@
# History
## 3.0.0-rc.2 -> 3.0.0-rc.3
**How to upgrade**: remove your $GOPATH/src/github.com/kataras folder, open your command-line and run `go get -u github.com/kataras/iris/iris`.
## 3.0.0-rc.3 -> 3.0.0-rc.4
**NEW**: **Handlebars** template engine support with all Iris' view engine's functions/helpers support:
- `iris.Config.Render.Template.Layout = "layouts/layout.html"`
- `config.NoLayout`
- **dynamic** optional layout on `context.Render`
- **Party specific** layout
- `iris.Config.Render.Template.Handlebars.Helpers["myhelper"] = func()...`
- `{{ yield }} `
- `{{ render }}`
- `{{ url "myroute" myparams}}`
- `{{ urlpath "myroute" myparams}}`
For a complete example please navigate [here](https://github.com/iris-contrib/examples/tree/master/templates_handlebars/templates).
## 3.0.0-rc.2 -> 3.0.0-rc.3
**Breaking changes**
- Move middleware & their configs to the [iris-contrib/middleware](https://github.com/iris-contrib/middleware) repository