Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .autover/changes/f6aa1ac3-20e2-40f5-b214-288e18db8358.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"Projects": [
{
"Name": "Amazon.Extensions.Configuration.SystemsManager",
"Type": "Major",
"ChangelogMessages": [
"Update AWS SDK to Preview 11",
"Remove support for .NET 6",
"Remove support for netcoreapp3.1"
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<!-- Included netstandard2.0 support for a .NET Framework use-case, see: https://github.com/aws/aws-dotnet-extensions-configuration/pull/150 -->
<TargetFrameworks>netstandard2.0;netcoreapp3.1;net6.0;net8.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<AssemblyName>Amazon.Extensions.Configuration.SystemsManager</AssemblyName>
<RootNamespace>Amazon.Extensions.Configuration.SystemsManager</RootNamespace>
<OutputType>Library</OutputType>
Expand Down Expand Up @@ -44,9 +44,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AWSSDK.AppConfigData" Version="4.0.0-preview.8" />
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="4.0.0-preview.8" />
<PackageReference Include="AWSSDK.SimpleSystemsManagement" Version="4.0.0-preview.8" />
<PackageReference Include="AWSSDK.AppConfigData" Version="4.0.0-preview.11" />
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="4.0.0-preview.11" />
<PackageReference Include="AWSSDK.SimpleSystemsManagement" Version="4.0.0-preview.11" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.0.*" />
<PackageReference Include="System.Text.Json" Condition=" '$(TargetFramework)' == 'netstandard2.0' " Version="8.0.5" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public virtual string GetKey(Parameter parameter, string path)
var name = parameter.Name.StartsWith(path, StringComparison.OrdinalIgnoreCase)
? parameter.Name.Substring(path.Length)
: parameter.Name;
#if NETCOREAPP3_1_OR_GREATER
#if NET8_0_OR_GREATER
return name.TrimStart('/').Replace("/", KeyDelimiter, StringComparison.InvariantCulture);
#else
return name.TrimStart('/').Replace("/", KeyDelimiter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static void ServiceClientBeforeRequestEvent(object sender, RequestEventAr
if (e is WebServiceRequestEventArgs args)
{
if (args.Headers.ContainsKey(UserAgentHeader) &&
#if NETCOREAPP3_1_OR_GREATER
#if NET8_0_OR_GREATER
Copy link
Contributor Author

@GarrettBeatty GarrettBeatty Apr 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!args.Headers[UserAgentHeader].Contains(UserAgentSuffix, System.StringComparison.InvariantCulture)
#else
!args.Headers[UserAgentHeader].Contains(UserAgentSuffix)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AWSSDK.AppConfig" Version="4.0.0-preview.8" />
<PackageReference Include="AWSSDK.AppConfig" Version="4.0.0-preview.11" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="AWSSDK.SecurityToken" Version="4.0.0-preview.8" />
<PackageReference Include="AWSSDK.SecurityToken" Version="4.0.0-preview.11" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.Text.Json;
using System.Threading.Tasks;

using Amazon;
using Amazon.AppConfig;
using Amazon.AppConfig.Model;
using Amazon.Extensions.NETCore.Setup;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down