Skip to content

Commit 80ad5c6

Browse files
Merge branch 'dev'
2 parents f53b53d + c223f94 commit 80ad5c6

File tree

16 files changed

+54
-46
lines changed

16 files changed

+54
-46
lines changed

.github/workflows/change-file-in-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- name: Get List of Changed Files
1818
id: changed-files
19-
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c #v45
19+
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 #v45
2020

2121
- name: Check for Change File(s) in .autover/changes/
2222
run: |

.github/workflows/create-release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
token: ${{ env.AWS_SECRET_TOKEN }}
4545
# Install .NET8 which is needed for AutoVer
4646
- name: Setup .NET 8.0
47-
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
47+
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d #v5.0.0
4848
with:
4949
dotnet-version: 8.0.x
5050
# Install AutoVer to automate versioning and changelog creation

.github/workflows/doc-site.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Checkout
2929
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pinning V4 #v4.2.2
3030
- name: Dotnet Setup
31-
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # pinning V4 #v4.3.1
31+
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # pinning V4 #v5.0.0
3232
with:
3333
dotnet-version: 8.x
3434

@@ -38,7 +38,7 @@ jobs:
3838
- name: Setup Pages
3939
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # pinning V5 #v5.0.0
4040
- name: Upload artifact
41-
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # pinning V3 #v3.0.1
41+
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # pinning V3 #v4.0.0
4242
with:
4343
# Upload entire repository
4444
path: "docs/_site"

.github/workflows/issue-regression-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- name: Fetch template body
1313
id: check_regression
14-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v7.0.1
14+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd #v8.0.0
1515
env:
1616
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1717
TEMPLATE_BODY: ${{ github.event.issue.body }}

.github/workflows/semgrep-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
p/owasp-top-ten
3636
3737
- name: Upload SARIF file for GitHub Advanced Security Dashboard
38-
uses: github/codeql-action/upload-sarif@181d5eefc20863364f96762470ba6f862bdef56b #v3.29.2
38+
uses: github/codeql-action/upload-sarif@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 #v3.30.5
3939
with:
4040
sarif_file: semgrep.sarif
4141
if: always()

.github/workflows/sync-main-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
token: ${{ env.AWS_SECRET_TOKEN }}
4848
# Install .NET8 which is needed for AutoVer
4949
- name: Setup .NET 8.0
50-
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
50+
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d #v5.0.0
5151
with:
5252
dotnet-version: 8.0.x
5353
# Install AutoVer which is needed to retrieve information about the current release.
@@ -113,7 +113,7 @@ jobs:
113113
fetch-depth: 0
114114
# Install .NET8 which is needed for AutoVer
115115
- name: Setup .NET 8.0
116-
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 #v4.3.1
116+
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d #v5.0.0
117117
with:
118118
dotnet-version: 8.0.x
119119
# Install AutoVer which is needed to retrieve information about the current release.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## Release 2025-11-17
2+
3+
### AWS.Messaging.Lambda (1.0.2)
4+
* Update AWS SDK Dependencies
5+
### AWS.Messaging (1.0.2)
6+
* Update AWS SDK Dependencies
7+
18
## Release 2025-07-29
29

310
### AWS.Messaging.Telemetry.OpenTelemetry (1.0.0)

src/AWS.Messaging.Lambda/AWS.Messaging.Lambda.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<WarningsAsErrors>CA1727</WarningsAsErrors>
1717
<SignAssembly>true</SignAssembly>
1818
<AssemblyOriginatorKeyFile>..\..\public.snk</AssemblyOriginatorKeyFile>
19-
<Version>1.0.1</Version>
19+
<Version>1.0.2</Version>
2020
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2121
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2222
<IncludeSymbols>true</IncludeSymbols>
@@ -25,7 +25,7 @@
2525
</PropertyGroup>
2626

2727
<ItemGroup>
28-
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.1" />
28+
<PackageReference Include="Amazon.Lambda.Core" Version="2.8.0" />
2929
<PackageReference Include="Amazon.Lambda.SQSEvents" Version="2.2.0" />
3030
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
3131
</ItemGroup>

src/AWS.Messaging/AWS.Messaging.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<NoWarn>CS1591</NoWarn>
1919
<SignAssembly>true</SignAssembly>
2020
<AssemblyOriginatorKeyFile>..\..\public.snk</AssemblyOriginatorKeyFile>
21-
<Version>1.0.1</Version>
21+
<Version>1.0.2</Version>
2222
<PublishRepositoryUrl>true</PublishRepositoryUrl>
2323
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2424
<IncludeSymbols>true</IncludeSymbols>
@@ -27,10 +27,10 @@
2727
</PropertyGroup>
2828

2929
<ItemGroup>
30-
<PackageReference Include="AWSSDK.EventBridge" Version="4.0.0" />
31-
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="4.0.0" />
32-
<PackageReference Include="AWSSDK.SimpleNotificationService" Version="4.0.0" />
33-
<PackageReference Include="AWSSDK.SQS" Version="4.0.0" />
30+
<PackageReference Include="AWSSDK.EventBridge" Version="4.0.5.4" />
31+
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="4.0.3.11" />
32+
<PackageReference Include="AWSSDK.SimpleNotificationService" Version="4.0.2.4" />
33+
<PackageReference Include="AWSSDK.SQS" Version="4.0.2.2" />
3434
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.*" />
3535
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.*" />
3636
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.*" />

src/AWS.Messaging/Configuration/AWSClientProvider.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ namespace AWS.Messaging.Configuration;
1111
/// </summary>
1212
internal class AWSClientProvider : IAWSClientProvider
1313
{
14-
private const string _userAgentHeader = "User-Agent";
1514
private static readonly string _userAgentString = $"lib/aws-dotnet-messaging#{TelemetryKeys.AWSMessagingAssemblyVersion}";
1615

1716
private readonly IServiceProvider _serviceProvider;
@@ -37,9 +36,10 @@ public T GetServiceClient<T>() where T : IAmazonService
3736

3837
internal static void AWSServiceClient_BeforeServiceRequest(object sender, RequestEventArgs e)
3938
{
40-
if (e is not WebServiceRequestEventArgs args || !args.Headers.TryGetValue(_userAgentHeader, out var value) || value.Contains(_userAgentString))
41-
return;
42-
43-
args.Headers[_userAgentHeader] = value + " " + _userAgentString;
39+
WebServiceRequestEventArgs? args = e as WebServiceRequestEventArgs;
40+
if (args != null && args.Request is Amazon.Runtime.Internal.IAmazonWebServiceRequest internalRequest && !internalRequest.UserAgentDetails.GetCustomUserAgentComponents().Contains(_userAgentString))
41+
{
42+
internalRequest.UserAgentDetails.AddUserAgentComponent(_userAgentString);
43+
}
4444
}
4545
}

0 commit comments

Comments
 (0)