Skip to content

Commit 946ea67

Browse files
committed
v12.2.0
1 parent 0473648 commit 946ea67

File tree

59 files changed

+171
-311
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+171
-311
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ If applicable, add screenshots to help explain your problem.
2424
- OS: [e.g. ubuntu, windows]
2525

2626
**iris.Version**
27-
- e.g. v12.2.0-beta7 or master
27+
- e.g. v12.2.0 or master
2828

2929
Please make sure the bug is reproducible over the `master` branch:
3030

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Instructions can be found at: https://github.com/kataras/iris/issues/796
2626

2727
### Writing
2828

29-
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).
29+
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.
3030

3131
### Social networks
3232

FAQ.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ Add a `badge` to your open-source projects powered by [Iris](https://iris-go.com
1919
## How to upgrade
2020

2121
```sh
22-
go get -u github.com/kataras/iris/v12@master
22+
go get github.com/kataras/iris/v12@latest
2323
```
2424

25-
Go version 1.13 and above is required.
25+
Go version 1.20 and above is required.
2626

2727
## Learning
2828

29-
More than 180 practical examples, tutorials and articles at:
29+
More than 280 practical examples, tutorials and articles at:
3030

3131
- https://www.iris-go.com/docs
3232
- https://www.iris-go.com/#ebookDonateForm
33-
- https://github.com/kataras/iris/wiki/Starter-kits
33+
<!-- - https://github.com/kataras/iris/wiki/Starter-kits -->
3434
- https://github.com/kataras/iris/tree/master/_examples
3535
- https://pkg.go.dev/github.com/kataras/iris/v12@master
3636

HISTORY.md

+8-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Changelog <a href="HISTORY_ES.md"><img width="20px" src="https://iris-go.com/images/flag-spain.png" /></a>
1+
# Changelog
22

33
### Looking for free and real-time support?
44

@@ -17,9 +17,9 @@
1717

1818
Developers are not forced to upgrade if they don't really need it. Upgrade whenever you feel ready.
1919

20-
**How to upgrade**: Open your command-line and execute this command: `go get github.com/kataras/iris/v12@latest`.
20+
**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`.
2121

22-
# Next
22+
# Sa, 11 March 2023 | v12.2.0
2323

2424
This release introduces new features and some breaking changes.
2525
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
732732
| `uint, uint8, uint16, uint32, uint64`, | |
733733
| `float, float32, float64`, | |
734734
| `bool`, | |
735-
| `slice` | [Path Parameter](https://github.com/kataras/iris/wiki/Routing-path-parameter-types) |
735+
| `slice` | [Path Parameter](https://github.com/kataras/iris/blob/master/_examples/routing/dynamic-path/main.go#L20) |
736736
| Struct | [Request Body](https://github.com/kataras/iris/tree/master/_examples/request-body) of `JSON`, `XML`, `YAML`, `Form`, `URL Query`, `Protobuf`, `MsgPack` |
737737

738738
Here is a preview of what the new Hero handlers look like:
@@ -1004,7 +1004,7 @@ Various improvements and linting.
10041004

10051005
# Su, 29 December 2019 | v12.1.4
10061006

1007-
Minor fix on serving [embedded files](https://github.com/kataras/iris/wiki/File-server).
1007+
Minor fix on serving embedded files.
10081008

10091009
# We, 25 December 2019 | v12.1.3
10101010

@@ -1069,15 +1069,13 @@ All known issues.
10691069

10701070
### Internationalization and localization
10711071

1072-
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).
1073-
1074-
Refer to the wiki section: https://github.com/kataras/iris/wiki/Sitemap for details.
1072+
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).
10751073

10761074
### Sitemaps
10771075

10781076
Iris generates and serves one or more [sitemap.xml](https://www.sitemaps.org/protocol.html) for your static routes.
10791077

1080-
Navigate through: https://github.com/kataras/iris/wiki/Sitemap for more.
1078+
Navigate through: https://github.com/kataras/iris/blob/master/_examples/routing/sitemap/main.go for more.
10811079

10821080
## New Examples
10831081

@@ -1129,7 +1127,7 @@ This minor version contains improvements on the Problem Details for HTTP APIs im
11291127
- Add `ProblemOptions` with `RetryAfter` as requested at: https://github.com/kataras/iris/issues/1335#issuecomment-521330994.
11301128
- Add `iris.JSON` alias for `context#JSON` options type.
11311129

1132-
[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.
1130+
[Example](https://github.com/kataras/iris/blob/45d7c6fedb5adaef22b9730592255f7bb375e809/_examples/routing/http-errors/main.go#L85) updated.
11331131

11341132
References:
11351133

HISTORY_ES.md

-141
This file was deleted.

README.md

+7-16
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,16 @@
1-
<!-- [![Black Lives Matter](https://iris-go.com/images/blacklivesmatter_banner.png)](https://support.eji.org/give/153413/#!/donation/checkout)
1+
<h1><img width="24" height="25" src ="https://www.iris-go.com/images/logo-new-lq-45.png"/> News</h1>
22

3+
Iris version **12.2.0** has been [released](HISTORY.md#sa-11-march-2023--v1220)! As always, the latest version of Iris comes with the promise of lifetime active maintenance.
34

4-
# News
5-
6-
> This is the under-**development branch** - contains the latest and greatest features. Stay tuned for the upcoming release [v12.2.0](HISTORY.md#Next). Looking for a more stable release? Head over to the [v12.1.8 branch](https://github.com/kataras/iris/tree/v12.1.8) instead.
7-
>
8-
> ![](https://iris-go.com/images/cli.png) Try the official [Iris Command Line Interface](https://github.com/kataras/iris-cli) today!
9-
10-
> Due to the large workload, there may be delays in answering your [questions](https://github.com/kataras/iris/issues). -->
11-
12-
<!-- ![](https://iris-go.com/images/release.png) Iris version **12.1.8** has been [released](HISTORY.md#su-16-february-2020--v1218)! -->
5+
Try the official [Iris Command Line Interface](https://github.com/kataras/iris-cli) today!
136

147
# Iris Web Framework <a href="README_GR.md"><img width="20px" src="https://iris-go.com/images/flag-greece.svg" /></a> <a href="README_FR.md"><img width="20px" src="https://iris-go.com/images/flag-france.svg" /></a> <a href="README_ZH_HANT.md"><img width="20px" src="https://iris-go.com/images/flag-taiwan.svg" /></a> <a href="README_ZH_HANS.md"><img width="20px" src="https://iris-go.com/images/flag-china.svg" /></a> <a href="README_ES.md"><img width="20px" src="https://iris-go.com/images/flag-spain.png" /></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> <a href="README_KO.md"><img width="20px" src="https://iris-go.com/images/flag-south-korea.svg?v=12" /></a> <a href="README_PT_BR.md"><img width="20px" height="20px" src="https://iris-go.com/images/flag-brazil.svg" /></a>
158

169
[![build status](https://img.shields.io/github/actions/workflow/status/kataras/iris/ci.yml?branch=master&style=for-the-badge)](https://github.com/kataras/iris/actions/workflows/ci.yml) [![view examples](https://img.shields.io/badge/examples%20-285-a83adf.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=cc2b5e&logo=gitter&style=for-the-badge)](https://gitter.im/iris_go/community) <!--[![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)--> [![donate](https://img.shields.io/badge/support-Iris-blue.svg?style=for-the-badge&logo=paypal)](https://iris-go.com/donate) <!--[![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://pkg.go.dev/github.com/kataras/iris/[email protected])--> <!-- [![release](https://img.shields.io/badge/release%20-v12.0-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) -->
1710

1811
<!-- <a href="https://iris-go.com"> <img align="right" src="https://iris-go.com/images/logo-w169.png"></a> -->
1912

20-
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**.
21-
22-
> Star 🌟 & watch 👀 the repository in order to get news about the upcoming **v12.2.0** stable release - it's finally happening (2023🎅) .
13+
Iris is a fast, simple yet fully featured and very efficient web framework for Go.
2314

2415
It provides a beautifully expressive and easy to use foundation for your next website or API.
2516

@@ -522,20 +513,20 @@ The only requirement is the [Go Programming Language](https://go.dev/dl/).
522513
$ mkdir myapp
523514
$ cd myapp
524515
$ go mod init myapp
525-
$ go get github.com/kataras/iris/v12@master # or @v12.2.0-beta7
516+
$ go get github.com/kataras/iris/v12@latest # or @v12.2.0
526517
```
527518

528519
<details><summary>Install on existing project</summary>
529520

530521
```sh
531522
$ cd myapp
532-
$ go get github.com/kataras/iris/v12@master
523+
$ go get github.com/kataras/iris/v12@latest
533524
```
534525

535526
**Run**
536527

537528
```sh
538-
$ go mod tidy -compat=1.19 # -compat="1.19" for windows.
529+
$ go mod tidy -compat=1.20 # -compat="1.20" for windows.
539530
$ go run .
540531
```
541532

README_ES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $ go run ejemplo.go
4747
4848
</details>
4949

50-
Iris contiene un extenso y completo **[wiki](https://github.com/kataras/iris/wiki)** que facilita comenzar con el framework.
50+
Iris contiene un extenso y completo **[wiki](https://www.iris-go.com/#ebookDonateForm)** que facilita comenzar con el framework.
5151

5252
Para obtener una documentación técnica más detallada, puede dirigirse a nuestros [godocs](https://pkg.go.dev/github.com/kataras/iris/[email protected]). Y para código ejecutable siempre puede visitar el subdirectorio del repositorio [\_examples](_examples/).
5353

README_FA.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Venkatt Guhesan" title="vguhesan" with="75" style="width:75px;max-width:75px;hei
242242
$ mkdir myapp
243243
$ cd myapp
244244
$ go mod init myapp
245-
$ go get github.com/kataras/iris/v12@master # or @v12.2.0-beta7
245+
$ go get github.com/kataras/iris/v12@latest # or @v12.2.0
246246
```
247247

248248
<div dir="rtl">
@@ -251,7 +251,7 @@ $ go get github.com/kataras/iris/v12@master # or @v12.2.0-beta7
251251

252252
```sh
253253
$ cd myapp
254-
$ go get github.com/kataras/iris/v12@master
254+
$ go get github.com/kataras/iris/v12@latest
255255
```
256256

257257
<div dir="rtl">
@@ -261,7 +261,7 @@ $ go get github.com/kataras/iris/v12@master
261261
```txt
262262
module myapp
263263
264-
go 1.19
264+
go 1.20
265265
266266
require github.com/kataras/iris/v12 v12.2.0-beta4.0.20220920072528-ff81f370625a
267267
```

README_FR.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Lisez [ce que les développeurs pensent d'Iris](https://iris-go.com/testimonials
2020
<summary>Un simple Hello World</summary>
2121

2222
```sh
23-
# https://github.com/kataras/iris/wiki/Installation
23+
# https://www.iris-go.com/#ebookDonateForm
2424
$ go get github.com/kataras/iris/v12@latest
2525
# assume the following code in example.go file
2626
$ cat example.go
@@ -53,7 +53,7 @@ $ go run example.go
5353
5454
</details>
5555

56-
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.
56+
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.
5757

5858
<!-- ![](https://media.giphy.com/media/Ur8iqy9FQfmPuyQpgy/giphy.gif) -->
5959

0 commit comments

Comments
 (0)