Skip to content

Commit 08403f0

Browse files
committed
Update to version 12.1.8 - Read HISTORY.md
Former-commit-id: d3d30cb15537146e3071731be9d674a5cb59de97
1 parent 899aec8 commit 08403f0

File tree

21 files changed

+275
-240
lines changed

21 files changed

+275
-240
lines changed

HISTORY.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@ 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/v12@latest`.
2323

24+
# Su, 16 February 2020 | v12.1.8
25+
26+
New Features:
27+
28+
- [[FEATURE REQUEST] MVC serving gRPC-compatible controller](https://github.com/kataras/iris/issues/1449)
29+
30+
Fixes:
31+
32+
- [App can't find embedded pug template files by go-bindata](https://github.com/kataras/iris/issues/1450)
33+
34+
New Examples:
35+
36+
- [_examples/mvc/grpc-compatible](_examples/mvc/grpc-compatible)
37+
2438
# Mo, 10 February 2020 | v12.1.7
2539

2640
Implement **new** `SetRegisterRule(iris.RouteOverride, RouteSkip, RouteError)` to resolve: https://github.com/kataras/iris/issues/1448

HISTORY_ES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Los desarrolladores no están obligados a actualizar si realmente no lo necesita
2121

2222
**Cómo actualizar**: Abra su línea de comandos y ejecute este comando: `go get github.com/kataras/iris/v12@latest`.
2323

24-
# Mo, 10 February 2020 | v12.1.7
24+
# Su, 16 February 2020 | v12.1.8
2525

26-
Not translated yet, please navigate to the [english version](HISTORY.md#mo-10-february-2020--v1217) instead.
26+
Not translated yet, please navigate to the [english version](HISTORY.md#su-16-february-2020--v1218) instead.
2727

2828
# Sábado, 26 de octubre 2019 | v12.0.0
2929

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
<!-- # News
1+
# News
22

3-
![](https://iris-go.com/images/release.png) Iris version **12.1.7** has been [released](HISTORY.md#mo-10-february-2020--v1217)!
3+
![](https://iris-go.com/images/release.png) Iris version **12.1.8** has been [released](HISTORY.md#su-16-february-2020--v1218)!
44

55
![](https://iris-go.com/images/cli.png) The official [Iris Command Line Interface](https://github.com/kataras/iris-cli) will soon be near you in 2020!
66

7-
![](https://iris-go.com/images/sponsor.png) Support your favorite web framework through [Github Sponsors Program](https://github.com/sponsors/kataras)! -->
7+
![](https://iris-go.com/images/sponsor.png) Support your favorite web framework through [Github Sponsors Program](https://github.com/sponsors/kataras)!
8+
89
# Iris Web Framework <a href="README_ZH.md"><img width="20px" src="https://iris-go.com/images/flag-china.svg?v=10" /></a> <a href="README_GR.md"><img width="20px" src="https://iris-go.com/images/flag-greece.svg?v=10" /></a> <a href="README_ES.md"><img width="20px" src="https://iris-go.com/images/flag-spain.png" /></a> <a href="README_KO.md"><img width="20px" src="https://iris-go.com/images/flag-south-korea.svg" /></a> <a href="README_FA.md"><img width="20px" src="https://iris-go.com/images/flag-iran.svg" /></a> <a href="README_RU.md"><img width="20px" src="https://iris-go.com/images/flag-russia.svg" /></a>
910

1011
[![build status](https://img.shields.io/travis/kataras/iris/master.svg?style=for-the-badge&logo=travis)](https://travis-ci.org/kataras/iris) [![FOSSA Status](https://img.shields.io/badge/LICENSE%20SCAN-PASSING❤️-CD2956?style=for-the-badge&logo=fossa)](https://app.fossa.io/projects/git%2Bgithub.com%2Fkataras%2Firis?ref=badge_shield)<!--[![report card](https://img.shields.io/badge/report%20card-a%2B-ff3333.svg?style=for-the-badge)](https://goreportcard.com/report/github.com/kataras/iris)--><!--[![godocs](https://img.shields.io/badge/go-%20docs-488AC7.svg?style=for-the-badge)](https://godoc.org/github.com/kataras/iris)--> [![view examples](https://img.shields.io/badge/learn%20by-examples-0C8EC5.svg?style=for-the-badge&logo=go)](https://github.com/kataras/iris/tree/master/_examples) [![chat](https://img.shields.io/gitter/room/iris_go/community.svg?color=7E18DD&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community)<!--[![donate on PayPal](https://img.shields.io/badge/support-PayPal-blue.svg?style=for-the-badge)](https://www.paypal.me/kataras)--><!-- [![release](https://img.shields.io/badge/release%20-v12.0-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) -->

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.1.7:https://github.com/kataras/iris/releases/tag/v12.1.7
1+
12.1.8:https://github.com/kataras/iris/releases/tag/v12.1.8

_examples/docker/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ module app
33
go 1.13
44

55
require (
6-
github.com/kataras/iris/v12 v12.1.7
6+
github.com/kataras/iris/v12 v12.1.8
77
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
88
)

_examples/mvc/grpc-compatible/main.go

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,19 @@ func newApp() *iris.Application {
3131
return ctx.Request().Context()
3232
}).
3333
// Bind loginRequest.
34-
Register(func(ctx iris.Context) loginRequest {
35-
var req loginRequest
36-
ctx.ReadJSON(&req)
37-
return req
38-
}).
34+
// Register(func(ctx iris.Context) loginRequest {
35+
// var req loginRequest
36+
// ctx.ReadJSON(&req)
37+
// return req
38+
// }).
39+
// OR
40+
// Bind any other structure or pointer to a structure from request's
41+
// XML
42+
// YAML
43+
// Query
44+
// Form
45+
// JSON (default, if not client's "Content-Type" specified otherwise)
46+
Register(mvc.AutoBinding).
3947
Handle(&myController{})
4048

4149
return app

_examples/mvc/grpc-compatible/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"github.com/kataras/iris/v12/httptest"
77
)
88

9-
func TestBindContextContext(t *testing.T) {
9+
func TestGRPCCompatible(t *testing.T) {
1010
app := newApp()
1111

1212
e := httptest.New(t, app)

_examples/view/template_pug_3/bindata.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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-
12.1.7
41+
12.1.8
4242
4343
Installation
4444

hero/di.go

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)