Skip to content

fix(deps): update module github.com/kataras/iris/v12 to v12.2.11 - #11

Merged
jamietanna merged 1 commit into
mainfrom
renovate/github.com-kataras-iris-v12-12.x
Apr 11, 2026
Merged

fix(deps): update module github.com/kataras/iris/v12 to v12.2.11#11
jamietanna merged 1 commit into
mainfrom
renovate/github.com-kataras-iris-v12-12.x

Conversation

@renovate

@renovaterenovateBot commented Sep 25, 2023

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

PackageChangeAgeConfidence
github.com/kataras/iris/v12v12.2.6-0.20230908161203-24ba4e8933b9v12.2.11ageconfidence

Release Notes

kataras/iris (github.com/kataras/iris/v12)

v12.2.11

Compare Source

Dear Iris Community,

You might have noticed a recent lull in activity on the Iris repository. I want to assure you that this silence is not without reason. For the past 3-4 months, I've been diligently working on the next major release of Iris.

This upcoming version is poised to be a significant leap forward, fully embracing the Generics feature introduced in Go. We're not just stopping at Generics, though. Expect a suite of new features, enhancements, and optimizations that will elevate your development experience to new heights.

My journey with Go spans over 8 years, and with each year, my expertise and understanding of the language deepen. This accumulated knowledge is being poured into Iris, ensuring that the framework not only evolves with the language but also with the community's growing needs.

Stay tuned for more updates, and thank you for your continued support and patience. The wait will be worth it.

Warm regards,

Gerasimos (Makis) Maropoulos

This is the last release for the version 12 family.
  • Security improvements and dependencies upgrade.

  • New Application/Party.MiddlewareExists(handlerNameOrHandler) method added, example:

package main
import (
"fmt""github.com/kataras/iris/v12""github.com/kataras/iris/v12/x/errors"
)
funcmain() {
app:=iris.New()
app.UseRouter(errors.RecoveryHandler)
ifapp.MiddlewareExists(errors.RecoveryHandler) { // <- HERE.fmt.Println("errors.RecoveryHandler exists")
}
// OR:// if app.MiddlewareExists("iris.errors.recover") {// fmt.Println("Iris.Errors.Recovery exists")// }app.Get("/", indexHandler)
app.Listen(":8080")
}
funcindexHandler(ctx iris.Context) {
panic("an error here")
ctx.HTML("<h1>Index</h1>")
}
  • New x/errors.Intercept(func(ctx iris.Context, req *CreateRequest, resp *CreateResponse) error{ ... }) package-level function.
funcmain() {
app:=iris.New()
// Create a new service and pass it to the handlers.service:=new(myService)
app.Post("/", errors.Intercept(responseHandler), errors.CreateHandler(service.Create))
// [...]
}
funcresponseHandler(ctx iris.Context, req*CreateRequest, resp*CreateResponse) error {
fmt.Printf("intercept: request got: %+v\nresponse sent: %#+v\n", req, resp)
returnnil
}
  • Rename x/errors/ContextValidator.ValidateContext(iris.Context) error to x/errors/RequestHandler.HandleRequest(iris.Context) error.

v12.2.10

Compare Source

  • Simplify the /core/host subpackage and remove its DeferFlow and RestoreFlow methods. These methods are replaced with: Supervisor.Configure(host.NonBlocking()) before Serve and Supervisor.Wait(context.Context) error after Serve.
  • Fix internal trimHandlerName and other minor stuff.
  • New iris.NonBlocking() configuration option to run the server without blocking the main routine, Application.Wait(context.Context) error method can be used to block and wait for the server to be up and running. Example:
funcmain() {
app:=iris.New()
app.Get("/", func(ctx iris.Context) {
ctx.Writef("Hello, %s!", "World")
})
app.Listen(":8080", iris.NonBlocking(), iris.WithoutServerError(iris.ErrServerClosed))
ctx, cancel:=context.WithTimeout(context.Background(), 15*time.Second)
defercancel()
iferr:=app.Wait(ctx); err!=nil {
log.Fatal(err)
}
// [Server is up and running now, you may continue with other functions below].
}
  • Add x/mathx.RoundToInteger math helper function.

v12.2.9

Compare Source

  • Add x/errors.RecoveryHandler package-level function.
  • Add x/errors.Validation package-level function to add one or more validations for the request payload before a service call of the below methods.
  • Add x/errors.Handler, CreateHandler, NoContentHandler, NoContentOrNotModifiedHandler and ListHandler ready-to-use handlers for service method calls to Iris Handler.
  • Add x/errors.List package-level function to support ListObjects(ctx context.Context, opts pagination.ListOptions, f Filter) ([]Object, int64, error) type of service calls.
  • Simplify how validation errors on /x/errors package works. A new x/errors/validation sub-package added to make your life easier (using the powerful Generics feature).
  • Add x/errors.OK, Create, NoContent and NoContentOrNotModified package-level generic functions as custom service method caller helpers. Example can be found here.
  • Add x/errors.ReadPayload, ReadQuery, ReadPaginationOptions, Handle, HandleCreate, HandleCreateResponse, HandleUpdate and HandleDelete package-level functions as helpers for common actions.
  • Add x/jsonx.GetSimpleDateRange(date, jsonx.WeekRange, time.Monday, time.Sunday) which returns all dates between the given range and start/end weekday values for WeekRange.
  • Add x/timex.GetMonthDays and x/timex.GetMonthEnd functions.
  • Add iris.CookieDomain and iris.CookieOverride cookie options to handle #​2309.
  • New x/errors.ErrorCodeName.MapErrorFunc, MapErrors, Wrap methods and x/errors.HandleError package-level function.

v12.2.8

Compare Source

  • A new way to customize the handler's parameter among with the hero and mvc packages. New iris.NewContextWrapper and
    iris.NewContextPool methods were added to wrap a handler (.Handler, .Handlers, .HandlerReturnError, HandlerReturnDuration, Filter and FallbackViewFunc methods) and use a custom context instead of the iris.Context directly. Example at: https://github.com/kataras/iris/tree/main/_examples/routing/custom-context.

  • The cache sub-package has an update, 4 years after:

    • Add support for custom storage on cache package, through the Handler#Store method.
    • Add support for custom expiration duration on cache package, trough the Handler#MaxAge method.
    • Improve the overral performance of the cache package.
    • The cache.Handler input and output arguments remain as it is.
    • The cache.Cache input argument changed from time.Duration to func(iris.Context) time.Duration.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovateBot requested a review from a team as a code ownerSeptember 25, 2023 18:29
@renovaterenovateBot changed the title Update module github.com/kataras/iris/v12 to v12.2.7Update module github.com/kataras/iris/v12 to v12.2.8Nov 5, 2023
@renovate
renovateBotforce-pushed the renovate/github.com-kataras-iris-v12-12.x branch from f1e88be to 89ebee7CompareNovember 5, 2023 21:15
@renovate
renovateBotforce-pushed the renovate/github.com-kataras-iris-v12-12.x branch from 89ebee7 to 15a7a5dCompareNovember 6, 2023 16:04
Comment threadgo.mod Outdated
Comment on lines +3 to +5
go 1.21

toolchain go1.21.3

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛑

@jamietannajamietanna left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want to upgrade the Go version in use

@jamietanna
jamietanna marked this pull request as draft November 14, 2023 15:46
@renovate
renovateBotforce-pushed the renovate/github.com-kataras-iris-v12-12.x branch 3 times, most recently from a5f40f5 to e38aaddCompareNovember 16, 2023 14:18
@renovate
renovateBotforce-pushed the renovate/github.com-kataras-iris-v12-12.x branch 2 times, most recently from 2a4e779 to c50cdcbCompareJanuary 3, 2024 09:41
@renovaterenovateBot changed the title Update module github.com/kataras/iris/v12 to v12.2.8Update module github.com/kataras/iris/v12 to v12.2.8 - abandonedSep 23, 2025
@renovate

renovateBot commented Sep 23, 2025

Copy link
Copy Markdown
ContributorAuthor

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

@renovaterenovateBot changed the title Update module github.com/kataras/iris/v12 to v12.2.8 - abandonedfix(deps): update module github.com/kataras/iris/v12 to v12.2.11Apr 11, 2026
@renovate
renovateBotforce-pushed the renovate/github.com-kataras-iris-v12-12.x branch from 536fb5b to 079dd74CompareApril 11, 2026 14:29
@renovate

renovateBot commented Apr 11, 2026

Copy link
Copy Markdown
ContributorAuthor

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 10 additional dependencies were updated

Details:

PackageChange
github.com/andybalholm/brotliv1.0.5 -> v1.1.0
github.com/gomarkdown/markdownv0.0.0-20230922112808-5421fefb8386 -> v0.0.0-20240328165702-4d01890c35c0
github.com/kataras/blocksv0.0.7 -> v0.0.8
github.com/kataras/gologv0.1.9 -> v0.1.11
github.com/kataras/piov0.0.12 -> v0.0.13
github.com/klauspost/compressv1.16.7 -> v1.17.7
github.com/microcosm-cc/bluemondayv1.0.25 -> v1.0.26
github.com/tdewolff/minify/v2v2.12.9 -> v2.20.19
github.com/tdewolff/parse/v2v2.6.8 -> v2.7.12
github.com/vmihailenco/msgpack/v5v5.3.5 -> v5.4.1

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Updatedgithub.com/​kataras/​iris/​v12@​v12.2.6-0.20230908161203-24ba4e8933b9 ⏵ v12.2.1174+1100100100100

View full report

@jamietannajamietanna linked an issue Apr 11, 2026 that may be closed by this pull request
@jamietanna
jamietanna marked this pull request as ready for review April 11, 2026 14:43
@jamietanna
jamietanna merged commit 19040cc into mainApr 11, 2026
29 checks passed
@jamietanna
jamietanna deleted the renovate/github.com-kataras-iris-v12-12.x branch April 11, 2026 14:43
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hi please update Iris dependency

1 participant

@jamietanna