Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .github/boring-cyborg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ labelPRBasedOnFilePath:
area/batch:
- libraries/src/AWS.Lambda.Powertools.Batch/*
- libraries/src/AWS.Lambda.Powertools.Batch/**/*
area/metrics-aspnetcore:
- libraries/src/AWS.Lambda.Powertools.Metrics.AspNetCore/*
- libraries/src/AWS.Lambda.Powertools.Metrics.AspNetCore/**/*

documentation:
- docs/*
Expand Down
10 changes: 1 addition & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,14 @@ deploy/**
.vs/
.aws-sam

node_modules/*

examples/SimpleLambda/.aws-sam
examples/SimpleLambda/samconfig.toml

AWS.Lambda.Powertools.sln.DotSettings.user
[Oo]bj/**
[Bb]in/**
.DS_Store
.cache

dist/
site/
samconfig.toml

.kiro
.claude
.amazonq
.github/instructions
samconfig.toml
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# 6.0-bullseye-slim
FROM mcr.microsoft.com/dotnet/sdk@sha256:fc71510497ce2ec3575359068b9c7b1b9f449cfdb0371b5c71a939963a2fedfd AS build-image
FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build-image

ARG FUNCTION_DIR="/build"
ARG SAM_BUILD_MODE="run"
Expand All @@ -20,7 +19,7 @@ WORKDIR $FUNCTION_DIR/examples/SimpleLambda/src/HelloWorld/
RUN if [ "$SAM_BUILD_MODE" = "debug" ]; then dotnet lambda package --configuration Debug; else dotnet lambda package --configuration Release; fi
RUN if [ "$SAM_BUILD_MODE" = "debug" ]; then cp -r /bin/Debug/net6.0/publish/* /build/build_artifacts; else cp -r bin/Release/net6.0/publish/* /build/build_artifacts; fi

FROM public.ecr.aws/lambda/dotnet@sha256:ec61a7f638e2a0c86d75204117cc7710bcdc70222ffc777e3fc1458287b09834
FROM public.ecr.aws/lambda/dotnet:6

COPY --from=build-image /build/build_artifacts/ /var/task/
# Command can be overwritten by providing a different command in the template directly.
Expand Down
7 changes: 2 additions & 5 deletions apidocs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"dest": "api",
"properties": {
"TargetFramework": "net8.0"
"TargetFramework": "net6.0"
},
"disableGitFeatures": false,
"disableDefaultFilter": false
Expand Down Expand Up @@ -48,9 +48,6 @@
"noLangKeyword": false,
"keepFileLink": false,
"cleanupCacheHistory": false,
"disableGitFeatures": false,
"sitemap": {
"baseUrl": "https://docs.powertools.aws.dev/lambda/dotnet/api/api"
}
"disableGitFeatures": false
}
}
6 changes: 2 additions & 4 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# v9.1.18
FROM squidfunk/mkdocs-material@sha256:209b62dd9530163cc5cf9a49853b5bb8570ffb3f3b5fe4eadc1d319bbda5ce2f

COPY requirements.txt /tmp/
RUN pip install --require-hashes -r /tmp/requirements.txt
FROM squidfunk/mkdocs-material@sha256:c62453b1ba229982c6325a71165c1a3007c11bd3dd470e7a1446c5783bd145b4
RUN pip install mkdocs-git-revision-date-plugin
2 changes: 0 additions & 2 deletions docs/requirements.in

This file was deleted.

302 changes: 0 additions & 302 deletions docs/requirements.txt

This file was deleted.

6 changes: 0 additions & 6 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,3 @@
[data-md-color-scheme="slate"] {
--md-typeset-a-color: rgb(28, 152, 152)
}

/*.md-nav__link[for] {*/
/* font-weight: bold*/
/*}*/
.md-nav__link[for] { color: var(--md-default-fg-color) !important; }

56,215 changes: 56,215 additions & 0 deletions dotnet6-deprecation-only.patch

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/AOT/AOT_Logging/src/AOT_Logging/AOT_Logging.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.RuntimeSupport" Version="1.10.0"/>
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.0"/>
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.4"/>
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="1.6.5" />
<PackageReference Include="Amazon.Lambda.Core" Version="2.2.0"/>
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.3"/>
<PackageReference Include="AWS.Lambda.Powertools.Logging" Version="1.6.3" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.0" />
<PackageReference Include="Amazon.Lambda.Core" Version="2.2.0" />
<PackageReference Include="Amazon.Lambda.TestUtilities" Version="2.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
<PackageReference Include="xunit" Version="2.4.2" />
Expand Down
6 changes: 3 additions & 3 deletions examples/AOT/AOT_Metrics/src/AOT_Metrics/AOT_Metrics.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.RuntimeSupport" Version="1.10.0"/>
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.0"/>
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.4"/>
<PackageReference Include="AWS.Lambda.Powertools.Metrics" Version="2.0.0" />
<PackageReference Include="Amazon.Lambda.Core" Version="2.2.0"/>
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.3"/>
<PackageReference Include="AWS.Lambda.Powertools.Metrics" Version="1.7.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.0" />
<PackageReference Include="Amazon.Lambda.Core" Version="2.2.0" />
<PackageReference Include="Amazon.Lambda.TestUtilities" Version="2.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
<PackageReference Include="xunit" Version="2.4.2" />
Expand Down
6 changes: 3 additions & 3 deletions examples/AOT/AOT_Tracing/src/AOT_Tracing/AOT_Tracing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.RuntimeSupport" Version="1.10.0"/>
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.0"/>
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.4"/>
<PackageReference Include="AWS.Lambda.Powertools.Tracing" Version="1.6.1" />
<PackageReference Include="Amazon.Lambda.Core" Version="2.2.0"/>
<PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.4.3"/>
<PackageReference Include="AWS.Lambda.Powertools.Tracing" Version="1.6.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<IsTestProject>true</IsTestProject>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.Core" Version="2.5.0" />
<PackageReference Include="Amazon.Lambda.Core" Version="2.2.0" />
<PackageReference Include="Amazon.Lambda.TestUtilities" Version="2.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
<PackageReference Include="xunit" Version="2.4.2" />
Expand Down
4 changes: 2 additions & 2 deletions examples/BatchProcessing/events/event.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"attributes": {
"ApproximateReceiveCount": "1",
"SentTimestamp": "1545082649183",
"SenderId": "SENDER_ID",
"SenderId": "AIDAIENQZJOLO23YVJ4VO",
"ApproximateFirstReceiveTimestamp": "1545082649185"
},
"messageAttributes": {},
Expand All @@ -23,7 +23,7 @@
"attributes": {
"ApproximateReceiveCount": "1",
"SentTimestamp": "1545082649183",
"SenderId": "SENDER_ID",
"SenderId": "AIDAIENQZJOLO23YVJ4VO",
"ApproximateFirstReceiveTimestamp": "1545082649185"
},
"messageAttributes": {},
Expand Down
82 changes: 0 additions & 82 deletions examples/BatchProcessing/events/typed-dynamodb-event.json

This file was deleted.

36 changes: 0 additions & 36 deletions examples/BatchProcessing/events/typed-kinesis-event.json

This file was deleted.

52 changes: 0 additions & 52 deletions examples/BatchProcessing/events/typed-sqs-event.json

This file was deleted.

Loading