Skip to content

Commit ec4a76c

Browse files
authored
Merge branch 'kataras:main' into main
2 parents f2370fe + de4f462 commit ec4a76c

File tree

182 files changed

+5098
-3744
lines changed

Some content is hidden

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

182 files changed

+5098
-3744
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ updates:
33
- package-ecosystem: "gomod"
44
directory: "/"
55
schedule:
6-
interval: "daily"
6+
interval: "weekly"
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
go_version: [1.22.x]
20+
go_version: [1.24.x]
2121
steps:
2222

2323
- name: Check out code into the Go module directory

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050

5151
# Initializes the CodeQL tools for scanning.
5252
- name: Initialize CodeQL
53-
uses: github/codeql-action/init@v2
53+
uses: github/codeql-action/init@v3
5454
with:
5555
languages: ${{ matrix.language }}
5656
# If you wish to specify custom queries, you can do so here or in a config file.

HISTORY.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -512,15 +512,15 @@ func main() {
512512

513513
#### DBUG Routes (1)
514514

515-
![DBUG routes 1](https://iris-go.com/images/v12.2.0-dbug.png?v=0)
515+
![DBUG routes 1](https://iris-go.com/static/images/v12.2.0-dbug.png?v=0)
516516

517517
#### DBUG Routes (2)
518518

519-
![DBUG routes 2](https://iris-go.com/images/v12.2.0-dbug2.png?v=0)
519+
![DBUG routes 2](https://iris-go.com/static/images/v12.2.0-dbug2.png?v=0)
520520

521521
#### DBUG Routes (3)
522522

523-
![DBUG routes with Controllers](https://iris-go.com/images/v12.2.0-dbug3.png?v=0)
523+
![DBUG routes with Controllers](https://iris-go.com/static/images/v12.2.0-dbug3.png?v=0)
524524

525525
- Update the [pprof middleware](https://github.com/kataras/iris/tree/main/middleware/pprof).
526526

@@ -559,7 +559,7 @@ PrimarySubdomain: www
559559
560560
- New `TraceRoute bool` on [middleware/logger](https://github.com/kataras/iris/tree/main/middleware/logger) middleware. Displays information about the executed route. Also marks the handlers executed. Screenshot:
561561

562-
![logger middleware: TraceRoute screenshot](https://iris-go.com/images/github/logger-trace-route.png)
562+
![logger middleware: TraceRoute screenshot](https://iris-go.com/static/images/github/logger-trace-route.png)
563563

564564
- Implement feature request [Log when I18n Translation Fails?](https://github.com/kataras/iris/issues/1593) by using the new `Application.I18n.DefaultMessageFunc` field **before** `I18n.Load`. [Example of usage](https://github.com/kataras/iris/blob/main/_examples/i18n/basic/main.go#L28-L50).
565565

@@ -571,7 +571,7 @@ PrimarySubdomain: www
571571

572572
- Fix `AutoTLS` when used with `iris.TLSNoRedirect` [*](https://github.com/kataras/iris/issues/1577). The `AutoTLS` runner can be customized through the new `iris.AutoTLSNoRedirect` instead, read its go documentation. Example of having both TLS and non-TLS versions of the same application without conflicts with letsencrypt `./well-known` path:
573573

574-
![](https://iris-go.com/images/github/autotls-1.png)
574+
![](https://iris-go.com/static/images/github/autotls-1.png)
575575

576576
```go
577577
package main
@@ -1237,7 +1237,7 @@ func notFound(ctx iris.Context) {
12371237
}
12381238
```
12391239

1240-
![](https://iris-go.com/images/iris-not-found-suggests.png)
1240+
![](https://iris-go.com/static/images/iris-not-found-suggests.png)
12411241

12421242
# Fr, 13 December 2019 | v12.1.0
12431243

@@ -1287,7 +1287,7 @@ Navigate through: https://github.com/kataras/iris/blob/main/_examples/routing/si
12871287

12881288
- Add version suffix of the **import path**, learn why and see what people voted at [issue #1370](https://github.com/kataras/iris/issues/1370)
12891289

1290-
![](https://iris-go.com/images/vote-v12-version-suffix_26_oct_2019.png)
1290+
![](https://iris-go.com/static/images/vote-v12-version-suffix_26_oct_2019.png)
12911291

12921292
- All errors are now compatible with go1.13 `errors.Is`, `errors.As` and `fmt.Errorf` and a new `core/errgroup` package created
12931293
- Fix [#1383](https://github.com/kataras/iris/issues/1383)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2016-2024, Gerasimos (Makis) Maropoulos
3+
Copyright (c) 2016-2025, Gerasimos (Makis) Maropoulos
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

README.md

Lines changed: 108 additions & 91 deletions
Large diffs are not rendered by default.

README_AR.md

Lines changed: 545 additions & 0 deletions
Large diffs are not rendered by default.

README_ES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Descubra lo que [otros dicen sobre Iris](https://iris-go.com/testimonials/) y **
88

99
[![](https://media.giphy.com/media/j5WLmtvwn98VPrm7li/giphy.gif)](https://iris-go.com/testimonials/)
1010

11-
[![Benchmarks: Apr 2, 2020 at 12:13pm (UTC)](https://iris-go.com/images/benchmarks.svg)](https://github.com/kataras/server-benchmarks)
11+
[![Benchmarks: Apr 2, 2020 at 12:13pm (UTC)](https://iris-go.com/static/images/benchmarks.svg)](https://github.com/kataras/server-benchmarks)
1212

1313
## Aprende Iris
1414

@@ -53,7 +53,7 @@ Para obtener una documentación técnica más detallada, puede dirigirse a nuest
5353

5454
### ¿Te gusta leer mientras viajas?
5555

56-
<a href="https://iris-go.com/#book"> <img alt="Book cover" src="https://iris-go.com/images/iris-book-cover-sm.jpg?v=12" /> </a>
56+
<a href="https://iris-go.com/#book"> <img alt="Book cover" src="https://iris-go.com/static/images/iris-book-cover-sm.jpg?v=12" /> </a>
5757

5858
[![follow author](https://img.shields.io/twitter/follow/makismaropoulos.svg?style=for-the-badge)](https://twitter.com/intent/follow?screen_name=makismaropoulos)
5959

README_FA.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
> این شاخه تحت توسعه است. برای رفتن به شاخه نسخه بعدی [v12.2.0](HISTORY.md#Next) یا اگر به دنبال یک انتشار پایدار هستید, به جای آن به شاخه [v12.1.8 branch](https://github.com/kataras/iris/tree/v12.1.8) مراجعه کنید.
66
7-
> ![](https://iris-go.com/images/cli.png) همین امروز برنامه رسمی [Iris Command Line Interface](https://github.com/kataras/iris-cli) را امتحان کنید.
7+
> ![](https://iris-go.com/static/images/cli.png) همین امروز برنامه رسمی [Iris Command Line Interface](https://github.com/kataras/iris-cli) را امتحان کنید.
88
99
> با توجه به بالا بودن حجم کار، ممکن است در پاسخ به [سوالات](https://github.com/kataras/iris/issues) شما تاخیری وجود داشته باشد.
1010
@@ -117,9 +117,9 @@ func (c *userController) PutBy(id uint64, req request) response {
117117

118118
> دیگران درباره آیریس چه می گویند و برای پشتیبانی از پتانسیل‌های این پروژه متن باز می‌توانید از آن حمایت کنید
119119
120-
[![](https://iris-go.com/images/reviews.gif)](https://iris-go.com/testimonials/)
120+
[![](https://iris-go.com/static/images/reviews.gif)](https://iris-go.com/testimonials/)
121121

122-
[![Benchmarks: Jul 18, 2020 at 10:46am (UTC)](https://iris-go.com/images/benchmarks.svg)](https://github.com/kataras/server-benchmarks)
122+
[![Benchmarks: Jul 18, 2020 at 10:46am (UTC)](https://iris-go.com/static/images/benchmarks.svg)](https://github.com/kataras/server-benchmarks)
123123

124124
## 👑 <a href="https://iris-go.com/donate">حامیان</a>
125125

@@ -173,7 +173,7 @@ require github.com/kataras/iris/v12 v12.2.0-beta4.0.20220920072528-ff81f370625a
173173
174174
## دوست دارید در حین مسافرت کتاب بخوانید ?
175175

176-
<a href="https://iris-go.com/#book"> <img alt="Book cover" src="https://iris-go.com/images/iris-book-cover-sm.jpg?v=12" /> </a>
176+
<a href="https://iris-go.com/#book"> <img alt="Book cover" src="https://iris-go.com/static/images/iris-book-cover-sm.jpg?v=12" /> </a>
177177

178178
[![follow author on twitter](https://img.shields.io/twitter/follow/makismaropoulos?color=3D8AA3&logoColor=3D8AA3&style=for-the-badge&logo=twitter)](https://twitter.com/intent/follow?screen_name=makismaropoulos)
179179

README_FR.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![build status](https://img.shields.io/github/actions/workflow/status/kataras/iris/ci.yml?branch=main&style=for-the-badge)](https://github.com/kataras/iris/actions/workflows/ci.yml) [![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://pkg.go.dev/github.com/kataras/iris/v12@v12.2.11)--> [![view examples](https://img.shields.io/badge/learn%20by-examples-0C8EC5.svg?style=for-the-badge&logo=go)](https://github.com/kataras/iris/tree/main/_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://iris-go.com/donate)--><!-- [![release](https://img.shields.io/badge/release%20-v12.0-0077b3.svg?style=for-the-badge)](https://github.com/kataras/iris/releases) -->
44

5-
<a href="https://iris-go.com"> <img align="right" src="https://iris-go.com/images/logo-w169.png"></a>
5+
<a href="https://iris-go.com"> <img align="right" src="https://iris-go.com/static/images/logo-w169.png"></a>
66

77
Iris est un framework open-source pour Go à la fois simple, rapide et pourvu de nombreuses fonctionnalités.
88

@@ -12,7 +12,7 @@ Lisez [ce que les développeurs pensent d'Iris](https://iris-go.com/testimonials
1212

1313
[![](https://media.giphy.com/media/j5WLmtvwn98VPrm7li/giphy.gif)](https://iris-go.com/testimonials/)
1414

15-
[![Benchmarks: Apr 2, 2020 at 12:13pm (UTC)](https://iris-go.com/images/benchmarks.svg)](https://github.com/kataras/server-benchmarks)
15+
[![Benchmarks: Apr 2, 2020 at 12:13pm (UTC)](https://iris-go.com/static/images/benchmarks.svg)](https://github.com/kataras/server-benchmarks)
1616

1717
## 📖 Démarrer avec Iris
1818

@@ -61,7 +61,7 @@ Pour une documentation encore plus complète vous pouvez visiter notre [godocs](
6161

6262
### Vous préférez une version PDF?
6363

64-
<a href="https://iris-go.com/#book"> <img alt="Book cover" src="https://iris-go.com/images/iris-book-cover-sm.jpg?v=12"/> </a>
64+
<a href="https://iris-go.com/#book"> <img alt="Book cover" src="https://iris-go.com/static/images/iris-book-cover-sm.jpg?v=12"/> </a>
6565

6666
[![follow author](https://img.shields.io/twitter/follow/makismaropoulos.svg?style=for-the-badge)](https://twitter.com/intent/follow?screen_name=makismaropoulos)
6767

0 commit comments

Comments
 (0)