Skip to content

Commit 0a5659d

Browse files
authored
Merge pull request #999 from aws-powertools/chore/sdk4-upgrade
chore: update AWS SDK dependencies
2 parents 26a3084 + 6a4f728 commit 0a5659d

File tree

38 files changed

+93
-119
lines changed

38 files changed

+93
-119
lines changed

examples/Idempotency/src/HelloWorld/HelloWorld.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
3+
<TargetFramework>net8.0</TargetFramework>
44
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
55
<Nullable>enable</Nullable>
66
</PropertyGroup>

examples/Idempotency/test/HelloWorld.Test/HelloWorld.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
3+
<TargetFramework>net8.0</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
66
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.0" />

examples/Kafka/Avro/src/Avro.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@
1919
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.0"/>
2020
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.4"/>
2121
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="2.0.0" />
22-
</ItemGroup>
23-
<ItemGroup>
24-
<ProjectReference Include="..\..\..\..\libraries\src\AWS.Lambda.Powertools.Kafka.Avro\AWS.Lambda.Powertools.Kafka.Avro.csproj" />
22+
<PackageReference Include="AWS.Lambda.Powertools.Kafka.Avro" Version="1.0.2" />
2523
</ItemGroup>
2624
<Target Name="GenerateAvroClasses" BeforeTargets="CoreCompile">
2725
<Exec Command="avrogen -s $(ProjectDir)CustomerProfile.avsc $(ProjectDir)Generated"/>

examples/Kafka/Json/src/Json.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.0"/>
1717
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.4"/>
1818
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="2.0.0" />
19-
</ItemGroup>
20-
<ItemGroup>
21-
<ProjectReference Include="..\..\..\..\libraries\src\AWS.Lambda.Powertools.Kafka.Json\AWS.Lambda.Powertools.Kafka.Json.csproj" />
19+
<PackageReference Include="AWS.Lambda.Powertools.Kafka.Json" Version="1.0.2" />
2220
</ItemGroup>
2321
<ItemGroup>
2422
<None Remove="kafka-json-event.json" />

examples/Kafka/JsonClassLibrary/src/ProtoBufClassLibrary.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@
1414
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.0"/>
1515
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.4"/>
1616
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="2.0.0" />
17+
<PackageReference Include="AWS.Lambda.Powertools.Kafka.Protobuf" Version="1.0.2" />
1718
<PackageReference Include="Grpc.Tools" Version="2.72.0">
1819
<PrivateAssets>all</PrivateAssets>
1920
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2021
</PackageReference>
2122
</ItemGroup>
22-
<ItemGroup>
23-
<ProjectReference Include="..\..\..\..\libraries\src\AWS.Lambda.Powertools.Kafka.Protobuf\AWS.Lambda.Powertools.Kafka.Protobuf.csproj" />
24-
</ItemGroup>
2523
<ItemGroup>
2624
<Content Update="kafka-protobuf-event.json">
2725
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

examples/Kafka/Protobuf/src/Protobuf.csproj

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.0" />
1717
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.4" />
1818
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="2.0.0" />
19+
<PackageReference Include="AWS.Lambda.Powertools.Kafka.Protobuf" Version="1.0.2" />
1920
<PackageReference Include="Grpc.Tools" Version="2.72.0">
2021
<PrivateAssets>all</PrivateAssets>
2122
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
@@ -38,7 +39,4 @@
3839
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
3940
</Protobuf>
4041
</ItemGroup>
41-
<ItemGroup>
42-
<ProjectReference Include="..\..\..\..\libraries\src\AWS.Lambda.Powertools.Kafka.Protobuf\AWS.Lambda.Powertools.Kafka.Protobuf.csproj" />
43-
</ItemGroup>
4442
</Project>

examples/Logging/src/HelloWorld/HelloWorld.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
3+
<TargetFramework>net8.0</TargetFramework>
44
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
55
<Nullable>enable</Nullable>
66
</PropertyGroup>

examples/Logging/test/HelloWorld.Test/HelloWorld.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
3+
<TargetFramework>net8.0</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
66
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.0" />

examples/Metrics/src/HelloWorld/HelloWorld.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
3+
<TargetFramework>net8.0</TargetFramework>
44
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
55
<Nullable>enable</Nullable>
66
</PropertyGroup>

examples/Metrics/test/HelloWorld.Test/HelloWorld.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
3+
<TargetFramework>net8.0</TargetFramework>
44
</PropertyGroup>
55
<ItemGroup>
66
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.0" />

0 commit comments

Comments
 (0)