Release 0.5.1-beta.1 (#1690)

This commit is contained in:
Robert Pająk 2022-11-30 10:26:11 +01:00 committed by GitHub
parent 1b80bc4564
commit 73ea6721ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 34 additions and 37 deletions

View File

@ -5,9 +5,23 @@ 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.0...HEAD)
## [Unreleased](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/compare/v0.5.1-beta.1...HEAD)
This release is built on top of [OpenTelemetry .NET](https://github.com/open-telemetry/opentelemetry-dotnet):
### Added
### Changed
### Deprecated
### Removed
### Fixed
### Security
## [0.5.1-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v0.5.1-beta.1)
This beta release is built on top of [OpenTelemetry .NET](https://github.com/open-telemetry/opentelemetry-dotnet):
- [Core components](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/VERSIONING.md#core-components):
[`1.4.0-beta.3`](https://github.com/open-telemetry/opentelemetry-dotnet/releases/tag/core-1.4.0-beta.3)
@ -32,10 +46,6 @@ This release is built on top of [OpenTelemetry .NET](https://github.com/open-tel
and instrumentations' options. `ConfigureOptions` changed to `ConfigureTracesOptions`,
`ConfigureMetricsOptions` or `ConfigureLogsOptions`.
### Removed
### Fixed
## [0.5.0](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v0.5.0)
The is the first production-ready (non-beta) release.

View File

@ -197,7 +197,7 @@ function Install-OpenTelemetryCore() {
[string]$InstallDir = "<auto>"
)
$version = "v0.5.0"
$version = "v0.5.1-beta.1"
$installDir = Get-CLIInstallDir-From-InstallDir $InstallDir
$tempDir = Get-Temp-Directory
$dlPath = $null

View File

@ -9,8 +9,8 @@ to .NET applications without having to modify their source code.
⚠️ The following documentation refers to the in-development version
of OpenTelemetry .NET Automatic Instrumentation. Docs for the latest version
([0.5.0](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/latest))
can be found [here](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/blob/v0.5.0/docs/README.md).
([0.5.1-beta.1](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/latest))
can be found [here](https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/blob/v0.5.1-beta.1/docs/README.md).
---
@ -117,7 +117,7 @@ and instrument your .NET application using the provided Shell scripts.
Example usage:
```sh
curl -sSfL https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v0.5.0/otel-dotnet-auto-install.sh -O
curl -sSfL https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v0.5.1-beta.1/otel-dotnet-auto-install.sh -O
sh ./otel-dotnet-auto-install.sh
. $HOME/.otel-dotnet-auto/instrument.sh
OTEL_SERVICE_NAME=myapp OTEL_RESOURCE_ATTRIBUTES=deployment.environment=staging,service.version=1.0.0 dotnet run
@ -131,7 +131,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.0` |
| `VERSION` | Version to download | No | `v0.5.1-beta.1` |
[instrument.sh](../instrument.sh) script
uses environment variables as parameters:
@ -152,7 +152,7 @@ Example usage:
```powershell
# Download and import the module
$module_url = "https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v0.5.0/OpenTelemetry.DotNet.Auto.psm1"
$module_url = "https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-instrumentation/v0.5.1-beta.1/OpenTelemetry.DotNet.Auto.psm1"
$download_path = Join-Path $env:temp "OpenTelemetry.DotNet.Auto.psm1"
Invoke-WebRequest -Uri $module_url -OutFile $download_path
Import-Module $download_path

View File

@ -2,7 +2,7 @@
<package>
<metadata>
<id>OpenTelemetry.AutoInstrumentation</id>
<version>0.5.0</version>
<version>0.5.1-beta.1</version>
<description>OpenTelemetry Auto-Instrumentation</description>
<authors>OpenTelemetry Authors</authors>
<owners>OpenTelemetry Authors</owners>

View File

@ -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.0"
test -z "$VERSION" && VERSION="v0.5.1-beta.1"
RELEASES_URL="https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases"
ARCHIVE="opentelemetry-dotnet-instrumentation-$OS_TYPE.zip"

View File

@ -6,7 +6,7 @@
<OutputPath>..\bin\ProfilerResources\</OutputPath>
<!-- NuGet -->
<Version>0.5.0</Version>
<Version>0.5.1</Version>
<!-- Hide warnings for EOL .NET Core targets (e.g. netcoreapp2.0) -->
<CheckEolTargetFramework>false</CheckEolTargetFramework>

View File

@ -5,7 +5,7 @@ cmake_policy(SET CMP0015 NEW)
# Project definition
# ******************************************************
project("OpenTelemetry.AutoInstrumentation.Native" VERSION 0.5.0)
project("OpenTelemetry.AutoInstrumentation.Native" VERSION 0.5.1)
# ******************************************************
# Environment detection

View File

@ -67,12 +67,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "The OpenTelemetry Authors"
VALUE "FileDescription", "OpenTelemetry CLR Profiler"
VALUE "FileVersion", "0.5.0.0"
VALUE "FileVersion", "0.5.1.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.0"
VALUE "ProductVersion", "0.5.1"
END
END
BLOCK "VarFileInfo"

View File

@ -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.0.0, Culture=neutral, PublicKeyToken=null");
WStr("OpenTelemetry.AutoInstrumentation, Version=0.5.1.0, Culture=neutral, PublicKeyToken=null");
const WSTRING managed_profiler_full_assembly_version_strong_name =
WStr("OpenTelemetry.AutoInstrumentation, Version=0.5.0.0, Culture=neutral, PublicKeyToken=c0db600a13f60b51");
WStr("OpenTelemetry.AutoInstrumentation, Version=0.5.1.0, Culture=neutral, PublicKeyToken=c0db600a13f60b51");
const WSTRING nonwindows_nativemethods_type = WStr("OpenTelemetry.AutoInstrumentation.NativeMethods+NonWindows");

View File

@ -1,3 +1,3 @@
#pragma once
constexpr auto PROFILER_VERSION = "0.5.0";
constexpr auto PROFILER_VERSION = "0.5.1-beta.1";

View File

@ -20,7 +20,7 @@ internal static class Constants
{
public static class Tracer
{
public const string Version = "0.5.0";
public const string Version = "0.5.1-beta.1";
public const string AutoInstrumentationVersionName = "telemetry.auto.version";
}

View File

@ -3,7 +3,7 @@
<Import Project="..\CommonExcludedAssets.props" />
<PropertyGroup>
<Version>0.5.0</Version>
<Version>0.5.1</Version>
</PropertyGroup>
<ItemGroup>

View File

@ -15,7 +15,6 @@
// </copyright>
#if !NETFRAMEWORK
using System.Threading.Tasks;
using FluentAssertions;
using FluentAssertions.Execution;
using IntegrationTests.Helpers;

View File

@ -15,7 +15,6 @@
// </copyright>
#if !NETFRAMEWORK
using System;
using IntegrationTests.Helpers;
using Xunit;

View File

@ -15,7 +15,6 @@
// </copyright>
#if !NETFRAMEWORK
using System.Threading.Tasks;
using IntegrationTests.Helpers;
using Xunit;
using Xunit.Abstractions;

View File

@ -15,7 +15,6 @@
// </copyright>
#if !NETFRAMEWORK
using System.Threading.Tasks;
using IntegrationTests.Helpers;
using Xunit;
using Xunit.Abstractions;

View File

@ -15,7 +15,6 @@
// </copyright>
#if NET6_0_OR_GREATER
using System.Threading.Tasks;
using IntegrationTests.Helpers;
using Xunit;
using Xunit.Abstractions;

View File

@ -15,7 +15,6 @@
// </copyright>
#if NETFRAMEWORK
using IntegrationTests.Helpers;
using Xunit;
using Xunit.Abstractions;
@ -55,5 +54,4 @@ public sealed class IgnoreRunningOnNet481Fact : FactAttribute
}
}
}
#endif

View File

@ -15,8 +15,6 @@
// </copyright>
#if NET6_0_OR_GREATER
using System.Threading.Tasks;
using IntegrationTests.Helpers;
using Xunit;
using Xunit.Abstractions;

View File

@ -16,7 +16,6 @@
// This test won't work outside of windows as it need the server side which is .NET Framework only.
#if NET6_0_OR_GREATER && _WINDOWS
using Xunit.Abstractions;
namespace IntegrationTests;

View File

@ -15,7 +15,6 @@
// </copyright>
#if NET462
using Xunit.Abstractions;
namespace IntegrationTests;

View File

@ -24,6 +24,6 @@ public class ConstantsTests
[Fact]
public void VersionTag()
{
Constants.Tracer.Version.Should().Be(typeof(Constants).Assembly.GetName().Version?.ToString(fieldCount: 3));
Constants.Tracer.Version.Should().Contain(typeof(Constants).Assembly.GetName().Version?.ToString(fieldCount: 3));
}
}

View File

@ -14,7 +14,6 @@
// limitations under the License.
// </copyright>
#if NET6_0_OR_GREATER
using System;
using System.Reflection;
using System.Reflection.Emit;
@ -77,4 +76,3 @@ public class LazyInstrumentationLoaderTests
}
}
}
#endif