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

Bump github.com/kataras/iris/v12 from 12.2.7 to 12.2.10 #208

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 18, 2024

Bumps github.com/kataras/iris/v12 from 12.2.7 to 12.2.10.

Release notes

Sourced from github.com/kataras/iris/v12's releases.

v12.2.10

Full Changelog: https://github.com/kataras/iris/blob/main/HISTORY.md#thu-18-jan-2024--v12210

v12.2.9

Full Changelog: https://github.com/kataras/iris/blob/main/HISTORY.md#wed-10-jan-2024--v1229

v12.2.8

What's Changed

Read at: https://github.com/kataras/iris/blob/main/HISTORY.md#sun-05-nov-2023--v1228

New Contributors

Full Changelog: kataras/iris@v12.2.7...v12.2.8

Changelog

Sourced from github.com/kataras/iris/v12's changelog.

Thu, 18 Jan 2024 | v12.2.10

  • Simplify the /core/host subpackage and remove its DeferFlow and RestoreFlow methods.
  • 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.

Wed, 10 Jan 2024 | v12.2.9

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

Sun, 05 Nov 2023 | v12.2.8

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

... (truncated)

Commits
  • 113ce19 release version 12.2.10
  • 1254632 improve the new Wait method
  • 7088291 new NonBlocking option and Wait method on Application. See HISTORY.md for more
  • 5ef854d add mathx.RoundToInteger helper
  • 0063f1c Bump github.com/tdewolff/minify/v2 from 2.20.12 to 2.20.13 (#2351)
  • 38d2662 Bump github.com/andybalholm/brotli from 1.0.6 to 1.1.0 (#2350)
  • ff59475 update deps
  • f0e5271 doc: update version
  • b2c37e1 add x/errors.RecoveryHandler
  • 06a6e63 update examples deps before release
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [github.com/kataras/iris/v12](https://github.com/kataras/iris) from 12.2.7 to 12.2.10.
- [Release notes](https://github.com/kataras/iris/releases)
- [Changelog](https://github.com/kataras/iris/blob/main/HISTORY.md)
- [Commits](kataras/iris@v12.2.7...v12.2.10)

---
updated-dependencies:
- dependency-name: github.com/kataras/iris/v12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from slok as a code owner January 18, 2024 11:21
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 18, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 25, 2024

Superseded by #221.

@dependabot dependabot bot closed this Apr 25, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/kataras/iris/v12-12.2.10 branch April 25, 2024 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants