From eabb0b1fc2047bd50f4febcf696fc565ea1b1264 Mon Sep 17 00:00:00 2001 From: slins1 <12113984+slins1@users.noreply.github.com> Date: Thu, 27 Mar 2025 21:49:34 -0500 Subject: [PATCH 1/2] Remove SemVersion function from otellambda (#7050)- Full module path: instrumentation/github.com/aws/aws-lambda-go/otellambda --- CHANGELOG.md | 1 + .../github.com/aws/aws-lambda-go/otellambda/version.go | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a55f2bf3285..50fbcdfac2b 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/aws/aws-lambda-go/otellambda`, use `Version` function instead. (#7050) diff --git a/instrumentation/github.com/aws/aws-lambda-go/otellambda/version.go b/instrumentation/github.com/aws/aws-lambda-go/otellambda/version.go index a07e7afe6ad..57066bba95f 100644 --- a/instrumentation/github.com/aws/aws-lambda-go/otellambda/version.go +++ b/instrumentation/github.com/aws/aws-lambda-go/otellambda/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() -} From 8e0d0bc0500c6f4fa069ce2f59476a6bad9b49f3 Mon Sep 17 00:00:00 2001 From: Spencer Linsner <12113984+slins1@users.noreply.github.com> Date: Fri, 28 Mar 2025 19:11:46 -0500 Subject: [PATCH 2/2] Update CHANGELOG.md Co-authored-by: Damien Mathieu <42@dmathieu.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50fbcdfac2b..65a2e28f392 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,7 +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/aws/aws-lambda-go/otellambda`, use `Version` function instead. (#7050) +- The deprecated `SemVersion` function is removed in `go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-lambda-go/otellambda`, use `Version` function instead. (#7058)