Publish version 11.2.7

Former-commit-id: 6a62889e0e1530b04d775298da562d376fee91a1
This commit is contained in:
Gerasimos (Makis) Maropoulos 2019-08-15 10:51:20 +03:00
parent 82755304af
commit aee0503913
5 changed files with 22 additions and 5 deletions

View File

@ -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`. **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 # 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). 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 # 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) - [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 Commit log: https://github.com/kataras/iris/compare/v11.2.4...v11.2.5

View File

@ -1 +1 @@
11.2.6:https://github.com/kataras/iris/releases/tag/v11.2.6 11.2.7:https://github.com/kataras/iris/releases/tag/v11.2.7

View File

@ -1907,7 +1907,7 @@ func (ctx *context) URLParamTrim(name string) string {
return strings.TrimSpace(ctx.URLParam(name)) 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 { func (ctx *context) URLParamEscape(name string) string {
return DecodeQuery(ctx.URLParam(name)) return DecodeQuery(ctx.URLParam(name))
} }

2
doc.go
View File

@ -38,7 +38,7 @@ Source code and other details for the project are available at GitHub:
Current Version Current Version
11.2.6 11.2.7
Installation Installation

View File

@ -37,7 +37,7 @@ import (
var ( var (
// Version is the current version number of the Iris Web Framework. // 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. // HTTP status codes as registered with IANA.