From 908504a9aed388843063d972f64c9950e14a26bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kie=C5=82kowicz?= Date: Fri, 3 Feb 2023 11:25:56 +0100 Subject: [PATCH] Release 0.6.0-beta.1 (#2159) --- CHANGELOG.md | 22 +++++++++++++------ OpenTelemetry.DotNet.Auto.psm1 | 2 +- docs/README.md | 6 ++--- .../OpenTelemetry.AutoInstrumentation.nuspec | 2 +- otel-dotnet-auto-install.sh | 2 +- ...elemetry.AutoInstrumentation.Loader.csproj | 2 +- .../CMakeLists.txt | 2 +- .../Resource.rc | 4 ++-- .../netfx_assembly_redirection.h | 2 +- .../otel_profiler_constants.h | 4 ++-- .../version.h | 2 +- .../Constants.cs | 2 +- .../OpenTelemetry.AutoInstrumentation.csproj | 2 +- 13 files changed, 31 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9614e7a3c..01ff0182a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,21 @@ All notable changes to this component are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). This component adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/compare/v0.5.1-beta.3...HEAD) +## [Unreleased](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/compare/v0.6.0-beta.1...HEAD) + +### Added + +### Changed + +### Deprecated + +### Removed + +### Fixed + +### Security + +## [0.6.0-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v0.6.0-beta.1) This beta release is built on top of [OpenTelemetry .NET](https://github.com/open-telemetry/opentelemetry-dotnet): @@ -52,17 +66,11 @@ This beta release is built on top of [OpenTelemetry .NET](https://github.com/ope - Change instrumentation id for ASP.NET Core traces and metrics instrumentation from `AspNet` to `ASPNETCORE`. -### Deprecated - -### Removed - ### Fixed - Fix console error messages `Log: Exception creating FileSink` [#1885](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/issues/1885) -### Security - ## [0.5.1-beta.3](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v0.5.1-beta.3) This beta release is built on top of [OpenTelemetry .NET](https://github.com/open-telemetry/opentelemetry-dotnet): diff --git a/OpenTelemetry.DotNet.Auto.psm1 b/OpenTelemetry.DotNet.Auto.psm1 index 8743b26cf..dec6dcb9e 100644 --- a/OpenTelemetry.DotNet.Auto.psm1 +++ b/OpenTelemetry.DotNet.Auto.psm1 @@ -213,7 +213,7 @@ function Install-OpenTelemetryCore() { [string]$LocalPath ) - $version = "v0.5.1-beta.3" + $version = "v0.6.0-beta.1" $installDir = Get-CLIInstallDir-From-InstallDir $InstallDir $archivePath = $null $deleteArchive = $true diff --git a/docs/README.md b/docs/README.md index d800ce5b5..6697f136a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -138,7 +138,7 @@ Example usage: ```sh # Download the bash script -curl -sSfL https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v0.5.1-beta.3/otel-dotnet-auto-install.sh -O +curl -sSfL https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v0.6.0-beta.1/otel-dotnet-auto-install.sh -O # Install core files sh ./otel-dotnet-auto-install.sh @@ -158,7 +158,7 @@ uses environment variables as parameters: | `OTEL_DOTNET_AUTO_HOME` | Location where binaries are to be installed | No | `$HOME/.otel-dotnet-auto` | | `OS_TYPE` | Possible values: `linux-glibc`, `linux-musl`, `macos`, `windows` | No | *Calculated* | | `TMPDIR` | Temporary directory used when downloading the files | No | `$(mktemp -d)` | -| `VERSION` | Version to download | No | `v0.5.1-beta.3` | +| `VERSION` | Version to download | No | `v0.6.0-beta.1` | [instrument.sh](../instrument.sh) script uses environment variables as parameters: @@ -179,7 +179,7 @@ Example usage (run as administrator): ```powershell # Download the module -$module_url = "https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v0.5.1-beta.3/OpenTelemetry.DotNet.Auto.psm1" +$module_url = "https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v0.6.0-beta.1/OpenTelemetry.DotNet.Auto.psm1" $download_path = Join-Path $env:temp "OpenTelemetry.DotNet.Auto.psm1" Invoke-WebRequest -Uri $module_url -OutFile $download_path diff --git a/nuget/OpenTelemetry.AutoInstrumentation.nuspec b/nuget/OpenTelemetry.AutoInstrumentation.nuspec index 239aa2998..ed36d6a36 100644 --- a/nuget/OpenTelemetry.AutoInstrumentation.nuspec +++ b/nuget/OpenTelemetry.AutoInstrumentation.nuspec @@ -2,7 +2,7 @@ OpenTelemetry.AutoInstrumentation - 0.5.1-beta.3 + 0.6.0-beta.1 OpenTelemetry Auto-Instrumentation OpenTelemetry Authors OpenTelemetry Authors diff --git a/otel-dotnet-auto-install.sh b/otel-dotnet-auto-install.sh index 1c5530949..81f856f0b 100755 --- a/otel-dotnet-auto-install.sh +++ b/otel-dotnet-auto-install.sh @@ -31,7 +31,7 @@ esac test -z "$OTEL_DOTNET_AUTO_HOME" && OTEL_DOTNET_AUTO_HOME="$HOME/.otel-dotnet-auto" test -z "$TMPDIR" && TMPDIR="$(mktemp -d)" -test -z "$VERSION" && VERSION="v0.5.1-beta.3" +test -z "$VERSION" && VERSION="v0.6.0-beta.1" RELEASES_URL="https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases" ARCHIVE="opentelemetry-dotnet-instrumentation-$OS_TYPE.zip" diff --git a/src/OpenTelemetry.AutoInstrumentation.Loader/OpenTelemetry.AutoInstrumentation.Loader.csproj b/src/OpenTelemetry.AutoInstrumentation.Loader/OpenTelemetry.AutoInstrumentation.Loader.csproj index dc1e4f061..cbe5725dc 100644 --- a/src/OpenTelemetry.AutoInstrumentation.Loader/OpenTelemetry.AutoInstrumentation.Loader.csproj +++ b/src/OpenTelemetry.AutoInstrumentation.Loader/OpenTelemetry.AutoInstrumentation.Loader.csproj @@ -6,7 +6,7 @@ ..\bin\ProfilerResources\ - 0.5.1 + 0.6.0 false diff --git a/src/OpenTelemetry.AutoInstrumentation.Native/CMakeLists.txt b/src/OpenTelemetry.AutoInstrumentation.Native/CMakeLists.txt index 0f6b6ed51..abe88a364 100644 --- a/src/OpenTelemetry.AutoInstrumentation.Native/CMakeLists.txt +++ b/src/OpenTelemetry.AutoInstrumentation.Native/CMakeLists.txt @@ -5,7 +5,7 @@ cmake_policy(SET CMP0015 NEW) # Project definition # ****************************************************** -project("OpenTelemetry.AutoInstrumentation.Native" VERSION 0.5.1) +project("OpenTelemetry.AutoInstrumentation.Native" VERSION 0.6.0) # ****************************************************** # Environment detection diff --git a/src/OpenTelemetry.AutoInstrumentation.Native/Resource.rc b/src/OpenTelemetry.AutoInstrumentation.Native/Resource.rc index 68dca209e..bb4fbd29c 100644 --- a/src/OpenTelemetry.AutoInstrumentation.Native/Resource.rc +++ b/src/OpenTelemetry.AutoInstrumentation.Native/Resource.rc @@ -67,12 +67,12 @@ BEGIN BEGIN VALUE "CompanyName", "The OpenTelemetry Authors" VALUE "FileDescription", "OpenTelemetry CLR Profiler" - VALUE "FileVersion", "0.5.1.0" + VALUE "FileVersion", "0.6.0.0" VALUE "InternalName", "OpenTelemetry.AutoInstrumentation.Native.DLL" VALUE "LegalCopyright", "Copyright 2021 The OpenTelemetry Authors" VALUE "OriginalFilename", "OpenTelemetry.AutoInstrumentation.Native.DLL" VALUE "ProductName", "OpenTelemetry .NET AutoInstrumentation" - VALUE "ProductVersion", "0.5.1" + VALUE "ProductVersion", "0.6.0" END END BLOCK "VarFileInfo" diff --git a/src/OpenTelemetry.AutoInstrumentation.Native/netfx_assembly_redirection.h b/src/OpenTelemetry.AutoInstrumentation.Native/netfx_assembly_redirection.h index 9746fef34..be68d3f68 100644 --- a/src/OpenTelemetry.AutoInstrumentation.Native/netfx_assembly_redirection.h +++ b/src/OpenTelemetry.AutoInstrumentation.Native/netfx_assembly_redirection.h @@ -27,7 +27,7 @@ void CorProfiler::InitNetFxAssemblyRedirectsMap() { L"OpenTelemetry", {1, 0, 0, 0} }, { L"OpenTelemetry.Api", {1, 0, 0, 0} }, { L"OpenTelemetry.Api.ProviderBuilderExtensions", {1, 0, 0, 0} }, - { L"OpenTelemetry.AutoInstrumentation", {0, 5, 1, 0} }, + { L"OpenTelemetry.AutoInstrumentation", {0, 6, 0, 0} }, { L"OpenTelemetry.Exporter.Console", {1, 0, 0, 0} }, { L"OpenTelemetry.Exporter.OpenTelemetryProtocol", {1, 0, 0, 0} }, { L"OpenTelemetry.Exporter.Prometheus.HttpListener", {1, 0, 0, 0} }, diff --git a/src/OpenTelemetry.AutoInstrumentation.Native/otel_profiler_constants.h b/src/OpenTelemetry.AutoInstrumentation.Native/otel_profiler_constants.h index f1e5bc6e2..4aacd6e10 100644 --- a/src/OpenTelemetry.AutoInstrumentation.Native/otel_profiler_constants.h +++ b/src/OpenTelemetry.AutoInstrumentation.Native/otel_profiler_constants.h @@ -64,10 +64,10 @@ const WSTRING opentelemetry_autoinstrumentation_loader_assemblyName = WStr("Open const WSTRING managed_profiler_name = WStr("OpenTelemetry.AutoInstrumentation"); const WSTRING managed_profiler_full_assembly_version = - WStr("OpenTelemetry.AutoInstrumentation, Version=0.5.1.0, Culture=neutral, PublicKeyToken=null"); + WStr("OpenTelemetry.AutoInstrumentation, Version=0.6.0.0, Culture=neutral, PublicKeyToken=null"); const WSTRING managed_profiler_full_assembly_version_strong_name = - WStr("OpenTelemetry.AutoInstrumentation, Version=0.5.1.0, Culture=neutral, PublicKeyToken=c0db600a13f60b51"); + WStr("OpenTelemetry.AutoInstrumentation, Version=0.6.0.0, Culture=neutral, PublicKeyToken=c0db600a13f60b51"); const WSTRING nonwindows_nativemethods_type = WStr("OpenTelemetry.AutoInstrumentation.NativeMethods+NonWindows"); diff --git a/src/OpenTelemetry.AutoInstrumentation.Native/version.h b/src/OpenTelemetry.AutoInstrumentation.Native/version.h index b10511bc0..1a390b5db 100644 --- a/src/OpenTelemetry.AutoInstrumentation.Native/version.h +++ b/src/OpenTelemetry.AutoInstrumentation.Native/version.h @@ -1,3 +1,3 @@ #pragma once -constexpr auto PROFILER_VERSION = "0.5.1-beta.3"; +constexpr auto PROFILER_VERSION = "0.6.0-beta.1"; diff --git a/src/OpenTelemetry.AutoInstrumentation/Constants.cs b/src/OpenTelemetry.AutoInstrumentation/Constants.cs index b979961a4..f200e3209 100644 --- a/src/OpenTelemetry.AutoInstrumentation/Constants.cs +++ b/src/OpenTelemetry.AutoInstrumentation/Constants.cs @@ -20,7 +20,7 @@ internal static class Constants { public static class Tracer { - public const string Version = "0.5.1-beta.3"; + public const string Version = "0.6.0-beta.1"; public const string AutoInstrumentationVersionName = "telemetry.auto.version"; } diff --git a/src/OpenTelemetry.AutoInstrumentation/OpenTelemetry.AutoInstrumentation.csproj b/src/OpenTelemetry.AutoInstrumentation/OpenTelemetry.AutoInstrumentation.csproj index ffd79ebba..fffaf69ca 100644 --- a/src/OpenTelemetry.AutoInstrumentation/OpenTelemetry.AutoInstrumentation.csproj +++ b/src/OpenTelemetry.AutoInstrumentation/OpenTelemetry.AutoInstrumentation.csproj @@ -3,7 +3,7 @@ - 0.5.1 + 0.6.0