From 3a7260391cdea172360417f8151f71079aa85d86 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Sat, 24 Dec 2022 07:10:02 +0200 Subject: [PATCH] v12.2.0-beta7 --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- HISTORY.md | 6 +++++- README.md | 4 +++- README_FA.md | 2 +- README_PT_BR.md | 2 +- doc.go | 30 +--------------------------- iris.go | 2 +- 7 files changed, 13 insertions(+), 35 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 3a52e954..c1c4c8c6 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-beta6 or master +- e.g. v12.2.0-beta7 or master Please make sure the bug is reproducible over the `master` branch: diff --git a/HISTORY.md b/HISTORY.md index 68c1651f..3e2d8d77 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -26,8 +26,12 @@ Developers are not forced to upgrade if they don't really need it. Upgrade whene 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). -## Fixes and Improvements +## 24 Dec 2022 +All new features have been tested in production and seem to work fine. Fixed all reported and reproducible bugs. The `v12.2.0-beta7` is the latest beta release of v12.2.0. Expect the final public and stable release of v12.2.0 shortly after February 2023. + +## Fixes and Improvements + - Add `iris.TrimParamFilePart` to handle cases like [#2024](https://github.com/kataras/iris/issues/2024) and improve the [_examples/routing/dynamic-path/main.go](_examples/routing/dynamic-path/main.go#L356) example to include that case as well. - **Breaking-change**: HTML template functions `yield`, `part`, `partial`, `partial_r` and `render` now accept (and require for some cases) a second argument of the binding data context too. Convert: `{{ yield }}` to `{{ yield . }}`, `{{ render "templates/mytemplate.html" }}` to `{{ render "templates/mytemplate.html" . }}`, `{{ partial "partials/mypartial.html" }}` to `{{ partial "partials/mypartial.html" . }}` and so on. diff --git a/README.md b/README.md index 6944d02e..58341fae 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ 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🎅) . + It provides a beautifully expressive and easy to use foundation for your next website or API. @@ -499,7 +501,7 @@ 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-beta6 +$ go get github.com/kataras/iris/v12@master # or @v12.2.0-beta7 ```
Install on existing project diff --git a/README_FA.md b/README_FA.md index 198cdbee..a404a58e 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-beta6 +$ go get github.com/kataras/iris/v12@master # or @v12.2.0-beta7 ```
diff --git a/README_PT_BR.md b/README_PT_BR.md index d5d208c5..cb50eac9 100644 --- a/README_PT_BR.md +++ b/README_PT_BR.md @@ -462,7 +462,7 @@ 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-beta6 +$ go get github.com/kataras/iris/v12@master # or @v12.2.0-beta7 ```
Instalar num projeto existente diff --git a/doc.go b/doc.go index 2d6b4e6f..e68eb61e 100644 --- a/doc.go +++ b/doc.go @@ -1,31 +1,3 @@ -// Copyright (c) 2017-2022 The Iris Authors. All rights reserved. -// -// Redistribution and use in source and binary forms, with or without -// modification, are permitted provided that the following conditions are -// met: -// -// * Redistributions of source code must retain the above copyright -// notice, this list of conditions and the following disclaimer. -// * Redistributions in binary form must reproduce the above -// copyright notice, this list of conditions and the following disclaimer -// in the documentation and/or other materials provided with the -// distribution. -// * Neither the name of Iris nor the names of its -// contributors may be used to endorse or promote products derived from -// this software without specific prior written permission. -// -// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - /* Package iris implements the highest realistic performance, easy to learn Go web framework. Iris provides a beautifully expressive and easy to use foundation for your next website, API, or distributed app. @@ -38,7 +10,7 @@ Source code and other details for the project are available at GitHub: # Current Version -12.2.0-beta6 +12.2.0-beta7 # Installation diff --git a/iris.go b/iris.go index 4d966acb..c40f6a2c 100644 --- a/iris.go +++ b/iris.go @@ -39,7 +39,7 @@ import ( ) // Version is the current version of the Iris Web Framework. -const Version = "12.2.0-beta6" +const Version = "12.2.0-beta7" // Byte unit helpers. const (