From d27b458f162e9f26601a305fc9fb4f48dd50f8f9 Mon Sep 17 00:00:00 2001 From: Aditya98Shukla Date: Tue, 1 Apr 2025 17:52:30 +0530 Subject: [PATCH] Remove SemVersion from instrumentation/github.com/labstack/echo/otelecho (Closes #7038) --- CHANGELOG.md | 1 + .../github.com/labstack/echo/otelecho/version.go | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a55f2bf3285..7b8fe86f7b6 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/labstack/echo/otelecho`, use `Version` function instead. (#7089) diff --git a/instrumentation/github.com/labstack/echo/otelecho/version.go b/instrumentation/github.com/labstack/echo/otelecho/version.go index 5c48329f51c..2781fc50fb6 100644 --- a/instrumentation/github.com/labstack/echo/otelecho/version.go +++ b/instrumentation/github.com/labstack/echo/otelecho/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() -}