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 #427

Merged
merged 1 commit 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 376f86d into main Feb 1, 2024
6 checks passed
@kodiakhq kodiakhq bot deleted the renovate/github.com-kataras-iris-v12-12.x branch February 1, 2024 01:46
kodiakhq bot pushed a commit that referenced this pull request Feb 1, 2024
🤖 I have created a release *beep* *boop*
---


## [4.2.9](v4.2.8...v4.2.9) (2024-02-01)


### Bug Fixes

* **deps:** Update golang.org/x/exp digest to 1b97071 ([#425](#425)) ([e4b0584](e4b0584))
* **deps:** Update google.golang.org/genproto/googleapis/rpc digest to 1f4bbc5 ([#426](#426)) ([f98c99f](f98c99f))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.7.1 ([#420](#420)) ([64974a0](64974a0))
* **deps:** Update module github.com/cloudquery/cloudquery-api-go to v1.7.2 ([#422](#422)) ([d1a53cd](d1a53cd))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.29.0 ([#423](#423)) ([96ffdd3](96ffdd3))
* **deps:** Update module github.com/kataras/iris/v12 to v12.2.10 ([#427](#427)) ([376f86d](376f86d))
* **deps:** Update module github.com/klauspost/compress to v1.17.5 ([#428](#428)) ([d71c817](d71c817))
* **deps:** Update module github.com/pierrec/lz4/v4 to v4.1.21 ([#429](#429)) ([3898470](3898470))
* **deps:** Update module github.com/tdewolff/minify/v2 to v2.20.16 ([#430](#430)) ([a42418e](a42418e))
* Rename spec structs for better representation in JSON schema ([#424](#424)) ([efeef19](efeef19))

---
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.

2 participants