From 62085a4f953376c7d76909efaaf6bec44756b777 Mon Sep 17 00:00:00 2001 From: arshukla98 Date: Tue, 1 Apr 2025 16:34:31 +0530 Subject: [PATCH] Remove SemVersion from instrumentation/github.com/gorilla/mux/otelmux/test (Closes #7041) --- CHANGELOG.md | 1 + .../github.com/gorilla/mux/otelmux/test/version.go | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a55f2bf3285..8142ae85a5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Drop support for [Go 1.22]. (#6853) - The deprecated `go.opentelemetry.io/contrib/config` package is removed, use `go.opentelemetry.io/contrib/otelconf` instead. (#6894) +- The deprecated `SemVersion` function is removed in `go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux/test`, use `Version` function instead. (#7086) diff --git a/instrumentation/github.com/gorilla/mux/otelmux/test/version.go b/instrumentation/github.com/gorilla/mux/otelmux/test/version.go index 3226e6b422c..879d40ec814 100644 --- a/instrumentation/github.com/gorilla/mux/otelmux/test/version.go +++ b/instrumentation/github.com/gorilla/mux/otelmux/test/version.go @@ -8,10 +8,3 @@ func Version() string { return "0.60.0" // This string is updated by the pre_release.sh script during release } - -// SemVersion is the semantic version to be supplied to tracer/meter creation. -// -// Deprecated: Use [Version] instead. -func SemVersion() string { - return Version() -}