From 11f2f296ba99fd1187d30f33af7a2bacbee14504 Mon Sep 17 00:00:00 2001 From: hiveminded Date: Sat, 22 Jul 2017 23:32:14 +0300 Subject: [PATCH] push version 8.0.6 :clapper: Former-commit-id: 0024f1b9acc1621b1672d5b7484a26dff2f9992e --- HISTORY.md | 26 +++++++++++++++++++++++++- README.md | 4 ++-- doc.go | 2 +- iris.go | 2 +- 4 files changed, 29 insertions(+), 5 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 68312b07..3dd9fb55 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -17,10 +17,34 @@ Developers are not forced to upgrade if they don't really need it. Upgrade whene **How to upgrade**: Open your command-line and execute this command: `go get -u github.com/kataras/iris`. -# Sa, 22 July 2017 | v8.0.5 +# Sa, 22 July 2017 | v8.0.5 & v8.0.6 No API Changes. +### Performance + +Add an experimental [Configuration#EnableOptimizations](https://github.com/kataras/iris/blob/master/configuration.go#L170) option. + +```go +type Configuration { + // [...] + + // EnableOptimization when this field is true + // then the application tries to optimize for the best performance where is possible. + // + // Defaults to false. + EnableOptimizations bool `yaml:"EnableOptimizations" toml:"EnableOptimizations"` + + // [...] +} +``` + +Usage: + +```go +app.Run(iris.Addr(":8080"), iris.WithOptimizations) +``` + ### Django view engine @corebreaker pushed a [PR](https://github.com/kataras/iris/pull/682) to solve the [Problem for {%extends%} in Django Engine with embedded files](https://github.com/kataras/iris/issues/681). diff --git a/README.md b/README.md index 19794793..47f4e1d9 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Iris is a fast, simple and efficient micro web framework for Go. It provides a b ### 📑 Table of contents * [Installation](#-installation) -* [Latest changes](https://github.com/kataras/iris/blob/master/HISTORY.md#sa-22-july-2017--v805) +* [Latest changes](https://github.com/kataras/iris/blob/master/HISTORY.md#sa-22-july-2017--v805--v806) * [Learn](#-learn) * [HTTP Listening](_examples/#http-listening) * [Configuration](_examples/#configuration) @@ -339,7 +339,7 @@ Thank You for your trust! ### 📌 Version -Current: **8.0.5** +Current: **8.0.6** Each new release is pushed to the master. It stays there until the next version. When a next version is released then the previous version goes to its own branch with `gopkg.in` as its import path (and its own vendor folder), in order to keep it working "for-ever". diff --git a/doc.go b/doc.go index c7c95e8d..caab8429 100644 --- a/doc.go +++ b/doc.go @@ -35,7 +35,7 @@ Source code and other details for the project are available at GitHub: Current Version -8.0.5 +8.0.6 Installation diff --git a/iris.go b/iris.go index c60ab4c0..f36064b2 100644 --- a/iris.go +++ b/iris.go @@ -33,7 +33,7 @@ import ( const ( // Version is the current version number of the Iris Web Framework. - Version = "8.0.5" + Version = "8.0.6" ) // HTTP status codes as registered with IANA.