diff --git a/HISTORY.md b/HISTORY.md index fd6d4711..4f790763 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -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`. -## 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) diff --git a/README.md b/README.md index 2116fae6..bedb50bd 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@
-Releases +Releases Examples @@ -199,7 +199,7 @@ I recommend writing your API tests using this new library, [httpexpect](https:// Versioning ------------ -Current: **v4.2.8** +Current: **v4.2.9** > Iris is an active project @@ -242,7 +242,7 @@ License can be found [here](LICENSE). [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]: 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 [Chat Widget]: https://img.shields.io/badge/community-chat-00BCD4.svg?style=flat-square [Chat]: https://kataras.rocket.chat/channel/iris diff --git a/iris.go b/iris.go index 27f8a159..acff3e99 100644 --- a/iris.go +++ b/iris.go @@ -78,7 +78,7 @@ import ( const ( // Version is the current version of the Iris web framework - Version = "4.2.8" + Version = "4.2.9" banner = ` _____ _ |_ _| (_) @@ -239,7 +239,7 @@ func New(setters ...OptionSetter) *Framework { mux := newServeMux(s.Logger) mux.onLookup = s.Plugins.DoPreLookup 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) s.muxAPI = &muxAPI{mux: mux, relativePath: "/"}