diff --git a/HISTORY.md b/HISTORY.md index 01341763..b5fb472b 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -21,6 +21,23 @@ 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 github.com/kataras/iris@master`. +# Th, 15 August 2019 | v11.2.7 + +This minor version contains improvements on the Problem Details for HTTP APIs implemented on [v11.2.5](#mo-12-august-2019--v1125). + +- Fix https://github.com/kataras/iris/issues/1335#issuecomment-521319721 +- Add `ProblemOptions` with `RetryAfter` as requested at: https://github.com/kataras/iris/issues/1335#issuecomment-521330994. +- Add `iris.JSON` alias for `context#JSON` options type. + +[Example](https://github.com/kataras/iris/blob/45d7c6fedb5adaef22b9730592255f7bb375e809/_examples/routing/http-errors/main.go#L85) and [wikis](https://github.com/kataras/iris/wiki/Routing-error-handlers#the-problem-type) updated. + +References: + +- https://tools.ietf.org/html/rfc7231#section-7.1.3 +- https://tools.ietf.org/html/rfc7807 + +Commit log: https://github.com/kataras/iris/compare/v11.2.6...v11.2.7 + # We, 14 August 2019 | v11.2.6 Allow [handle more than one route with the same paths and parameter types but different macro validation functions](https://github.com/kataras/iris/issues/1058#issuecomment-521110639). @@ -34,7 +51,7 @@ Commit log: https://github.com/kataras/iris/compare/v11.2.5...v11.2.6 # Mo, 12 August 2019 | v11.2.5 -- [New Feature: Problem Details for HTTP APIs based](https://github.com/kataras/iris/pull/1336) +- [New Feature: Problem Details for HTTP APIs](https://github.com/kataras/iris/pull/1336) - [Add Context.AbsoluteURI](https://github.com/kataras/iris/pull/1336/files#diff-15cce7299aae8810bcab9b0bf9a2fdb1R2368) Commit log: https://github.com/kataras/iris/compare/v11.2.4...v11.2.5 diff --git a/VERSION b/VERSION index 93499309..bc3ecc40 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -11.2.6:https://github.com/kataras/iris/releases/tag/v11.2.6 \ No newline at end of file +11.2.7:https://github.com/kataras/iris/releases/tag/v11.2.7 \ No newline at end of file diff --git a/context/context.go b/context/context.go index 329c69cf..ca9ddc25 100644 --- a/context/context.go +++ b/context/context.go @@ -1907,7 +1907,7 @@ func (ctx *context) URLParamTrim(name string) string { return strings.TrimSpace(ctx.URLParam(name)) } -// URLParamTrim returns the escaped url query parameter from a request. +// URLParamEscape returns the escaped url query parameter from a request. func (ctx *context) URLParamEscape(name string) string { return DecodeQuery(ctx.URLParam(name)) } diff --git a/doc.go b/doc.go index db92472a..1dd70d3f 100644 --- a/doc.go +++ b/doc.go @@ -38,7 +38,7 @@ Source code and other details for the project are available at GitHub: Current Version -11.2.6 +11.2.7 Installation diff --git a/iris.go b/iris.go index a88e1463..815ef626 100644 --- a/iris.go +++ b/iris.go @@ -37,7 +37,7 @@ import ( var ( // Version is the current version number of the Iris Web Framework. - Version = "11.2.6" + Version = "11.2.7" ) // HTTP status codes as registered with IANA.