Skip to content

Commit 94874d6

Browse files
arshukla98MrAlias
andauthored
Remove SemVersion from instrumentation/github.com/gin-gonic/gin/otelgin (#7085)
Co-authored-by: Tyler Yahn <[email protected]>
1 parent 9de854f commit 94874d6

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
4040
- The deprecated `SemVersion` function is removed in `go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda`, use `Version` function instead. (#7058)
4141
- The deprecated `SemVersion` function in `go.opentelemetry.io/contrib/samplers/probability/consistent` is removed, use `Version` instead. (#7072)
4242
- The deprecated `SemVersion` function is removed in `go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux`, use `Version` function instead. (#7084)
43+
- The deprecated `SemVersion` function is removed in `go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin`, use `Version` function instead. (#7085)
4344

4445
<!-- Released section -->
4546
<!-- Don't change this section unless doing release -->

instrumentation/github.com/gin-gonic/gin/otelgin/version.go

-7
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,3 @@ func Version() string {
88
return "0.60.0"
99
// This string is updated by the pre_release.sh script during release
1010
}
11-
12-
// SemVersion is the semantic version to be supplied to tracer/meter creation.
13-
//
14-
// Deprecated: Use [Version] instead.
15-
func SemVersion() string {
16-
return Version()
17-
}

0 commit comments

Comments
 (0)