Skip to content

Commit c781be7

Browse files
committed
Publish version 11.2.7
1 parent 636bfbf commit c781be7

File tree

5 files changed

+22
-5
lines changed

5 files changed

+22
-5
lines changed

HISTORY.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,23 @@ Developers are not forced to upgrade if they don't really need it. Upgrade whene
2121

2222
**How to upgrade**: Open your command-line and execute this command: `go get github.com/kataras/iris@master`.
2323

24+
# Th, 15 August 2019 | v11.2.7
25+
26+
This minor version contains improvements on the Problem Details for HTTP APIs implemented on [v11.2.5](#mo-12-august-2019--v1125).
27+
28+
- Fix https://github.com/kataras/iris/issues/1335#issuecomment-521319721
29+
- Add `ProblemOptions` with `RetryAfter` as requested at: https://github.com/kataras/iris/issues/1335#issuecomment-521330994.
30+
- Add `iris.JSON` alias for `context#JSON` options type.
31+
32+
[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.
33+
34+
References:
35+
36+
- https://tools.ietf.org/html/rfc7231#section-7.1.3
37+
- https://tools.ietf.org/html/rfc7807
38+
39+
Commit log: https://github.com/kataras/iris/compare/v11.2.6...v11.2.7
40+
2441
# We, 14 August 2019 | v11.2.6
2542

2643
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
3451

3552
# Mo, 12 August 2019 | v11.2.5
3653

37-
- [New Feature: Problem Details for HTTP APIs based](https://github.com/kataras/iris/pull/1336)
54+
- [New Feature: Problem Details for HTTP APIs](https://github.com/kataras/iris/pull/1336)
3855
- [Add Context.AbsoluteURI](https://github.com/kataras/iris/pull/1336/files#diff-15cce7299aae8810bcab9b0bf9a2fdb1R2368)
3956

4057
Commit log: https://github.com/kataras/iris/compare/v11.2.4...v11.2.5

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
11.2.6:https://github.com/kataras/iris/releases/tag/v11.2.6
1+
11.2.7:https://github.com/kataras/iris/releases/tag/v11.2.7

context/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,7 @@ func (ctx *context) URLParamTrim(name string) string {
19071907
return strings.TrimSpace(ctx.URLParam(name))
19081908
}
19091909

1910-
// URLParamTrim returns the escaped url query parameter from a request.
1910+
// URLParamEscape returns the escaped url query parameter from a request.
19111911
func (ctx *context) URLParamEscape(name string) string {
19121912
return DecodeQuery(ctx.URLParam(name))
19131913
}

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Source code and other details for the project are available at GitHub:
3838
3939
Current Version
4040
41-
11.2.6
41+
11.2.7
4242
4343
Installation
4444

iris.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737

3838
var (
3939
// Version is the current version number of the Iris Web Framework.
40-
Version = "11.2.6"
40+
Version = "11.2.7"
4141
)
4242

4343
// HTTP status codes as registered with IANA.

0 commit comments

Comments
 (0)