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

chore(deps): bump github.com/labstack/echo-contrib from 0.14.1 to 0.16.0 #258

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 25, 2024

Bumps github.com/labstack/echo-contrib from 0.14.1 to 0.16.0.

Release notes

Sourced from github.com/labstack/echo-contrib's releases.

v0.16.0 - small changes

Functionality:

  • Prometheus: disable echoprometheus compression by default #97
  • Prometheus: Conditionally set url label for 404 responses #111

Other:

  • Fix docs: Set correct go import path for echoprometheus package #96
  • Add SDPX licence identifier to source files #95
  • feat: improve test readability and include README.md #107
  • Upgrade dependencies #113

NB: this version needs Go 1.21+ if you want to use Prometheus mw

New Prometheus middleware

Introduced new Prometheus middleware (#94 ). This is cleaner API to replace older (now deprecated) Prometheus middleware. See README.md for migration guide.

Short example:

package main
import (
"errors"
"github.com/labstack/echo-contrib/echoprometheus"
"github.com/labstack/echo/v4"
"log"
"net/http"
)
func main() {
e := echo.New()
e.Use(echoprometheus.NewMiddleware("myapp"))   // Add metrics middleware
e.GET("/metrics", echoprometheus.NewHandler()) // Add handler for metrics scrapers
if err := e.Start(":8080"); err != nil && !errors.Is(err, http.ErrServerClosed) {
	log.Fatal(err)
}

}

Commits

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

Bumps [github.com/labstack/echo-contrib](https://github.com/labstack/echo-contrib) from 0.14.1 to 0.16.0.
- [Release notes](https://github.com/labstack/echo-contrib/releases)
- [Commits](labstack/echo-contrib@v0.14.1...v0.16.0)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo-contrib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 25, 2024
Copy link
Author

dependabot bot commented on behalf of github Apr 15, 2024

Superseded by #263.

@dependabot dependabot bot closed this Apr 15, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/labstack/echo-contrib-0.16.0 branch April 15, 2024 13:48
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants