Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): Update module github.com/kataras/iris/v12 to v12.2.10 #230

Merged
merged 2 commits into from
Feb 1, 2024

Conversation

cq-bot
Copy link
Contributor

@cq-bot cq-bot commented Feb 1, 2024

This PR contains the following updates:

Package Type Update Change
github.com/kataras/iris/v12 indirect patch v12.2.8 -> v12.2.10

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

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:
func main() {
    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)
    defer cancel()

    if err := 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.

Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), 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 has been generated by Renovate Bot.

@cq-bot cq-bot added the automerge Add to automerge PRs once requirements are met label Feb 1, 2024
@github-actions github-actions bot added the fix label Feb 1, 2024
@kodiakhq kodiakhq bot merged commit 5396892 into main Feb 1, 2024
7 checks passed
@kodiakhq kodiakhq bot deleted the renovate/github.com-kataras-iris-v12-12.x branch February 1, 2024 02:01
kodiakhq bot pushed a commit that referenced this pull request Feb 1, 2024
🤖 I have created a release *beep* *boop*
---


## [1.16.8](v1.16.7...v1.16.8) (2024-02-01)


### Bug Fixes

* **deps:** Update golang.org/x/exp digest to 1b97071 ([#227](#227)) ([8555093](8555093))
* **deps:** Update google.golang.org/genproto/googleapis/rpc digest to 1f4bbc5 ([#228](#228)) ([7879be4](7879be4))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.7.2 ([#225](#225)) ([f6241c0](f6241c0))
* **deps:** Update module github.com/docker/docker to v24.0.8+incompatible ([#229](#229)) ([07bf3a9](07bf3a9))
* **deps:** Update module github.com/kataras/iris/v12 to v12.2.10 ([#230](#230)) ([5396892](5396892))
* **deps:** Update module github.com/klauspost/compress to v1.17.5 ([#231](#231)) ([51a1e22](51a1e22))
* **deps:** Update module github.com/pierrec/lz4/v4 to v4.1.21 ([#232](#232)) ([53a35b6](53a35b6))
* **deps:** Update module github.com/tdewolff/minify/v2 to v2.20.16 ([#233](#233)) ([d8d3d36](d8d3d36))
* **deps:** Update module github.com/tdewolff/parse/v2 to v2.7.11 ([#234](#234)) ([190ea48](190ea48))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Add to automerge PRs once requirements are met fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants