From 3082e6d54a06119f221d42df23952770e4019bb7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 May 2024 23:46:48 +0000 Subject: [PATCH] Bump github.com/gin-contrib/requestid from 1.0.0 to 1.0.2 Bumps [github.com/gin-contrib/requestid](https://github.com/gin-contrib/requestid) from 1.0.0 to 1.0.2. - [Release notes](https://github.com/gin-contrib/requestid/releases) - [Changelog](https://github.com/gin-contrib/requestid/blob/master/.goreleaser.yaml) - [Commits](https://github.com/gin-contrib/requestid/compare/v1.0.0...v1.0.2) --- updated-dependencies: - dependency-name: github.com/gin-contrib/requestid dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 +- .../gin-contrib/requestid/.golangci.yml | 4 -- .../gin-contrib/requestid/.goreleaser.yaml | 57 +++++-------------- .../gin-contrib/requestid/README.md | 6 +- vendor/modules.txt | 2 +- 6 files changed, 20 insertions(+), 55 deletions(-) diff --git a/go.mod b/go.mod index b3106121..cfb8ec04 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.19 require ( github.com/gin-contrib/cors v1.7.2 - github.com/gin-contrib/requestid v1.0.0 + github.com/gin-contrib/requestid v1.0.2 github.com/gin-contrib/zap v1.1.3 github.com/gin-gonic/gin v1.10.0 github.com/go-rel/mysql v0.12.0 diff --git a/go.sum b/go.sum index 74d0b8a8..dd3e80c1 100644 --- a/go.sum +++ b/go.sum @@ -16,8 +16,8 @@ github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uq github.com/gabriel-vasile/mimetype v1.4.3/go.mod h1:d8uq/6HKRL6CGdk+aubisF/M5GcPfT7nKyLpA0lbSSk= github.com/gin-contrib/cors v1.7.2 h1:oLDHxdg8W/XDoN/8zamqk/Drgt4oVZDvaV0YmvVICQw= github.com/gin-contrib/cors v1.7.2/go.mod h1:SUJVARKgQ40dmrzgXEVxj2m7Ig1v1qIboQkPDTQ9t2E= -github.com/gin-contrib/requestid v1.0.0 h1:Ms19AcktabHdXDiMDvsR+PrkBEOtURWliX89n9b0VHY= -github.com/gin-contrib/requestid v1.0.0/go.mod h1:311ycyAmroVeV6hDO1Wojooq/jmWfrgqU33M1ncP/TI= +github.com/gin-contrib/requestid v1.0.2 h1:MRJqVwmpHAbkkF3ENgtDWU41l5ICmmVy01q2ZDYI1BE= +github.com/gin-contrib/requestid v1.0.2/go.mod h1:GZWwfwmwZKfuxjnByRCrf+ugr65OW+425m5HiryD37s= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-contrib/zap v1.1.3 h1:9e/U9fYd4/OBfmSEBs5hHZq114uACn7bpuzvCkcJySA= diff --git a/vendor/github.com/gin-contrib/requestid/.golangci.yml b/vendor/github.com/gin-contrib/requestid/.golangci.yml index 5a0031c3..d59c99bd 100644 --- a/vendor/github.com/gin-contrib/requestid/.golangci.yml +++ b/vendor/github.com/gin-contrib/requestid/.golangci.yml @@ -4,8 +4,6 @@ linters: fast: false enable: - bodyclose - - deadcode - - depguard - dogsled - dupl - errcheck @@ -29,13 +27,11 @@ linters: - nolintlint - rowserrcheck - staticcheck - - structcheck - stylecheck - typecheck - unconvert - unparam - unused - - varcheck - whitespace - gofumpt diff --git a/vendor/github.com/gin-contrib/requestid/.goreleaser.yaml b/vendor/github.com/gin-contrib/requestid/.goreleaser.yaml index aa5453cf..dc3a01fb 100644 --- a/vendor/github.com/gin-contrib/requestid/.goreleaser.yaml +++ b/vendor/github.com/gin-contrib/requestid/.goreleaser.yaml @@ -1,57 +1,26 @@ -project_name: queue - builds: - - - # If true, skip the build. - # Useful for library projects. - # Default is false - skip: true + - skip: true changelog: - # Set it to true if you wish to skip the changelog generation. - # This may result in an empty release notes on GitHub/GitLab/Gitea. - skip: false - - # Changelog generation implementation to use. - # - # Valid options are: - # - `git`: uses `git log`; - # - `github`: uses the compare GitHub API, appending the author login to the changelog. - # - `gitlab`: uses the compare GitLab API, appending the author name and email to the changelog. - # - `github-native`: uses the GitHub release notes generation API, disables the groups feature. - # - # Defaults to `git`. - use: git - - # Sorts the changelog by the commit's messages. - # Could either be asc, desc or empty - # Default is empty - sort: asc - - # Group commits messages by given regex and title. - # Order value defines the order of the groups. - # Proving no regex means all commits will be grouped under the default group. - # Groups are disabled when using github-native, as it already groups things by itself. - # - # Default is no groups. + use: github groups: - title: Features regexp: "^.*feat[(\\w)]*:+.*$" order: 0 - - title: 'Bug fixes' + - title: "Bug fixes" regexp: "^.*fix[(\\w)]*:+.*$" order: 1 - - title: 'Enhancements' + - title: "Enhancements" regexp: "^.*chore[(\\w)]*:+.*$" order: 2 + - title: "Refactor" + regexp: "^.*refactor[(\\w)]*:+.*$" + order: 3 + - title: "Build process updates" + regexp: ^.*?(build|ci)(\(.+\))??!?:.+$ + order: 4 + - title: "Documentation updates" + regexp: ^.*?docs?(\(.+\))??!?:.+$ + order: 4 - title: Others order: 999 - - filters: - # Commit messages matching the regexp listed here will be removed from - # the changelog - # Default is empty - exclude: - - '^docs' - - 'CICD' - - typo diff --git a/vendor/github.com/gin-contrib/requestid/README.md b/vendor/github.com/gin-contrib/requestid/README.md index 85960808..870fc0c1 100644 --- a/vendor/github.com/gin-contrib/requestid/README.md +++ b/vendor/github.com/gin-contrib/requestid/README.md @@ -93,7 +93,7 @@ r.GET("/", func(c *gin.Context) { You can also get the request identifier from response header: -``` +```sh > curl -i "http://127.0.0.1:8080" HTTP/1.1 200 OK @@ -106,7 +106,7 @@ id:77966910-3912-4193-9b74-267491c51700 When http request with custom identifier, gin server return the custom identifier in response header. -``` +```sh > curl -i -H "X-Request-ID:test" "http://127.0.0.1:8080" HTTP/1.1 200 OK @@ -115,4 +115,4 @@ X-Request-Id: 1688221042 Content-Length: 13 id:test -``` \ No newline at end of file +``` diff --git a/vendor/modules.txt b/vendor/modules.txt index cb627880..56f81c88 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -48,7 +48,7 @@ github.com/gabriel-vasile/mimetype/internal/magic # github.com/gin-contrib/cors v1.7.2 ## explicit; go 1.18 github.com/gin-contrib/cors -# github.com/gin-contrib/requestid v1.0.0 +# github.com/gin-contrib/requestid v1.0.2 ## explicit; go 1.20 github.com/gin-contrib/requestid # github.com/gin-contrib/sse v0.1.0