Skip to content

Commit eb3cfc1

Browse files
authored
Merge pull request #561 from amirkaws/update-nuget-versions
chore: Update NuGet packages to the latest
2 parents 51efd60 + 12be37a commit eb3cfc1

File tree

6 files changed

+56
-57
lines changed

6 files changed

+56
-57
lines changed

libraries/src/AWS.Lambda.Powertools.Idempotency/AWS.Lambda.Powertools.Idempotency.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<!-- Package versions are Centrally managed in Directory.Packages.props file -->
1414
<!-- More info https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management -->
1515
<PackageReference Include="Amazon.Lambda.Core" />
16-
<PackageReference Include="AWSSDK.DynamoDBv2"/>
17-
<PackageReference Include="JmesPath.Net"/>
16+
<PackageReference Include="AWSSDK.DynamoDBv2" />
17+
<PackageReference Include="JmesPath.Net" />
1818
<ProjectReference Include="..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" PrivateAssets="all" />
1919
</ItemGroup>
2020

libraries/src/AWS.Lambda.Powertools.Tracing/AWS.Lambda.Powertools.Tracing.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<ItemGroup>
1212
<!-- Package versions are Centrally managed in Directory.Packages.props file -->
1313
<!-- More info https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management -->
14-
<PackageReference Include="AWSSDK.XRay"/>
15-
<PackageReference Include="AWSXRayRecorder.Core"/>
14+
<PackageReference Include="AWSSDK.XRay" />
15+
<PackageReference Include="AWSXRayRecorder.Core" />
1616
<PackageReference Include="AWSXRayRecorder.Handlers.AwsSdk" />
1717
<ProjectReference Include="..\AWS.Lambda.Powertools.Common\AWS.Lambda.Powertools.Common.csproj" PrivateAssets="All" />
1818
</ItemGroup>

libraries/src/Directory.Packages.props

+13-13
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@
55
<ItemGroup>
66
<!-- Do not update AspectInjector from 2.8.1 until this issue is fixed https://github.com/pamidur/aspect-injector/issues/220-->
77
<PackageVersion Include="AspectInjector" Version="2.8.1" />
8-
<PackageVersion Include="Amazon.Lambda.Core" Version="2.1.0" />
9-
<PackageVersion Include="AWSSDK.AppConfig" Version="3.7.300.53" />
10-
<PackageVersion Include="AWSSDK.AppConfigData" Version="3.7.301.14" />
11-
<PackageVersion Include="AWSSDK.DynamoDBv2" Version="3.7.201.8" />
8+
<PackageVersion Include="Amazon.Lambda.Core" Version="2.2.0" />
9+
<PackageVersion Include="AWSSDK.AppConfig" Version="3.7.301" />
10+
<PackageVersion Include="AWSSDK.AppConfigData" Version="3.7.301.15" />
11+
<PackageVersion Include="AWSSDK.DynamoDBv2" Version="3.7.301.18" />
1212
<PackageVersion Include="AWSXRayRecorder.Handlers.AwsSdk" Version="2.12.0" />
13-
<PackageVersion Include="JmesPath.Net" Version="1.0.308" />
14-
<PackageVersion Include="Microsoft.Extensions.Logging" Version="7.0.0" />
15-
<PackageVersion Include="AWSSDK.SecretsManager" Version="3.7.201.22" />
16-
<PackageVersion Include="AWSSDK.SimpleSystemsManagement" Version="3.7.200.37" />
17-
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
18-
<PackageVersion Include="AWSSDK.XRay" Version="3.7.200.37" />
13+
<PackageVersion Include="JmesPath.Net" Version="1.0.330" />
14+
<PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.0" />
15+
<PackageVersion Include="AWSSDK.SecretsManager" Version="3.7.302.29" />
16+
<PackageVersion Include="AWSSDK.SimpleSystemsManagement" Version="3.7.303.2" />
17+
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
18+
<PackageVersion Include="AWSSDK.XRay" Version="3.7.300.54" />
1919
<PackageVersion Include="AWSXRayRecorder.Core" Version="2.14.0" />
20-
<PackageVersion Include="Amazon.Lambda.DynamoDBEvents" Version="2.2.0" />
21-
<PackageVersion Include="Amazon.Lambda.KinesisEvents" Version="2.1.0" />
22-
<PackageVersion Include="Amazon.Lambda.SQSEvents" Version="2.1.0" />
20+
<PackageVersion Include="Amazon.Lambda.DynamoDBEvents" Version="3.1.0" />
21+
<PackageVersion Include="Amazon.Lambda.KinesisEvents" Version="2.2.0" />
22+
<PackageVersion Include="Amazon.Lambda.SQSEvents" Version="2.2.0" />
2323
</ItemGroup>
2424
</Project>

libraries/tests/AWS.Lambda.Powertools.BatchProcessing.Tests/Helpers/Helpers.cs

+25-26
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
using System.IO;
1818
using System.Linq;
1919
using System.Text;
20-
using Amazon.DynamoDBv2.Model;
2120
using Amazon.Lambda.DynamoDBEvents;
2221
using Amazon.Lambda.KinesisEvents;
2322
using Amazon.Lambda.SQSEvents;
@@ -101,79 +100,79 @@ internal static class Helpers
101100
new DynamoDBEvent.DynamodbStreamRecord
102101
{
103102
EventID = "1",
104-
Dynamodb = new StreamRecord
103+
Dynamodb = new DynamoDBEvent.StreamRecord
105104
{
106-
Keys = new Dictionary<string, AttributeValue>
105+
Keys = new Dictionary<string, DynamoDBEvent.AttributeValue>
107106
{
108-
{ "Id", new AttributeValue { N = "1" } }
107+
{ "Id", new DynamoDBEvent.AttributeValue { N = "1" } }
109108
},
110-
NewImage = new Dictionary<string, AttributeValue>
109+
NewImage = new Dictionary<string, DynamoDBEvent.AttributeValue>
111110
{
112-
{ "Product", new AttributeValue { S = "{\"Id\":1,\"Name\":\"product-name\",\"Price\":14}" } }
111+
{ "Product", new DynamoDBEvent.AttributeValue { S = "{\"Id\":1,\"Name\":\"product-name\",\"Price\":14}" } }
113112
},
114113
SequenceNumber = "1"
115114
}
116115
},
117116
new DynamoDBEvent.DynamodbStreamRecord
118117
{
119118
EventID = "1",
120-
Dynamodb = new StreamRecord
119+
Dynamodb = new DynamoDBEvent.StreamRecord
121120
{
122-
Keys = new Dictionary<string, AttributeValue>
121+
Keys = new Dictionary<string, DynamoDBEvent.AttributeValue>
123122
{
124-
{ "Id", new AttributeValue { N = "2" } }
123+
{ "Id", new DynamoDBEvent.AttributeValue { N = "2" } }
125124
},
126-
NewImage = new Dictionary<string, AttributeValue>
125+
NewImage = new Dictionary<string, DynamoDBEvent.AttributeValue>
127126
{
128-
{ "Product", new AttributeValue { S = "failure" } }
127+
{ "Product", new DynamoDBEvent.AttributeValue { S = "failure" } }
129128
},
130129
SequenceNumber = "2"
131130
}
132131
},
133132
new DynamoDBEvent.DynamodbStreamRecord
134133
{
135134
EventID = "1",
136-
Dynamodb = new StreamRecord
135+
Dynamodb = new DynamoDBEvent.StreamRecord
137136
{
138-
Keys = new Dictionary<string, AttributeValue>
137+
Keys = new Dictionary<string, DynamoDBEvent.AttributeValue>
139138
{
140-
{ "Id", new AttributeValue { N = "3" } }
139+
{ "Id", new DynamoDBEvent.AttributeValue { N = "3" } }
141140
},
142-
NewImage = new Dictionary<string, AttributeValue>
141+
NewImage = new Dictionary<string, DynamoDBEvent.AttributeValue>
143142
{
144-
{ "Product", new AttributeValue { S = "{\"Id\":3,\"Name\":\"product-name\",\"Price\":14}" } }
143+
{ "Product", new DynamoDBEvent.AttributeValue { S = "{\"Id\":3,\"Name\":\"product-name\",\"Price\":14}" } }
145144
},
146145
SequenceNumber = "3"
147146
}
148147
},
149148
new DynamoDBEvent.DynamodbStreamRecord
150149
{
151150
EventID = "1",
152-
Dynamodb = new StreamRecord
151+
Dynamodb = new DynamoDBEvent.StreamRecord
153152
{
154-
Keys = new Dictionary<string, AttributeValue>
153+
Keys = new Dictionary<string, DynamoDBEvent.AttributeValue>
155154
{
156-
{ "Id", new AttributeValue { N = "4" } }
155+
{ "Id", new DynamoDBEvent.AttributeValue { N = "4" } }
157156
},
158-
NewImage = new Dictionary<string, AttributeValue>
157+
NewImage = new Dictionary<string, DynamoDBEvent.AttributeValue>
159158
{
160-
{ "Product", new AttributeValue { S = "{\"Id\":4,\"Name\":\"product-name\",\"Price\":14}" } }
159+
{ "Product", new DynamoDBEvent.AttributeValue { S = "{\"Id\":4,\"Name\":\"product-name\",\"Price\":14}" } }
161160
},
162161
SequenceNumber = "4"
163162
}
164163
},
165164
new DynamoDBEvent.DynamodbStreamRecord
166165
{
167166
EventID = "1",
168-
Dynamodb = new StreamRecord
167+
Dynamodb = new DynamoDBEvent.StreamRecord
169168
{
170-
Keys = new Dictionary<string, AttributeValue>
169+
Keys = new Dictionary<string, DynamoDBEvent.AttributeValue>
171170
{
172-
{ "Id", new AttributeValue { N = "5" } }
171+
{ "Id", new DynamoDBEvent.AttributeValue { N = "5" } }
173172
},
174-
NewImage = new Dictionary<string, AttributeValue>
173+
NewImage = new Dictionary<string, DynamoDBEvent.AttributeValue>
175174
{
176-
{ "Product", new AttributeValue { S = "{\"Id\":5,\"Name\":\"product-name\",\"Price\":14}" } }
175+
{ "Product", new DynamoDBEvent.AttributeValue { S = "{\"Id\":5,\"Name\":\"product-name\",\"Price\":14}" } }
177176
},
178177
SequenceNumber = "5"
179178
}

libraries/tests/AWS.Lambda.Powertools.Logging.Tests/AWS.Lambda.Powertools.Logging.Tests.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
<PackageReference Include="Amazon.Lambda.APIGatewayEvents" />
1414
<PackageReference Include="Amazon.Lambda.Core" />
1515
<PackageReference Include="Amazon.Lambda.TestUtilities" />
16-
<PackageReference Include="coverlet.collector" >
16+
<PackageReference Include="coverlet.collector">
1717
<PrivateAssets>all</PrivateAssets>
1818
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1919
</PackageReference>
2020
<PackageReference Include="Microsoft.NET.Test.Sdk" />
2121
<PackageReference Include="NSubstitute" />
2222
<PackageReference Include="xunit" />
23-
<PackageReference Include="xunit.runner.visualstudio" >
23+
<PackageReference Include="xunit.runner.visualstudio">
2424
<PrivateAssets>all</PrivateAssets>
2525
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2626
</PackageReference>

libraries/tests/Directory.Packages.props

+12-12
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
44
</PropertyGroup>
55
<ItemGroup>
6-
<PackageVersion Include="coverlet.collector" Version="6.0.0" />
7-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
6+
<PackageVersion Include="coverlet.collector" Version="6.0.1" />
7+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
88
<PackageVersion Include="NSubstitute" Version="5.1.0" />
9-
<PackageVersion Include="xunit" Version="2.5.0" />
10-
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.0" />
11-
<PackageVersion Include="Testcontainers" Version="3.5.0" />
9+
<PackageVersion Include="xunit" Version="2.7.0" />
10+
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.7" />
11+
<PackageVersion Include="Testcontainers" Version="3.7.0" />
1212
<PackageVersion Include="Amazon.Lambda.TestUtilities" Version="2.0.0" />
13-
<PackageVersion Include="Amazon.Lambda.Core" Version="2.1.0" />
14-
<PackageVersion Include="Amazon.Lambda.APIGatewayEvents" Version="2.6.0" />
13+
<PackageVersion Include="Amazon.Lambda.Core" Version="2.2.0" />
14+
<PackageVersion Include="Amazon.Lambda.APIGatewayEvents" Version="2.7.0" />
1515
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
16-
<PackageVersion Include="Amazon.Lambda.ApplicationLoadBalancerEvents" Version="2.1.0" />
17-
<PackageVersion Include="Amazon.Lambda.DynamoDBEvents" Version="2.2.0" />
18-
<PackageVersion Include="Amazon.Lambda.KinesisEvents" Version="2.1.0" />
19-
<PackageVersion Include="Amazon.Lambda.SQSEvents" Version="2.1.0" />
20-
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
16+
<PackageVersion Include="Amazon.Lambda.ApplicationLoadBalancerEvents" Version="2.2.0" />
17+
<PackageVersion Include="Amazon.Lambda.DynamoDBEvents" Version="3.1.0" />
18+
<PackageVersion Include="Amazon.Lambda.KinesisEvents" Version="2.2.0" />
19+
<PackageVersion Include="Amazon.Lambda.SQSEvents" Version="2.2.0" />
20+
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
2121
</ItemGroup>
2222
</Project>

0 commit comments

Comments
 (0)