From 946ea6787dcb7621bfccedb419290931c758013e Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Sat, 11 Mar 2023 22:37:55 +0200 Subject: [PATCH] v12.2.0 --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- CONTRIBUTING.md | 2 +- FAQ.md | 8 +- HISTORY.md | 18 +-- HISTORY_ES.md | 141 ------------------ README.md | 23 +-- README_ES.md | 2 +- README_FA.md | 6 +- README_FR.md | 4 +- README_GR.md | 2 +- README_KO.md | 2 +- README_PT_BR.md | 4 +- README_RU.md | 2 +- README_ZH_HANS.md | 6 +- README_ZH_HANT.md | 6 +- VERSION | 2 +- _examples/apidoc/yaag/go.mod | 2 +- _examples/auth/basicauth/database/go.mod | 2 +- _examples/auth/jwt/tutorial/go.mod | 2 +- _examples/bootstrapper/go.mod | 28 ++-- _examples/bootstrapper/go.sum | 98 ++++++------ .../configuration/multi-environments/go.mod | 2 +- _examples/configuration/viper/go.mod | 2 +- _examples/database/mongodb/go.mod | 2 +- _examples/database/mysql/go.mod | 2 +- _examples/database/orm/reform/go.mod | 2 +- .../dependency-injection/jwt/contrib/go.mod | 2 +- _examples/desktop/webview/go.mod | 2 +- _examples/graphql/schema-first/README.md | 4 +- _examples/graphql/schema-first/go.mod | 2 +- _examples/http-server/h2c/go.mod | 2 +- _examples/http-server/http3-quic/go.mod | 2 +- _examples/kafka-api/go.mod | 2 +- .../request-logger/accesslog-slack/go.mod | 2 +- _examples/logging/rollbar/go.mod | 2 +- _examples/monitor/statsviz/go.mod | 2 +- .../go.mod | 2 +- _examples/mvc/overview/README.md | 2 +- _examples/mvc/overview/go.mod | 2 +- _examples/mvc/vuejs-todo-mvc/src/go.mod | 2 +- _examples/project/go.mod | 2 +- .../response-writer/json-third-party/go.mod | 2 +- _examples/response-writer/protobuf/go.mod | 2 +- _examples/routing/README.md | 1 - _examples/routing/basic/main.go | 2 - _examples/routing/party-controller/go.mod | 2 +- .../redirect/multi-instances/go.mod | 2 +- _examples/sessions/database/redis/go.mod | 2 +- _examples/testing/ginkgotest/go.mod | 2 +- _examples/websocket/basic/go.mod | 2 +- _examples/websocket/gorilla-filewatch/go.mod | 2 +- _examples/websocket/socketio/go.mod | 2 +- aliases.go | 2 +- context/context.go | 4 +- context/problem.go | 2 +- doc.go | 8 +- go.mod | 16 +- go.sum | 23 +-- iris.go | 2 +- 59 files changed, 171 insertions(+), 311 deletions(-) delete mode 100644 HISTORY_ES.md delete mode 100644 _examples/routing/README.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index c1c4c8c6..b1ecdfba 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -24,7 +24,7 @@ If applicable, add screenshots to help explain your problem. - OS: [e.g. ubuntu, windows] **iris.Version** -- e.g. v12.2.0-beta7 or master +- e.g. v12.2.0 or master Please make sure the bug is reproducible over the `master` branch: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 92197ef1..dbf1a822 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -26,7 +26,7 @@ Instructions can be found at: https://github.com/kataras/iris/issues/796 ### Writing -Write an article about Iris in https://medium.com, https://dev.to or if you're being a hackathon at https://hackernoon.com, some [examples](https://github.com/kataras/iris/wiki/Publications). +Write an article about Iris in https://medium.com, https://dev.to or if you're being a hackathon at https://hackernoon.com and send us the link on iris-go@outlook.com. ### Social networks diff --git a/FAQ.md b/FAQ.md index 776047fa..9a102d2b 100644 --- a/FAQ.md +++ b/FAQ.md @@ -19,18 +19,18 @@ Add a `badge` to your open-source projects powered by [Iris](https://iris-go.com ## How to upgrade ```sh -go get -u github.com/kataras/iris/v12@master +go get github.com/kataras/iris/v12@latest ``` -Go version 1.13 and above is required. +Go version 1.20 and above is required. ## Learning -More than 180 practical examples, tutorials and articles at: +More than 280 practical examples, tutorials and articles at: - https://www.iris-go.com/docs - https://www.iris-go.com/#ebookDonateForm -- https://github.com/kataras/iris/wiki/Starter-kits + - https://github.com/kataras/iris/tree/master/_examples - https://pkg.go.dev/github.com/kataras/iris/v12@master diff --git a/HISTORY.md b/HISTORY.md index b4d7efb7..f22a8e9c 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,4 +1,4 @@ -# Changelog +# Changelog ### Looking for free and real-time support? @@ -17,9 +17,9 @@ Developers are not forced to upgrade if they don't really need it. Upgrade whenever you feel ready. -**How to upgrade**: Open your command-line and execute this command: `go get github.com/kataras/iris/v12@latest`. +**How to upgrade**: Open your command-line and execute this command: `go get github.com/kataras/iris/v12@latest` and `go mod tidy -compat=1.20`. -# Next +# Sa, 11 March 2023 | v12.2.0 This release introduces new features and some breaking changes. The codebase for Dependency Injection, Internationalization and localization and more have been simplified a lot (fewer LOCs and easier to read and follow up). @@ -732,7 +732,7 @@ Prior to this version the `iris.Context` was the only one dependency that has be | `uint, uint8, uint16, uint32, uint64`, | | | `float, float32, float64`, | | | `bool`, | | -| `slice` | [Path Parameter](https://github.com/kataras/iris/wiki/Routing-path-parameter-types) | +| `slice` | [Path Parameter](https://github.com/kataras/iris/blob/master/_examples/routing/dynamic-path/main.go#L20) | | Struct | [Request Body](https://github.com/kataras/iris/tree/master/_examples/request-body) of `JSON`, `XML`, `YAML`, `Form`, `URL Query`, `Protobuf`, `MsgPack` | Here is a preview of what the new Hero handlers look like: @@ -1004,7 +1004,7 @@ Various improvements and linting. # Su, 29 December 2019 | v12.1.4 -Minor fix on serving [embedded files](https://github.com/kataras/iris/wiki/File-server). +Minor fix on serving embedded files. # We, 25 December 2019 | v12.1.3 @@ -1069,15 +1069,13 @@ All known issues. ### Internationalization and localization -Support for i18n is now a **builtin feature** and is being respected across your entire application, per say [sitemap](https://github.com/kataras/iris/wiki/Sitemap) and [views](https://github.com/kataras/iris/blob/master/_examples/i18n/basic/main.go#L50). - -Refer to the wiki section: https://github.com/kataras/iris/wiki/Sitemap for details. +Support for i18n is now a **builtin feature** and is being respected across your entire application, per say [sitemap](https://github.com/kataras/iris/blob/master/_examples/routing/sitemap/main.go) and [views](https://github.com/kataras/iris/blob/master/_examples/i18n/basic/main.go#L50). ### Sitemaps Iris generates and serves one or more [sitemap.xml](https://www.sitemaps.org/protocol.html) for your static routes. -Navigate through: https://github.com/kataras/iris/wiki/Sitemap for more. +Navigate through: https://github.com/kataras/iris/blob/master/_examples/routing/sitemap/main.go for more. ## New Examples @@ -1129,7 +1127,7 @@ This minor version contains improvements on the Problem Details for HTTP APIs im - 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. +[Example](https://github.com/kataras/iris/blob/45d7c6fedb5adaef22b9730592255f7bb375e809/_examples/routing/http-errors/main.go#L85) updated. References: diff --git a/HISTORY_ES.md b/HISTORY_ES.md deleted file mode 100644 index 20cc3398..00000000 --- a/HISTORY_ES.md +++ /dev/null @@ -1,141 +0,0 @@ - - -# Registro de cambios - -### ¿Buscando soporte gratuito y en tiempo real? - - https://github.com/kataras/iris/issues - https://chat.iris-go.com - -### ¿Buscando versiones anteriores? - - https://github.com/kataras/iris/releases - -### ¿Quieres ser contratado? - - https://facebook.com/iris.framework - -### ¿Debo actualizar mi versión de Iris? - -Los desarrolladores no están obligados a actualizar si realmente no lo necesitan. Actualice siempre que se sienta listo. - -**Cómo actualizar**: Abra su línea de comandos y ejecute este comando: `go get github.com/kataras/iris/v12@latest`. - -# Su, 16 February 2020 | v12.1.8 - -Not translated yet, please navigate to the [english version](HISTORY.md#su-16-february-2020--v1218) instead. - -# Sábado, 26 de octubre 2019 | v12.0.0 - -- Add version suffix of the **import path**, learn why and see what people voted at [issue #1370](https://github.com/kataras/iris/issues/1370) - -![](https://iris-go.com/images/vote-v12-version-suffix_26_oct_2019.png) - - -- Todos los errores ahora son compatibles con `errors.Is`, `errors.As` y `fmt.Errorf` de go1.13 y ha sido creado un nuevo paquete `core/errgroup` -- Corrección [#1383](https://github.com/kataras/iris/issues/1383) -- Informar en cualquier sistema si no se logró encontrar directorio de plantillas para las vistas. -- Se removió el método `Party#GetReport`, se mantuvo `Party#GetReporter` que es un `error` y `errgroup.Group`. -- Se removieron métodos obsoletos del enrutador como StaticWeb y StaticEmbedded_XXX -- `Context#CheckIfModifiedSince` ahora returna tipo error `context.ErrPreconditionFailed` cuando no se cumplen condiciones del cliente. Uso: `if errors.Is(err, context.ErrPreconditionFailed) { ... }` -- Se agregó `SourceFileName` y `SourceLineNumber` a `Route`, informan la posición exacta de su registro dentro del código fuente de su proyecto. -- Se corrige bug sobre enlace de ruta del paquete MVC, ver [PR #1364](https://github.com/kataras/iris/pull/1364) -- Se agregó `mvc/Application#SortByNumMethods` solicitado en [#1343](https://github.com/kataras/iris/issues/1343#issuecomment-524868164) -- Código de estado `103 Early Hints` agregado. -- Se corrigió rendimiento de `session.UpdateExpiration` en nas de 200 mil registros con nuevo radix reportado en [problema #1328](https://github.com/kataras/iris/issues/1328) -- Nuevo campo de configuración de la base de datos de sesión de redis: `Driver: redis.Redigo()` o `redis.Radix()`, ver [ejemplos actualizados](_examples/sessions/database/redis/) -- Se agregó soporte de Clusters para la base de datos de sesión redis: radix (`Driver: redis: Radix ()`) como se solicitó en [problema #1339](https://github.com/kataras/iris/issues/1339) -- Se creó traducción en iraní [README_FA](README_FA.md) en [PR #1360](https://github.com/kataras/iris/pull/1360) -- Se creó traducción en koreano [README_KO](README_KO.md) en [PR #1356](https://github.com/kataras/iris/pull/1356) -- Se creó traducción en español [README_ES](README_ES.md) y [HISTORY_ES](HISTORY_ES.md) en [PR #1344](https://github.com/kataras/iris/pull/1344). - -iris-contrib/middleare y ejemplos se actualizaron para utilizar la nueva ruta de importación `github.com/kataras/iris/v12`. - -# Viernes, 16 de agosto 2019 | v11.2.8 - -- Establecer `Cookie.SameSite` como `Lax` cuando el uso compartido de sesiones de subdominios esté habilitado[*](https://github.com/kataras/iris/commit/6bbdd3db9139f9038641ce6f00f7b4bab6e62550) -- Agregados y actualizados todos los [Handlers experimentales](https://github.com/kataras/iris/tree/master/_examples/experimental-handlers) -- Nueva función `XMLMap` que envuelve un `map[string]interface{}` y la convierte en un contenido xml válido para representarlo a través del método `Context.XML` -- Se agregaron nuevos campos `ProblemOptions.XML` y ` RenderXML` para renderizar `Problem` como XML(application/problem+xml) en lugar de JSON("application/problem+json) y enriquezca el `Negotiate` para aceptar fácilmente el mime type `application/problem+xml`. - -Registro de commits: https://github.com/kataras/iris/compare/v11.2.7...v11.2.8 - -# Jueves, 15 de agosto 2019 | v11.2.7 - -Esta versión menor contiene mejoras en los Detalles del problema para las API HTTP implementadas en [v11.2.5](#lunes-12-de-agosto-2019--v1125). - -- Ajuste https://github.com/kataras/iris/issues/1335#issuecomment-521319721 -- Agregado `ProblemOptions` con `RetryAfter` como se solicitó en: https://github.com/kataras/iris/issues/1335#issuecomment-521330994. -- Agregado alias `iris.JSON` para el tipo de opciones `context#JSON`. - -[Ejemplos](https://github.com/kataras/iris/blob/45d7c6fedb5adaef22b9730592255f7bb375e809/_examples/routing/http-errors/main.go#L85) y [wikis](https://github.com/kataras/iris/wiki/Routing-error-handlers#the-problem-type) actualizados. - -Referencias: - -- https://tools.ietf.org/html/rfc7231#section-7.1.3 -- https://tools.ietf.org/html/rfc7807 - -Registro de commits: https://github.com/kataras/iris/compare/v11.2.6...v11.2.7 - -# Miércoles, 14 de agosto 2019 | v11.2.6 - -Permitir [manejar más de una ruta con las mismas rutas y tipos de parámetros pero diferentes funciones de validación de macros](https://github.com/kataras/iris/issues/1058#issuecomment-521110639). - -```go -app.Get("/{alias:string regexp(^[a-z0-9]{1,10}\\.xml$)}", PanoXML) -app.Get("/{alias:string regexp(^[a-z0-9]{1,10}$)}", Tour) -``` - -Registro de commits: https://github.com/kataras/iris/compare/v11.2.5...v11.2.6 - -# Lunes, 12 de agosto 2019 | v11.2.5 - -- [Nueva característica: Detalle del problemas para las APIs HTTP](https://github.com/kataras/iris/pull/1336) -- [Agregado Context.AbsoluteURI](https://github.com/kataras/iris/pull/1336/files#diff-15cce7299aae8810bcab9b0bf9a2fdb1R2368) - -Registro de commits: https://github.com/kataras/iris/compare/v11.2.4...v11.2.5 - -# Viernes, 09 de agosto 2019 | v11.2.4 - -- Ajustes [iris.Jet: no view engine found for '.jet' or '.html'](https://github.com/kataras/iris/issues/1327) -- Ajustes [ctx.ViewData no funciona con JetEngine](https://github.com/kataras/iris/issues/1330) -- **Nueva característica**: [Override de métodos HTTP](https://github.com/kataras/iris/issues/1325) -- Ajustes [Bajo rendimiento en session.UpdateExpiration en más de 200 mil keys con nueva librería radix](https://github.com/kataras/iris/issues/1328) al introducir el campo de configuración `sessions.Config.Driver` que se establece de forma predeterminada en `Redigo()` pero también se puede establecer en `Radix()`, futuras adiciones son bienvenidas. - -Registro de commits: https://github.com/kataras/iris/compare/v11.2.3...v11.2.4 - -# Martes, 30 de julio 2019 | v11.2.3 - -- [Nueva característica: Manejar diferentes tipos de parámetros en la misma ruta](https://github.com/kataras/iris/issues/1315) -- [Nueva característica: Negociación de contenido](https://github.com/kataras/iris/issues/1319) -- [Context.ReadYAML](https://github.com/kataras/iris/tree/master/_examples/request-body/read-yaml) -- Ajustes https://github.com/kataras/neffos/issues/1#issuecomment-515698536 - -# Miércoles, 24 de julio 2019 | v11.2.2 - -Sesiones como middleware: - -```go -import "github.com/kataras/iris/v12/sessions" -// [...] - -app := iris.New() -sess := sessions.New(sessions.Config{...}) - -app.Get("/path", func(ctx iris.Context){ - session := sessions.Get(ctx) - // [work with session...] -}) -``` - -- Agregado `Session.Len() int` para devolver el número total de valores/entradas almacenados. -- Permitir que `Context.HTML` y `Context.Text` acepten tambien un argumento `args ...interface{}` opcional y variable. - -## v11.1.1 - -- https://github.com/kataras/iris/issues/1298 -- https://github.com/kataras/iris/issues/1207 - -# Martes, 23 de julio 2019 | v11.2.0 - -Lea sobre la nueva versión liberada en: https://www.facebook.com/iris.framework/posts/3276606095684693 diff --git a/README.md b/README.md index 4f8fedec..4c4c96f4 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,8 @@ - - - +Try the official [Iris Command Line Interface](https://github.com/kataras/iris-cli) today! # Iris Web Framework @@ -17,9 +10,7 @@ -Iris is a fast, simple yet fully featured and very efficient web framework for Go. **With the promise of active lifetime maintenance, unlike other free software packages offered in Go ecosystem**. - -> Star 🌟 & watch 👀 the repository in order to get news about the upcoming **v12.2.0** stable release - it's finally happening (2023🎅) . +Iris is a fast, simple yet fully featured and very efficient web framework for Go. It provides a beautifully expressive and easy to use foundation for your next website or API. @@ -522,20 +513,20 @@ The only requirement is the [Go Programming Language](https://go.dev/dl/). $ mkdir myapp $ cd myapp $ go mod init myapp -$ go get github.com/kataras/iris/v12@master # or @v12.2.0-beta7 +$ go get github.com/kataras/iris/v12@latest # or @v12.2.0 ```
Install on existing project ```sh $ cd myapp -$ go get github.com/kataras/iris/v12@master +$ go get github.com/kataras/iris/v12@latest ``` **Run** ```sh -$ go mod tidy -compat=1.19 # -compat="1.19" for windows. +$ go mod tidy -compat=1.20 # -compat="1.20" for windows. $ go run . ``` diff --git a/README_ES.md b/README_ES.md index 01db711c..5cc2e0eb 100644 --- a/README_ES.md +++ b/README_ES.md @@ -47,7 +47,7 @@ $ go run ejemplo.go
-Iris contiene un extenso y completo **[wiki](https://github.com/kataras/iris/wiki)** que facilita comenzar con el framework. +Iris contiene un extenso y completo **[wiki](https://www.iris-go.com/#ebookDonateForm)** que facilita comenzar con el framework. Para obtener una documentación técnica más detallada, puede dirigirse a nuestros [godocs](https://pkg.go.dev/github.com/kataras/iris/v12@v12.2.0). Y para código ejecutable siempre puede visitar el subdirectorio del repositorio [\_examples](_examples/). diff --git a/README_FA.md b/README_FA.md index 69bc8125..bf4ced56 100644 --- a/README_FA.md +++ b/README_FA.md @@ -242,7 +242,7 @@ Venkatt Guhesan" title="vguhesan" with="75" style="width:75px;max-width:75px;hei $ mkdir myapp $ cd myapp $ go mod init myapp -$ go get github.com/kataras/iris/v12@master # or @v12.2.0-beta7 +$ go get github.com/kataras/iris/v12@latest # or @v12.2.0 ```
@@ -251,7 +251,7 @@ $ go get github.com/kataras/iris/v12@master # or @v12.2.0-beta7 ```sh $ cd myapp -$ go get github.com/kataras/iris/v12@master +$ go get github.com/kataras/iris/v12@latest ```
@@ -261,7 +261,7 @@ $ go get github.com/kataras/iris/v12@master ```txt module myapp -go 1.19 +go 1.20 require github.com/kataras/iris/v12 v12.2.0-beta4.0.20220920072528-ff81f370625a ``` diff --git a/README_FR.md b/README_FR.md index 774bf028..fc8468ce 100644 --- a/README_FR.md +++ b/README_FR.md @@ -20,7 +20,7 @@ Lisez [ce que les développeurs pensent d'Iris](https://iris-go.com/testimonials Un simple Hello World ```sh -# https://github.com/kataras/iris/wiki/Installation +# https://www.iris-go.com/#ebookDonateForm $ go get github.com/kataras/iris/v12@latest # assume the following code in example.go file $ cat example.go @@ -53,7 +53,7 @@ $ go run example.go -Iris possède un **[wiki](https://github.com/kataras/iris/wiki)** complet et précis qui vous permettra d'implémenter ses fonctionnalités rapidement et facilement. +Iris possède un **[wiki](https://www.iris-go.com/#ebookDonateForm)** complet et précis qui vous permettra d'implémenter ses fonctionnalités rapidement et facilement. diff --git a/README_GR.md b/README_GR.md index 000ebfe1..63e80b4e 100644 --- a/README_GR.md +++ b/README_GR.md @@ -51,7 +51,7 @@ $ go run example.go -Το Iris περιέχει εκτενείς και λεπτομερείς **[wiki](https://github.com/kataras/iris/wiki)** καθιστώντας το εύκολο στην εκμάθηση. +Το Iris περιέχει εκτενείς και λεπτομερείς **[book](https://www.iris-go.com/#ebookDonateForm)** καθιστώντας το εύκολο στην εκμάθηση. Για λεπτομερέστερη τεχνική τεκμηρίωση μπορείτε να κατευθυνθείτε προς τα [godocs](https://pkg.go.dev/github.com/kataras/iris/v12@v12.2.0) μας. Και για εκτελέσιμο κώδικα μπορείτε πάντα να επισκέπτεστε τα [παραδείγματα](_examples/). diff --git a/README_KO.md b/README_KO.md index 9fb0a5e6..2990c2f0 100644 --- a/README_KO.md +++ b/README_KO.md @@ -47,7 +47,7 @@ $ go run example.go -Iris는 광범위하고 꼼꼼한 **[wiki](https://github.com/kataras/iris/wiki)** 를 가지고 있기 때문에 쉽게 프레임워크를 시작할 수 있습니다. +Iris는 광범위하고 꼼꼼한 **[wiki](https://www.iris-go.com/#ebookDonateForm)** 를 가지고 있기 때문에 쉽게 프레임워크를 시작할 수 있습니다. 더 자세한 기술문서를 보시려면 [godocs](https://pkg.go.dev/github.com/kataras/iris/v12@v12.2.0)를 방문하세요. 그리고 실행가능한 예제코드는 [\_examples](_examples/) 하위 디렉토리에 있습니다. diff --git a/README_PT_BR.md b/README_PT_BR.md index cb50eac9..de1d3b40 100644 --- a/README_PT_BR.md +++ b/README_PT_BR.md @@ -462,14 +462,14 @@ O único requisito é a [Linguagem de programação Go](https://go.dev/dl/). $ mkdir myapp $ cd myapp $ go mod init myapp -$ go get github.com/kataras/iris/v12@master # or @v12.2.0-beta7 +$ go get github.com/kataras/iris/v12@latest # or @v12.2.0 ```
Instalar num projeto existente ```sh $ cd myapp -$ go get github.com/kataras/iris/v12@master +$ go get github.com/kataras/iris/v12@latest ``` **Run** diff --git a/README_RU.md b/README_RU.md index e96c4e46..ce28a36f 100644 --- a/README_RU.md +++ b/README_RU.md @@ -46,7 +46,7 @@ $ go run example.go
-У Iris есть исчерпывающий и тщательный **[wiki](https://github.com/kataras/iris/wiki)**, который позволит вам быстрее начать работу с фреймворком. +У Iris есть исчерпывающий и тщательный **[wiki](https://www.iris-go.com/#ebookDonateForm)**, который позволит вам быстрее начать работу с фреймворком. diff --git a/README_ZH_HANS.md b/README_ZH_HANS.md index 98dec3e5..6e6374a4 100644 --- a/README_ZH_HANS.md +++ b/README_ZH_HANS.md @@ -27,8 +27,8 @@ Iris 是基于 Go 编写的一个快速,简单但功能齐全且非常高效 ## 📖 开始学习 Iris ```sh -# 安装Iris:https://github.com/kataras/iris/wiki/Installation -$ go get github.com/kataras/iris/v12@master +# 安装Iris:https://www.iris-go.com/#ebookDonateForm +$ go get github.com/kataras/iris/v12@latest # 假设main.go文件中已存在以下代码 $ cat main.go ``` @@ -181,7 +181,7 @@ http://localhost:8080/books [![run in the browser](https://img.shields.io/badge/Run-in%20the%20Browser-348798.svg?style=for-the-badge&logo=repl.it)](https://bit.ly/2YJeSZe) -Iris 有完整且详尽的 **[使用文档](https://github.com/kataras/iris/wiki)** ,让您可以轻松地使用此框架。 +Iris 有完整且详尽的 **[使用文档](https://www.iris-go.com/#ebookDonateForm)** ,让您可以轻松地使用此框架。 diff --git a/README_ZH_HANT.md b/README_ZH_HANT.md index 02b3e94f..8fcbe8b6 100644 --- a/README_ZH_HANT.md +++ b/README_ZH_HANT.md @@ -499,20 +499,20 @@ Iris 提供了至少這些功能: $ mkdir myapp $ cd myapp $ go mod init myapp -$ go get github.com/kataras/iris/v12@master # 或 @v12.2.0-beta7 +$ go get github.com/kataras/iris/v12@latest # 或 @v12.2.0 ```
在現有專案安裝 ```sh $ cd myapp -$ go get github.com/kataras/iris/v12@master +$ go get github.com/kataras/iris/v12@latest ``` **執行** ```sh -$ go mod tidy -compat=1.19 # Windows 的話,請試試 -compat="1.19" +$ go mod tidy -compat=1.20 # Windows 的話,請試試 -compat="1.20" $ go run . ``` diff --git a/VERSION b/VERSION index 55445b79..56d823d4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -master:https://github.com/kataras/iris/tree/master \ No newline at end of file +v12.2.0:https://github.com/kataras/iris/tree/v12.2.0 \ No newline at end of file diff --git a/_examples/apidoc/yaag/go.mod b/_examples/apidoc/yaag/go.mod index 06dd27fd..d1b4b925 100644 --- a/_examples/apidoc/yaag/go.mod +++ b/_examples/apidoc/yaag/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/_examples/apidoc/yaag -go 1.19 +go 1.20 // Until they accept my PR: https://github.com/betacraft/yaag/pull/72. replace github.com/betacraft/yaag => github.com/responsibility-act/yaag v0.0.0-20221226211414-8086c29ee199 diff --git a/_examples/auth/basicauth/database/go.mod b/_examples/auth/basicauth/database/go.mod index 02623cdc..3d7b05ab 100644 --- a/_examples/auth/basicauth/database/go.mod +++ b/_examples/auth/basicauth/database/go.mod @@ -1,6 +1,6 @@ module myapp -go 1.19 +go 1.20 require ( github.com/go-sql-driver/mysql v1.7.0 diff --git a/_examples/auth/jwt/tutorial/go.mod b/_examples/auth/jwt/tutorial/go.mod index 2e0e3159..02193e78 100644 --- a/_examples/auth/jwt/tutorial/go.mod +++ b/_examples/auth/jwt/tutorial/go.mod @@ -1,6 +1,6 @@ module myapp -go 1.19 +go 1.20 require ( github.com/google/uuid v1.3.0 diff --git a/_examples/bootstrapper/go.mod b/_examples/bootstrapper/go.mod index f8896276..91a784c9 100644 --- a/_examples/bootstrapper/go.mod +++ b/_examples/bootstrapper/go.mod @@ -1,10 +1,10 @@ module github.com/kataras/iris/v12/_examples/bootstrapper -go 1.19 +go 1.20 require ( github.com/gorilla/securecookie v1.1.1 - github.com/kataras/iris/v12 v12.2.0-beta7 + github.com/kataras/iris/v12 v12.2.0-beta7.0.20230219194850-dccd57263617 ) require ( @@ -14,7 +14,7 @@ require ( github.com/Joker/jade v1.1.3 // indirect github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06 // indirect github.com/ajg/form v1.5.1 // indirect - github.com/andybalholm/brotli v1.0.4 // indirect + github.com/andybalholm/brotli v1.0.5 // indirect github.com/aymerick/douceur v0.2.0 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385 // indirect @@ -30,31 +30,31 @@ require ( github.com/gorilla/websocket v1.5.0 // indirect github.com/imkira/go-interpol v1.1.0 // indirect github.com/iris-contrib/go.uuid v2.0.0+incompatible // indirect - github.com/iris-contrib/httpexpect/v2 v2.3.1 // indirect + github.com/iris-contrib/httpexpect/v2 v2.12.1 // indirect github.com/iris-contrib/schema v0.0.6 // indirect github.com/josharian/intern v1.0.0 // indirect - github.com/json-iterator/go v1.1.12 // indirect github.com/kataras/blocks v0.0.7 // indirect github.com/kataras/golog v0.1.8 // indirect - github.com/kataras/neffos v0.0.21-0.20221128161812-e8e0f317accd // indirect + github.com/kataras/neffos v0.0.21 // indirect github.com/kataras/pio v0.0.11 // indirect github.com/kataras/sitemap v0.0.6 // indirect github.com/kataras/tunnel v0.0.4 // indirect - github.com/klauspost/compress v1.15.13 // indirect + github.com/klauspost/compress v1.15.15 // indirect + github.com/kr/pretty v0.3.1 // indirect github.com/mailgun/raymond/v2 v2.0.48 // indirect github.com/mailru/easyjson v0.7.7 // indirect github.com/mediocregopher/radix/v3 v3.8.1 // indirect - github.com/microcosm-cc/bluemonday v1.0.21 // indirect - github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect - github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/nats-io/nats.go v1.20.0 // indirect + github.com/microcosm-cc/bluemonday v1.0.22 // indirect + github.com/mitchellh/go-wordwrap v1.0.1 // indirect + github.com/nats-io/nats.go v1.23.0 // indirect github.com/nats-io/nkeys v0.3.0 // indirect github.com/nats-io/nuid v1.0.1 // indirect github.com/nxadm/tail v1.4.8 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect + github.com/sanity-io/litter v1.5.5 // indirect github.com/schollz/closestmatch v2.1.0+incompatible // indirect - github.com/sergi/go-diff v1.2.0 // indirect + github.com/sergi/go-diff v1.0.0 // indirect github.com/sirupsen/logrus v1.8.1 // indirect github.com/stretchr/testify v1.8.1 // indirect github.com/tdewolff/minify/v2 v2.12.4 // indirect @@ -69,7 +69,7 @@ require ( github.com/yosssi/ace v0.0.5 // indirect github.com/yudai/gojsondiff v1.0.0 // indirect github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 // indirect - golang.org/x/crypto v0.4.0 // indirect + golang.org/x/crypto v0.6.0 // indirect golang.org/x/net v0.7.0 // indirect golang.org/x/sys v0.5.0 // indirect golang.org/x/text v0.7.0 // indirect @@ -78,5 +78,5 @@ require ( google.golang.org/protobuf v1.28.1 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - moul.io/http2curl v1.0.0 // indirect + moul.io/http2curl/v2 v2.3.0 // indirect ) diff --git a/_examples/bootstrapper/go.sum b/_examples/bootstrapper/go.sum index ba6f1a78..c7d4a9c9 100644 --- a/_examples/bootstrapper/go.sum +++ b/_examples/bootstrapper/go.sum @@ -12,11 +12,13 @@ github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06 h1:KkH3I3sJuOLP github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06/go.mod h1:7erjKLwalezA0k99cWs5L11HWOAPNjdUZ6RxH1BXbbM= github.com/ajg/form v1.5.1 h1:t9c7v8JUKu/XxOGBU0yjNpaMloxGEJhUkqFRq0ibGeU= github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY= -github.com/andybalholm/brotli v1.0.4 h1:V7DdXeJtZscaqfNuAdSRuRFzuiKlHSC/Zh3zl9qY3JY= -github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= +github.com/andybalholm/brotli v1.0.5 h1:8uQZIdzKmjc/iuPu7O2ioW48L81FgatrcpfFmiq/cCs= +github.com/andybalholm/brotli v1.0.5/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927/go.mod h1:h/aW8ynjgkuj+NQRlZcDbAbM1ORAbXjXX77sX7T289U= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -42,14 +44,12 @@ github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gopherjs/gopherjs v1.17.2 h1:fQnZVsXk8uxXIStYb0N4bGk7jeyTalG/wsZjQ25dO0g= github.com/gorilla/css v1.0.0 h1:BQqNyPTi50JCFMTw/b67hByjMVXZRwGha6wxVGkeihY= github.com/gorilla/css v1.0.0/go.mod h1:Dn721qIggHpt4+EFCcTLTU/vk5ySda2ReITrtgBl60c= github.com/gorilla/securecookie v1.1.1 h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ= @@ -60,56 +60,52 @@ github.com/imkira/go-interpol v1.1.0 h1:KIiKr0VSG2CUW1hl1jpiyuzuJeKUUpC8iM1AIE7N github.com/imkira/go-interpol v1.1.0/go.mod h1:z0h2/2T3XF8kyEPpRgJ3kmNv+C43p+I/CoI+jC3w2iA= github.com/iris-contrib/go.uuid v2.0.0+incompatible h1:XZubAYg61/JwnJNbZilGjf3b3pB80+OQg2qf6c8BfWE= github.com/iris-contrib/go.uuid v2.0.0+incompatible/go.mod h1:iz2lgM/1UnEf1kP0L/+fafWORmlnuysV2EMP8MW+qe0= -github.com/iris-contrib/httpexpect/v2 v2.3.1 h1:A69ilxKGW1jDRKK5UAhjTL4uJYh3RjD4qzt9vNZ7fpY= -github.com/iris-contrib/httpexpect/v2 v2.3.1/go.mod h1:ICTf89VBKSD3KB0fsyyHviKF8G8hyepP0dOXJPWz3T0= +github.com/iris-contrib/httpexpect/v2 v2.12.1 h1:3cTZSyBBen/kfjCtgNFoUKi1u0FVXNaAjyRJOo6AVS4= +github.com/iris-contrib/httpexpect/v2 v2.12.1/go.mod h1:7+RB6W5oNClX7PTwJgJnsQP3ZuUUYB3u61KCqeSgZ88= github.com/iris-contrib/schema v0.0.6 h1:CPSBLyx2e91H2yJzPuhGuifVRnZBBJ3pCOMbOvPZaTw= github.com/iris-contrib/schema v0.0.6/go.mod h1:iYszG0IOsuIsfzjymw1kMzTL8YQcCWlm65f3wX8J5iA= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= github.com/kataras/blocks v0.0.7 h1:cF3RDY/vxnSRezc7vLFlQFTYXG/yAr1o7WImJuZbzC4= github.com/kataras/blocks v0.0.7/go.mod h1:UJIU97CluDo0f+zEjbnbkeMRlvYORtmc1304EeyXf4I= github.com/kataras/golog v0.1.8 h1:isP8th4PJH2SrbkciKnylaND9xoTtfxv++NB+DF0l9g= github.com/kataras/golog v0.1.8/go.mod h1:rGPAin4hYROfk1qT9wZP6VY2rsb4zzc37QpdPjdkqVw= -github.com/kataras/iris/v12 v12.2.0-beta7 h1:5jOR2eaJlK+CSgh2PjxfkQnq4tiDa/nUEq31Lh9oZdo= -github.com/kataras/iris/v12 v12.2.0-beta7/go.mod h1:xxtcv51F0w5IegYWzH3zrCYfphxMPcDu8rb+GJXKLxc= -github.com/kataras/neffos v0.0.21-0.20221128161812-e8e0f317accd h1:K88DPQmfghQUVnbEfT452BiQaX5AyOZ6cl/73GyYYUk= -github.com/kataras/neffos v0.0.21-0.20221128161812-e8e0f317accd/go.mod h1:4iWKOqOXXCQRLYkvA2Xg5rrdJg0+3UukvKU/rVQlcyI= +github.com/kataras/iris/v12 v12.2.0-beta7.0.20230219194850-dccd57263617 h1:MaX7AK65XdTPQ7BC5jVHHanrbQzAyj6MMoQAhW55A2w= +github.com/kataras/iris/v12 v12.2.0-beta7.0.20230219194850-dccd57263617/go.mod h1:oebmYU38kHKZJs7yOpzvaHozZa3XvM8LACbtNYyppbU= +github.com/kataras/neffos v0.0.21 h1:UwN/F44jlqdtgFI29y3VhA7IlJ4JbK3UjCbTDg1pYoo= +github.com/kataras/neffos v0.0.21/go.mod h1:FeGka8lu8cjD2H+0OpBvW8c6xXawy3fj5VX6xcIJ1Fg= github.com/kataras/pio v0.0.11 h1:kqreJ5KOEXGMwHAWHDwIl+mjfNCPhAwZPa8gK7MKlyw= github.com/kataras/pio v0.0.11/go.mod h1:38hH6SWH6m4DKSYmRhlrCJ5WItwWgCVrTNU62XZyUvI= github.com/kataras/sitemap v0.0.6 h1:w71CRMMKYMJh6LR2wTgnk5hSgjVNB9KL60n5e2KHvLY= github.com/kataras/sitemap v0.0.6/go.mod h1:dW4dOCNs896OR1HmG+dMLdT7JjDk7mYBzoIRwuj5jA4= github.com/kataras/tunnel v0.0.4 h1:sCAqWuJV7nPzGrlb0os3j49lk2JhILT0rID38NHNLpA= github.com/kataras/tunnel v0.0.4/go.mod h1:9FkU4LaeifdMWqZu7o20ojmW4B7hdhv2CMLwfnHGpYw= -github.com/klauspost/compress v1.15.13 h1:NFn1Wr8cfnenSJSA46lLq4wHCcBzKTSjnBIexDMMOV0= -github.com/klauspost/compress v1.15.13/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/klauspost/compress v1.15.15 h1:EF27CXIuDsYJ6mmvtBRlEuB2UVOqHG1tAXgZ7yIO+lw= +github.com/klauspost/compress v1.15.15/go.mod h1:ZcK2JAFqKOpnBlxcLsJzYfrS9X1akm9fHZNnD9+Vo/4= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/mailgun/raymond/v2 v2.0.48 h1:5dmlB680ZkFG2RN/0lvTAghrSxIESeu9/2aeDqACtjw= github.com/mailgun/raymond/v2 v2.0.48/go.mod h1:lsgvL50kgt1ylcFJYZiULi5fjPBkkhNfj4KA0W54Z18= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2/go.mod h1:0KeJpeMD6o+O4hW7qJOT7vyQPKrWmj26uf5wMc/IiIs= -github.com/mattn/go-colorable v0.1.12 h1:jF+Du6AlPIjs2BiUiQlKOX0rt3SujHxPnksPKZbaA40= -github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= +github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= +github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPng= github.com/mediocregopher/radix/v3 v3.8.1 h1:rOkHflVuulFKlwsLY01/M2cM2tWCjDoETcMqKbAWu1M= github.com/mediocregopher/radix/v3 v3.8.1/go.mod h1:8FL3F6UQRXHXIBSPUs5h0RybMF8i4n7wVopoX3x7Bv8= -github.com/microcosm-cc/bluemonday v1.0.21 h1:dNH3e4PSyE4vNX+KlRGHT5KrSvjeUkoNPwEORjffHJg= -github.com/microcosm-cc/bluemonday v1.0.21/go.mod h1:ytNkv4RrDrLJ2pqlsSI46O6IVXmZOBBD4SaJyDwwTkM= +github.com/microcosm-cc/bluemonday v1.0.22 h1:p2tT7RNzRdCi0qmwxG+HbqD6ILkmwter1ZwVZn1oTxA= +github.com/microcosm-cc/bluemonday v1.0.22/go.mod h1:ytNkv4RrDrLJ2pqlsSI46O6IVXmZOBBD4SaJyDwwTkM= github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= +github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= +github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= github.com/nats-io/jwt/v2 v2.3.0 h1:z2mA1a7tIf5ShggOFlR1oBPgd6hGqcDYsISxZByUzdI= -github.com/nats-io/nats-server/v2 v2.8.4 h1:0jQzze1T9mECg8YZEl8+WYUXb9JKluJfCBriPUtluB4= -github.com/nats-io/nats.go v1.20.0 h1:T8JJnQfVSdh1CzGiwAOv5hEobYCBho/0EupGznYw0oM= -github.com/nats-io/nats.go v1.20.0/go.mod h1:tLqubohF7t4z3du1QDPYJIQQyhb4wl6DhjxEajSI7UA= +github.com/nats-io/nats-server/v2 v2.9.11 h1:4y5SwWvWI59V5mcqtuoqKq6L9NDUydOP3Ekwuwl8cZI= +github.com/nats-io/nats.go v1.23.0 h1:lR28r7IX44WjYgdiKz9GmUeW0uh/m33uD3yEjLZ2cOE= +github.com/nats-io/nats.go v1.23.0/go.mod h1:ki/Scsa23edbh8IRZbCuNXR9TDcbvfaSijKtaqQgw+Q= github.com/nats-io/nkeys v0.3.0 h1:cgM5tL53EvYRU+2YLXIK0G2mJtK12Ft9oeooSZMA2G8= github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4= github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw= @@ -118,23 +114,29 @@ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLA github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= -github.com/onsi/gomega v1.18.1 h1:M1GfJqGRrBrrGGsbxzV5dqM2U2ApXefZCQpkukxYRLE= +github.com/onsi/gomega v1.27.1 h1:rfztXRbg6nv/5f+Raen9RcGoSecHIFgBBLQK3Wdj754= +github.com/pkg/diff v0.0.0-20200914180035-5b29258ca4f7/go.mod h1:zO8QMzTeZd5cpnIkz/Gn6iK0jDfGicM1nynOkkPIl28= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= +github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= +github.com/sanity-io/litter v1.5.5 h1:iE+sBxPBzoK6uaEP5Lt3fHNgpKcHXc/A2HGETy0uJQo= +github.com/sanity-io/litter v1.5.5/go.mod h1:9gzJgR2i4ZpjZHsKvUXIRQVk7P+yM3e+jAF7bU2UI5U= github.com/schollz/closestmatch v2.1.0+incompatible h1:Uel2GXEpJqOWBrlyI+oY9LTiyyjYS17cCYRqP13/SHk= github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g= -github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= -github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= +github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= +github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/smartystreets/assertions v1.13.0 h1:Dx1kYM01xsSqKPno3aqLnrwac2LetPvN23diwyr69Qs= -github.com/smartystreets/goconvey v1.7.2 h1:9RBaZCeXEQ3UselpuwUQHltGVXvdwm6cv1hgR6gDIPg= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v0.0.0-20161117074351-18a02ba4a312/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= @@ -144,6 +146,7 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/tailscale/depaware v0.0.0-20210622194025-720c4b409502/go.mod h1:p9lPsd+cx33L3H9nNoecRRxPssFKUwwI50I3pZ0yT+8= github.com/tdewolff/minify/v2 v2.12.4 h1:kejsHQMM17n6/gwdw53qsi6lg0TGddZADVyQOz1KMdE= github.com/tdewolff/minify/v2 v2.12.4/go.mod h1:h+SRvSIX3kwgwTFOpSckvSxgax3uy8kZTSF1Ojrr3bk= github.com/tdewolff/parse/v2 v2.6.4 h1:KCkDvNUMof10e3QExio9OPZJT8SbdKojLBumw8YZycQ= @@ -171,22 +174,34 @@ github.com/yudai/gojsondiff v1.0.0/go.mod h1:AY32+k2cwILAkW1fbgxQ5mUmMiZFgLIV+FB github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82 h1:BHyfKlQyqbsFN5p3IfnEUduWvb9is428/nNb5L3U01M= github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82/go.mod h1:lgjkn3NuSvDfVJdfcVVdX+jpBxNmX4rDAzaS45IcYoM= github.com/yudai/pp v2.0.1+incompatible h1:Q4//iY4pNF6yPLZIigmvcl7k/bPgrcTPIFIcmawg5bI= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.4.0 h1:UVQgzMY87xqpKNgb+kDsll2Igd33HszWHFLmpaRMq/8= -golang.org/x/crypto v0.4.0/go.mod h1:3quD/ATkf6oY+rnes5c3ExXTbLc8mueNue5/DoinL80= +golang.org/x/crypto v0.6.0 h1:qfktjS5LUO+fFKeJXZ+ikTRijMmljikvG68fpMMruSc= +golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= +golang.org/x/net v0.0.0-20190327091125-710a502c58a2/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g= golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f h1:Ax0t5p6N38Ga0dThY21weqDEyz2oklo4IvDkpigvkD8= +golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201207223542-d4d67f95c62d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -205,6 +220,7 @@ golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20201211185031-d93e913c1a58/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -215,7 +231,6 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0 google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= @@ -223,11 +238,10 @@ gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -moul.io/http2curl v1.0.0 h1:6XwpyZOYsgZJrU8exnG87ncVkU1FVCcTRpwzOkTDUi8= -moul.io/http2curl v1.0.0/go.mod h1:f6cULg+e4Md/oW1cYmwW4IWQOVl2lGbmCNGOHvzX2kE= +moul.io/http2curl/v2 v2.3.0 h1:9r3JfDzWPcbIklMOs2TnIFzDYvfAZvjeavG6EzP7jYs= +moul.io/http2curl/v2 v2.3.0/go.mod h1:RW4hyBjTWSYDOxapodpNEtX0g5Eb16sxklBqmd2RHcE= diff --git a/_examples/configuration/multi-environments/go.mod b/_examples/configuration/multi-environments/go.mod index eba3e994..0e7d1fad 100644 --- a/_examples/configuration/multi-environments/go.mod +++ b/_examples/configuration/multi-environments/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/my-iris-app -go 1.19 +go 1.20 require ( github.com/kataras/iris/v12 v12.2.0-beta7 diff --git a/_examples/configuration/viper/go.mod b/_examples/configuration/viper/go.mod index d75e81a2..f7db89cf 100644 --- a/_examples/configuration/viper/go.mod +++ b/_examples/configuration/viper/go.mod @@ -1,6 +1,6 @@ module app -go 1.19 +go 1.20 require ( github.com/kataras/iris/v12 v12.2.0-beta7 diff --git a/_examples/database/mongodb/go.mod b/_examples/database/mongodb/go.mod index b051e9d2..3510e941 100644 --- a/_examples/database/mongodb/go.mod +++ b/_examples/database/mongodb/go.mod @@ -1,6 +1,6 @@ module myapp -go 1.19 +go 1.20 require ( github.com/joho/godotenv v1.4.0 diff --git a/_examples/database/mysql/go.mod b/_examples/database/mysql/go.mod index 6974b325..079eaec4 100644 --- a/_examples/database/mysql/go.mod +++ b/_examples/database/mysql/go.mod @@ -1,6 +1,6 @@ module myapp -go 1.19 +go 1.20 require ( github.com/DATA-DOG/go-sqlmock v1.5.0 diff --git a/_examples/database/orm/reform/go.mod b/_examples/database/orm/reform/go.mod index bcdc5689..36094f52 100644 --- a/_examples/database/orm/reform/go.mod +++ b/_examples/database/orm/reform/go.mod @@ -1,6 +1,6 @@ module myapp -go 1.19 +go 1.20 require ( github.com/kataras/golog v0.1.8 diff --git a/_examples/dependency-injection/jwt/contrib/go.mod b/_examples/dependency-injection/jwt/contrib/go.mod index 28f2428e..c97fd38b 100644 --- a/_examples/dependency-injection/jwt/contrib/go.mod +++ b/_examples/dependency-injection/jwt/contrib/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/_examples/dependency-injection/jwt/contrib -go 1.19 +go 1.20 require ( github.com/iris-contrib/middleware/jwt v0.0.0-20221224052405-ebfc293d7869 diff --git a/_examples/desktop/webview/go.mod b/_examples/desktop/webview/go.mod index 9619747c..6f47e8ad 100644 --- a/_examples/desktop/webview/go.mod +++ b/_examples/desktop/webview/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/_examples/desktop/webview -go 1.19 +go 1.20 require ( github.com/kataras/iris/v12 v12.2.0-beta7 diff --git a/_examples/graphql/schema-first/README.md b/_examples/graphql/schema-first/README.md index 81182599..18063fa5 100644 --- a/_examples/graphql/schema-first/README.md +++ b/_examples/graphql/schema-first/README.md @@ -16,8 +16,8 @@ Add `gqlgen` to your project's `tools.go` file ```sh $ printf '// +build tools\npackage tools\nimport _ "github.com/99designs/gqlgen"' | gofmt > tools.go -$ go get github.com/kataras/iris/v12@master -$ go mod tidy -compat=1.19 +$ go get github.com/kataras/iris/v12@latest +$ go mod tidy -compat=1.20 ``` Start the graphql server diff --git a/_examples/graphql/schema-first/go.mod b/_examples/graphql/schema-first/go.mod index 9bff93e2..f2b4f150 100644 --- a/_examples/graphql/schema-first/go.mod +++ b/_examples/graphql/schema-first/go.mod @@ -1,6 +1,6 @@ module github.com/iris-contrib/outerbanks-api -go 1.19 +go 1.20 require ( github.com/99designs/gqlgen v0.17.24 diff --git a/_examples/http-server/h2c/go.mod b/_examples/http-server/h2c/go.mod index 2f34666d..516048ef 100644 --- a/_examples/http-server/h2c/go.mod +++ b/_examples/http-server/h2c/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/_examples/http-server/h2c -go 1.19 +go 1.20 require ( github.com/kataras/iris/v12 v12.2.0-beta7.0.20230219191554-84a1e97a01f3 diff --git a/_examples/http-server/http3-quic/go.mod b/_examples/http-server/http3-quic/go.mod index 81e93cb6..d6b10094 100644 --- a/_examples/http-server/http3-quic/go.mod +++ b/_examples/http-server/http3-quic/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/_examples/http-server/http3-quic -go 1.19 +go 1.20 require ( github.com/kataras/iris/v12 v12.2.0-beta7.0.20230219191554-84a1e97a01f3 diff --git a/_examples/kafka-api/go.mod b/_examples/kafka-api/go.mod index 99e830dc..f89bbc84 100644 --- a/_examples/kafka-api/go.mod +++ b/_examples/kafka-api/go.mod @@ -1,6 +1,6 @@ module myapp -go 1.19 +go 1.20 require ( github.com/Shopify/sarama v1.37.2 diff --git a/_examples/logging/request-logger/accesslog-slack/go.mod b/_examples/logging/request-logger/accesslog-slack/go.mod index cfa78c58..927eb46c 100644 --- a/_examples/logging/request-logger/accesslog-slack/go.mod +++ b/_examples/logging/request-logger/accesslog-slack/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/_examples/logging/accesslog-slack -go 1.19 +go 1.20 require ( github.com/kataras/iris/v12 v12.2.0-beta7 diff --git a/_examples/logging/rollbar/go.mod b/_examples/logging/rollbar/go.mod index 00f15df6..4dc364d7 100644 --- a/_examples/logging/rollbar/go.mod +++ b/_examples/logging/rollbar/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/examples/logging/rollbar -go 1.19 +go 1.20 require ( github.com/kataras/iris/v12 v12.2.0-beta7 diff --git a/_examples/monitor/statsviz/go.mod b/_examples/monitor/statsviz/go.mod index 19fd04a1..5cd5be71 100644 --- a/_examples/monitor/statsviz/go.mod +++ b/_examples/monitor/statsviz/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/_examples/statsviz -go 1.19 +go 1.20 require ( github.com/arl/statsviz v0.5.1 diff --git a/_examples/mvc/grpc-compatible-bidirectional-stream/go.mod b/_examples/mvc/grpc-compatible-bidirectional-stream/go.mod index bc0d0c77..1aa8293a 100644 --- a/_examples/mvc/grpc-compatible-bidirectional-stream/go.mod +++ b/_examples/mvc/grpc-compatible-bidirectional-stream/go.mod @@ -1,6 +1,6 @@ module grpcexample -go 1.19 +go 1.20 require ( github.com/golang/protobuf v1.5.2 diff --git a/_examples/mvc/overview/README.md b/_examples/mvc/overview/README.md index e58e6ff7..eef5e0de 100644 --- a/_examples/mvc/overview/README.md +++ b/_examples/mvc/overview/README.md @@ -27,7 +27,7 @@ Navigate to that `app` folder and execute the following command: ```sh $ go init app -$ go get -u github.com/kataras/iris/v12@master +$ go get github.com/kataras/iris/v12@master # or @latest for the latest official release. ``` diff --git a/_examples/mvc/overview/go.mod b/_examples/mvc/overview/go.mod index 0e8a94e4..a095483c 100644 --- a/_examples/mvc/overview/go.mod +++ b/_examples/mvc/overview/go.mod @@ -1,6 +1,6 @@ module app -go 1.19 +go 1.20 require github.com/kataras/iris/v12 v12.2.0-beta7 diff --git a/_examples/mvc/vuejs-todo-mvc/src/go.mod b/_examples/mvc/vuejs-todo-mvc/src/go.mod index 8b63d68c..557b410b 100644 --- a/_examples/mvc/vuejs-todo-mvc/src/go.mod +++ b/_examples/mvc/vuejs-todo-mvc/src/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/v12/_examples/mvc/vuejs-todo-mvc/src -go 1.19 +go 1.20 require github.com/kataras/iris/v12 v12.2.0-beta7 diff --git a/_examples/project/go.mod b/_examples/project/go.mod index a3fd6181..c72359e0 100644 --- a/_examples/project/go.mod +++ b/_examples/project/go.mod @@ -1,6 +1,6 @@ module github.com/username/project -go 1.19 +go 1.20 require ( github.com/kataras/golog v0.1.8 diff --git a/_examples/response-writer/json-third-party/go.mod b/_examples/response-writer/json-third-party/go.mod index 6f562746..7d61184d 100644 --- a/_examples/response-writer/json-third-party/go.mod +++ b/_examples/response-writer/json-third-party/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/_examples/response-writer/json-third-party -go 1.19 +go 1.20 require ( github.com/bytedance/sonic v1.6.0 diff --git a/_examples/response-writer/protobuf/go.mod b/_examples/response-writer/protobuf/go.mod index fe6c6a3c..1aca67de 100644 --- a/_examples/response-writer/protobuf/go.mod +++ b/_examples/response-writer/protobuf/go.mod @@ -1,6 +1,6 @@ module app -go 1.19 +go 1.20 require ( github.com/golang/protobuf v1.5.2 diff --git a/_examples/routing/README.md b/_examples/routing/README.md deleted file mode 100644 index a5fb3d63..00000000 --- a/_examples/routing/README.md +++ /dev/null @@ -1 +0,0 @@ -https://github.com/kataras/iris/wiki/Routing diff --git a/_examples/routing/basic/main.go b/_examples/routing/basic/main.go index a22c1eb6..f1cd1af6 100644 --- a/_examples/routing/basic/main.go +++ b/_examples/routing/basic/main.go @@ -18,8 +18,6 @@ func newApp() *iris.Application { // // Third receiver should contains the route's handler(s), they are executed by order. app.Handle("GET", "/", func(ctx iris.Context) { - // navigate to the https://github.com/kataras/iris/wiki/Routing-context-methods - // to overview all context's method. ctx.HTML("Hello from " + ctx.Path()) // Hello from / }) diff --git a/_examples/routing/party-controller/go.mod b/_examples/routing/party-controller/go.mod index 405977d1..9bde80cd 100644 --- a/_examples/routing/party-controller/go.mod +++ b/_examples/routing/party-controller/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/_examples/routing/party-controller -go 1.19 +go 1.20 require github.com/kataras/iris/v12 v12.2.0-beta7 diff --git a/_examples/routing/subdomains/redirect/multi-instances/go.mod b/_examples/routing/subdomains/redirect/multi-instances/go.mod index 41771f93..0be07cf2 100644 --- a/_examples/routing/subdomains/redirect/multi-instances/go.mod +++ b/_examples/routing/subdomains/redirect/multi-instances/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/_examples/routing/subdomains/redirect/multi-instances -go 1.19 +go 1.20 require github.com/kataras/iris/v12 v12.2.0-beta7 diff --git a/_examples/sessions/database/redis/go.mod b/_examples/sessions/database/redis/go.mod index 76b2cb46..68463db8 100644 --- a/_examples/sessions/database/redis/go.mod +++ b/_examples/sessions/database/redis/go.mod @@ -1,6 +1,6 @@ module app -go 1.19 +go 1.20 require github.com/kataras/iris/v12 v12.2.0-beta7 diff --git a/_examples/testing/ginkgotest/go.mod b/_examples/testing/ginkgotest/go.mod index 939a0eb1..664f5848 100644 --- a/_examples/testing/ginkgotest/go.mod +++ b/_examples/testing/ginkgotest/go.mod @@ -1,6 +1,6 @@ module ginkgotest -go 1.19 +go 1.20 // replace github.com/kataras/iris/v12 => ../../../ diff --git a/_examples/websocket/basic/go.mod b/_examples/websocket/basic/go.mod index e7022763..fb3ea875 100644 --- a/_examples/websocket/basic/go.mod +++ b/_examples/websocket/basic/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/_examples/websocket/basic -go 1.19 +go 1.20 require ( github.com/iris-contrib/middleware/jwt v0.0.0-20221224052405-ebfc293d7869 diff --git a/_examples/websocket/gorilla-filewatch/go.mod b/_examples/websocket/gorilla-filewatch/go.mod index 95a60bd8..b65d40ca 100644 --- a/_examples/websocket/gorilla-filewatch/go.mod +++ b/_examples/websocket/gorilla-filewatch/go.mod @@ -1,6 +1,6 @@ module gorilla-filewatch-example -go 1.19 +go 1.20 require ( github.com/gorilla/websocket v1.5.0 diff --git a/_examples/websocket/socketio/go.mod b/_examples/websocket/socketio/go.mod index 1c22dfd4..49674c90 100644 --- a/_examples/websocket/socketio/go.mod +++ b/_examples/websocket/socketio/go.mod @@ -1,6 +1,6 @@ module github.com/kataras/iris/_examples/websocket/socketio -go 1.19 +go 1.20 require ( github.com/googollee/go-socket.io v1.6.2 diff --git a/aliases.go b/aliases.go index a1e4d79e..47d04e5c 100644 --- a/aliases.go +++ b/aliases.go @@ -99,7 +99,7 @@ type ( // Pass a Problem value to `context.Problem` to // write an "application/problem+json" response. // - // Read more at: https://github.com/kataras/iris/wiki/Routing-error-handlers + // Read more at: https://github.com/kataras/iris/blob/master/_examples/routing/http-errors. // // It is an alias of the `context#Problem` type. Problem = context.Problem diff --git a/context/context.go b/context/context.go index b4ef79be..62456503 100644 --- a/context/context.go +++ b/context/context.go @@ -4423,7 +4423,7 @@ func (ctx *Context) XML(v interface{}, opts ...XML) (err error) { // Use the options.RenderXML and XML fields to change this behavior and // send a response of content type "application/problem+xml" instead. // -// Read more at: https://github.com/kataras/iris/wiki/Routing-error-handlers +// Read more at: https://github.com/kataras/iris/blob/master/_examples/routing/http-errors. func (ctx *Context) Problem(v interface{}, opts ...ProblemOptions) error { options := DefaultProblemOptions if len(opts) > 0 { @@ -4735,7 +4735,7 @@ func parseHeader(headerValue string) []string { // // Supports the above without quality values. // -// Read more at: https://github.com/kataras/iris/wiki/Content-negotiation +// Read more at: https://github.com/kataras/iris/tree/master/_examples/response-writer/content-negotiation func (ctx *Context) Negotiate(v interface{}) (int, error) { contentType, charset, encoding, content := ctx.Negotiation().Build() if v == nil { diff --git a/context/problem.go b/context/problem.go index b5203545..aef7cfec 100644 --- a/context/problem.go +++ b/context/problem.go @@ -14,7 +14,7 @@ import ( // Pass a Problem value to `context.Problem` to // write an "application/problem+json" response. // -// Read more at: https://github.com/kataras/iris/wiki/Routing-error-handlers +// Read more at: https://github.com/kataras/iris/blob/master/_examples/routing/http-errors. type Problem map[string]interface{} // NewProblem retruns a new Problem. diff --git a/doc.go b/doc.go index e68eb61e..352dee9c 100644 --- a/doc.go +++ b/doc.go @@ -10,17 +10,17 @@ Source code and other details for the project are available at GitHub: # Current Version -12.2.0-beta7 +12.2.0 # Installation -The only requirement is the Go Programming Language, at least version 1.18. +The only requirement is the Go Programming Language, at least version 1.20. - $ go get github.com/kataras/iris/v12@master + $ go get github.com/kataras/iris/v12@latest Wiki: - https://github.com/kataras/iris/wiki + https://www.iris-go.com/#ebookDonateForm Examples: diff --git a/go.mod b/go.mod index 5fd7b856..fb33a271 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/kataras/iris/v12 -go 1.19 +go 1.20 -retract v12.1.8 // Please update to @master +retract [v12.0.0, v12.1.8] // Retract older versions as only latest is to be depended upon. Please update to @latest require ( github.com/BurntSushi/toml v1.2.1 @@ -32,7 +32,7 @@ require ( github.com/klauspost/compress v1.16.0 github.com/mailgun/raymond/v2 v2.0.48 github.com/mailru/easyjson v0.7.7 - github.com/microcosm-cc/bluemonday v1.0.22 + github.com/microcosm-cc/bluemonday v1.0.23 github.com/russross/blackfriday/v2 v2.1.0 github.com/schollz/closestmatch v2.1.0+incompatible github.com/shirou/gopsutil/v3 v3.23.2 @@ -40,12 +40,12 @@ require ( github.com/vmihailenco/msgpack/v5 v5.3.5 github.com/yosssi/ace v0.0.5 go.etcd.io/bbolt v1.3.7 - golang.org/x/crypto v0.6.0 - golang.org/x/net v0.7.0 - golang.org/x/sys v0.5.0 - golang.org/x/text v0.7.0 + golang.org/x/crypto v0.7.0 + golang.org/x/net v0.8.0 + golang.org/x/sys v0.6.0 + golang.org/x/text v0.8.0 golang.org/x/time v0.3.0 - google.golang.org/protobuf v1.28.1 + google.golang.org/protobuf v1.29.0 gopkg.in/ini.v1 v1.67.0 gopkg.in/yaml.v3 v3.0.1 ) diff --git a/go.sum b/go.sum index 7008ff2e..bfe2bcdf 100644 --- a/go.sum +++ b/go.sum @@ -137,8 +137,8 @@ github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPn github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/mediocregopher/radix/v3 v3.8.1 h1:rOkHflVuulFKlwsLY01/M2cM2tWCjDoETcMqKbAWu1M= github.com/mediocregopher/radix/v3 v3.8.1/go.mod h1:8FL3F6UQRXHXIBSPUs5h0RybMF8i4n7wVopoX3x7Bv8= -github.com/microcosm-cc/bluemonday v1.0.22 h1:p2tT7RNzRdCi0qmwxG+HbqD6ILkmwter1ZwVZn1oTxA= -github.com/microcosm-cc/bluemonday v1.0.22/go.mod h1:ytNkv4RrDrLJ2pqlsSI46O6IVXmZOBBD4SaJyDwwTkM= +github.com/microcosm-cc/bluemonday v1.0.23 h1:SMZe2IGa0NuHvnVNAZ+6B38gsTbi5e4sViiWJyDDqFY= +github.com/microcosm-cc/bluemonday v1.0.23/go.mod h1:mN70sk7UkkF8TUr2IGBpNN0jAgStuPzlK76QuruE/z4= github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= @@ -252,8 +252,8 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.6.0 h1:qfktjS5LUO+fFKeJXZ+ikTRijMmljikvG68fpMMruSc= -golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= +golang.org/x/crypto v0.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A= +golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= @@ -263,8 +263,8 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g= -golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ= +golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -285,15 +285,16 @@ golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0 h1:MUK/U/4lj1t1oPg0HfuXDN/Z1wv31ZJ/YcPiGccS4DU= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.8.0 h1:57P1ETyNKtuIjB4SRd15iJxuhj8Gc416Y78H3qgMh68= +golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -307,8 +308,8 @@ golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1N golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w= -google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.29.0 h1:44S3JjaKmLEE4YIkjzexaP+NzZsudE3Zin5Njn/pYX0= +google.golang.org/protobuf v1.29.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/iris.go b/iris.go index 7da6c846..c2f899fd 100644 --- a/iris.go +++ b/iris.go @@ -38,7 +38,7 @@ import ( ) // Version is the current version of the Iris Web Framework. -const Version = "12.2.0-beta7" +const Version = "12.2.0" // Byte unit helpers. const (