Update to 4.2.9

This commit is contained in:
Gerasimos Maropoulos 2016-09-19 01:48:37 +03:00
parent 7882d736b5
commit f33053675c
3 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
**How to upgrade**: remove your `$GOPATH/src/github.com/kataras/iris` folder, open your command-line and execute this command: `go get -u github.com/kataras/iris`. **How to upgrade**: remove your `$GOPATH/src/github.com/kataras/iris` folder, open your command-line and execute this command: `go get -u github.com/kataras/iris`.
## 4.2.7 -> 4.2.8 ## 4.2.7 -> 4.2.8 & 4.2.9
-**External FIX**: [template syntax error causes a "template doesn't exist"](https://github.com/kataras/iris/issues/415) -**External FIX**: [template syntax error causes a "template doesn't exist"](https://github.com/kataras/iris/issues/415)

View File

@ -19,7 +19,7 @@
<br/> <br/>
<a href="https://github.com/kataras/iris/releases"><img src="https://img.shields.io/badge/%20version%20-%204.2.8%20-blue.svg?style=flat-square" alt="Releases"></a> <a href="https://github.com/kataras/iris/releases"><img src="https://img.shields.io/badge/%20version%20-%204.2.9%20-blue.svg?style=flat-square" alt="Releases"></a>
<a href="https://github.com/iris-contrib/examples"><img src="https://img.shields.io/badge/%20examples-repository-3362c2.svg?style=flat-square" alt="Examples"></a> <a href="https://github.com/iris-contrib/examples"><img src="https://img.shields.io/badge/%20examples-repository-3362c2.svg?style=flat-square" alt="Examples"></a>
@ -199,7 +199,7 @@ I recommend writing your API tests using this new library, [httpexpect](https://
Versioning Versioning
------------ ------------
Current: **v4.2.8** Current: **v4.2.9**
> Iris is an active project > Iris is an active project
@ -242,7 +242,7 @@ License can be found [here](LICENSE).
[Travis]: http://travis-ci.org/kataras/iris [Travis]: http://travis-ci.org/kataras/iris
[License Widget]: https://img.shields.io/badge/license-Apache%202.0%20%20-E91E63.svg?style=flat-square [License Widget]: https://img.shields.io/badge/license-Apache%202.0%20%20-E91E63.svg?style=flat-square
[License]: https://github.com/kataras/iris/blob/master/LICENSE [License]: https://github.com/kataras/iris/blob/master/LICENSE
[Release Widget]: https://img.shields.io/badge/release-v4.2.8-blue.svg?style=flat-square [Release Widget]: https://img.shields.io/badge/release-v4.2.9-blue.svg?style=flat-square
[Release]: https://github.com/kataras/iris/releases [Release]: https://github.com/kataras/iris/releases
[Chat Widget]: https://img.shields.io/badge/community-chat-00BCD4.svg?style=flat-square [Chat Widget]: https://img.shields.io/badge/community-chat-00BCD4.svg?style=flat-square
[Chat]: https://kataras.rocket.chat/channel/iris [Chat]: https://kataras.rocket.chat/channel/iris

View File

@ -78,7 +78,7 @@ import (
const ( const (
// Version is the current version of the Iris web framework // Version is the current version of the Iris web framework
Version = "4.2.8" Version = "4.2.9"
banner = ` _____ _ banner = ` _____ _
|_ _| (_) |_ _| (_)
@ -239,7 +239,7 @@ func New(setters ...OptionSetter) *Framework {
mux := newServeMux(s.Logger) mux := newServeMux(s.Logger)
mux.onLookup = s.Plugins.DoPreLookup mux.onLookup = s.Plugins.DoPreLookup
s.contextPool.New = func() interface{} { s.contextPool.New = func() interface{} {
return &Context{framework: s, Params: make(PathParameters, s.mux.maxParameters)} return &Context{framework: s}
} }
// set the public router API (and party) // set the public router API (and party)
s.muxAPI = &muxAPI{mux: mux, relativePath: "/"} s.muxAPI = &muxAPI{mux: mux, relativePath: "/"}