fix(deps): update module github.com/kataras/iris/v12 to v12.2.11 #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v12.2.6-0.20230908161203-24ba4e8933b9
->v12.2.11
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:x/errors.Intercept(func(ctx iris.Context, req *CreateRequest, resp *CreateResponse) error{ ... })
package-level function.x/errors/ContextValidator.ValidateContext(iris.Context) error
tox/errors/RequestHandler.HandleRequest(iris.Context) error
.v12.2.10
Compare Source
/core/host
subpackage and remove itsDeferFlow
andRestoreFlow
methods. These methods are replaced with:Supervisor.Configure(host.NonBlocking())
beforeServe
andSupervisor.Wait(context.Context) error
afterServe
.trimHandlerName
and other minor stuff.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:x/mathx.RoundToInteger
math helper function.v12.2.9
Compare Source
x/errors.RecoveryHandler
package-level function.x/errors.Validation
package-level function to add one or more validations for the request payload before a service call of the below methods.x/errors.Handler
,CreateHandler
,NoContentHandler
,NoContentOrNotModifiedHandler
andListHandler
ready-to-use handlers for service method calls to Iris Handler.x/errors.List
package-level function to supportListObjects(ctx context.Context, opts pagination.ListOptions, f Filter) ([]Object, int64, error)
type of service calls./x/errors
package works. A newx/errors/validation
sub-package added to make your life easier (using the powerful Generics feature).x/errors.OK
,Create
,NoContent
andNoContentOrNotModified
package-level generic functions as custom service method caller helpers. Example can be found here.x/errors.ReadPayload
,ReadQuery
,ReadPaginationOptions
,Handle
,HandleCreate
,HandleCreateResponse
,HandleUpdate
andHandleDelete
package-level functions as helpers for common actions.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.x/timex.GetMonthDays
andx/timex.GetMonthEnd
functions.iris.CookieDomain
andiris.CookieOverride
cookie options to handle #2309.x/errors.ErrorCodeName.MapErrorFunc
,MapErrors
,Wrap
methods andx/errors.HandleError
package-level function.v12.2.8
Compare Source
A new way to customize the handler's parameter among with the
hero
andmvc
packages. Newiris.NewContextWrapper
andiris.NewContextPool
methods were added to wrap a handler (.Handler
,.Handlers
,.HandlerReturnError
,HandlerReturnDuration
,Filter
andFallbackViewFunc
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:cache
package, through theHandler#Store
method.cache
package, trough theHandler#MaxAge
method.cache
package.cache.Handler
input and output arguments remain as it is.cache.Cache
input argument changed fromtime.Duration
tofunc(iris.Context) time.Duration
.Configuration
📅 Schedule: 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.
This PR has been generated by Mend Renovate. View repository job log here.