slok / go-http-metrics

Go modular http middleware to measure HTTP requests independent of metrics backend (with Prometheus and OpenCensus as backend implementations) and http framework/library
Apache License 2.0
383 stars 71 forks source link

Bump github.com/kataras/iris/v12 from 12.2.7 to 12.2.9 #206

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

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

Release notes

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

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: https://github.com/kataras/iris/compare/v12.2.7...v12.2.8

Changelog

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

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.
    • 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.
Commits
  • ff59475 update deps
  • f0e5271 doc: update version
  • b2c37e1 add x/errors.RecoveryHandler
  • 06a6e63 update examples deps before release
  • d32eb68 add x/errors.Validation
  • ad75479 add x/errors.Handler, CreateHandler, NoContentHandler, NoContenetOrNotModifie...
  • 7024f61 thanks for the donations :heart:
  • 746b1fc add x/errors.List package-level function to support and simplify x/pagination...
  • 104bea0 Add new x/errors/validation package to make your life even more easier (using...
  • 8f2deb6 minor improvements on x/errors package, see previous commit for more
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)
dependabot[bot] commented 8 months ago

Superseded by #208.