Merge pull request #374 from opencloud-eu/dependabot/go_modules/github.com/riandyrn/otelchi-0.12.1

build(deps): bump github.com/riandyrn/otelchi from 0.12.0 to 0.12.1
This commit is contained in:
Ralf Haferkamp
2025-03-18 08:11:16 +01:00
committed by GitHub
6 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ require (
github.com/pkg/xattr v0.4.10 github.com/pkg/xattr v0.4.10
github.com/prometheus/client_golang v1.21.1 github.com/prometheus/client_golang v1.21.1
github.com/r3labs/sse/v2 v2.10.0 github.com/r3labs/sse/v2 v2.10.0
github.com/riandyrn/otelchi v0.12.0 github.com/riandyrn/otelchi v0.12.1
github.com/rogpeppe/go-internal v1.14.1 github.com/rogpeppe/go-internal v1.14.1
github.com/rs/cors v1.11.1 github.com/rs/cors v1.11.1
github.com/rs/zerolog v1.33.0 github.com/rs/zerolog v1.33.0
+2 -2
View File
@@ -968,8 +968,8 @@ github.com/rainycape/memcache v0.0.0-20150622160815-1031fa0ce2f2/go.mod h1:7tZKc
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 h1:MkV+77GLUNo5oJ0jf870itWm3D0Sjh7+Za9gazKc5LQ= github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 h1:MkV+77GLUNo5oJ0jf870itWm3D0Sjh7+Za9gazKc5LQ=
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
github.com/riandyrn/otelchi v0.12.0 h1:7aXphKyzut8849DDb/0LWyCPq4mfnikpggEmmW3b38U= github.com/riandyrn/otelchi v0.12.1 h1:FdRKK3/RgZ/T+d+qTH5Uw3MFx0KwRF38SkdfTMMq/m8=
github.com/riandyrn/otelchi v0.12.0/go.mod h1:weZZeUJURvtCcbWsdb7Y6F8KFZGedJlSrgUjq9VirV8= github.com/riandyrn/otelchi v0.12.1/go.mod h1:weZZeUJURvtCcbWsdb7Y6F8KFZGedJlSrgUjq9VirV8=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
+9 -1
View File
@@ -8,6 +8,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## [Unreleased] ## [Unreleased]
## [0.12.1] - 2025-02-12
### Fixed
- Fix superfluous header writer ([#89])
## [0.12.0] - 2025-01-18 ## [0.12.0] - 2025-01-18
### Changed ### Changed
@@ -222,6 +228,7 @@ It contains instrumentation for trace and depends on:
- Example code for a basic usage. - Example code for a basic usage.
- Apache-2.0 license. - Apache-2.0 license.
[#89]: https://github.com/riandyrn/otelchi/pull/89
[#88]: https://github.com/riandyrn/otelchi/pull/88 [#88]: https://github.com/riandyrn/otelchi/pull/88
[#87]: https://github.com/riandyrn/otelchi/pull/87 [#87]: https://github.com/riandyrn/otelchi/pull/87
[#74]: https://github.com/riandyrn/otelchi/pull/74 [#74]: https://github.com/riandyrn/otelchi/pull/74
@@ -253,7 +260,8 @@ It contains instrumentation for trace and depends on:
[#2]: https://github.com/riandyrn/otelchi/pull/2 [#2]: https://github.com/riandyrn/otelchi/pull/2
[#1]: https://github.com/riandyrn/otelchi/pull/1 [#1]: https://github.com/riandyrn/otelchi/pull/1
[Unreleased]: https://github.com/riandyrn/otelchi/compare/v0.12.0...HEAD [Unreleased]: https://github.com/riandyrn/otelchi/compare/v0.12.1...HEAD
[0.12.1]: https://github.com/riandyrn/otelchi/releases/tag/v0.12.1
[0.12.0]: https://github.com/riandyrn/otelchi/releases/tag/v0.12.0 [0.12.0]: https://github.com/riandyrn/otelchi/releases/tag/v0.12.0
[0.11.0]: https://github.com/riandyrn/otelchi/releases/tag/v0.11.0 [0.11.0]: https://github.com/riandyrn/otelchi/releases/tag/v0.11.0
[0.10.1]: https://github.com/riandyrn/otelchi/releases/tag/v0.10.1 [0.10.1]: https://github.com/riandyrn/otelchi/releases/tag/v0.10.1
+3 -1
View File
@@ -89,8 +89,10 @@ func getRRW(writer http.ResponseWriter) *recordingResponseWriter {
if !rrw.written { if !rrw.written {
rrw.written = true rrw.written = true
rrw.status = statusCode rrw.status = statusCode
// only call next WriteHeader when header is not written yet
// this is to prevent superfluous WriteHeader call
next(statusCode)
} }
next(statusCode)
} }
}, },
}) })
+1 -1
View File
@@ -2,5 +2,5 @@ package version
// Version is the current release version of otelchi in use. // Version is the current release version of otelchi in use.
func Version() string { func Version() string {
return "0.12.0" return "0.12.1"
} }
+1 -1
View File
@@ -1671,7 +1671,7 @@ github.com/r3labs/sse/v2
# github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 # github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0
## explicit ## explicit
github.com/rcrowley/go-metrics github.com/rcrowley/go-metrics
# github.com/riandyrn/otelchi v0.12.0 # github.com/riandyrn/otelchi v0.12.1
## explicit; go 1.22.0 ## explicit; go 1.22.0
github.com/riandyrn/otelchi github.com/riandyrn/otelchi
github.com/riandyrn/otelchi/version github.com/riandyrn/otelchi/version