You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,18 @@
1
+
## Release 2026-05-18
2
+
3
+
### Amazon.Lambda.Core (3.1.0)
4
+
*[Preview] Add LambdaLogger.ConfigureStructuredLogging to customize the JsonSerializerOptions used for serializing logging parameters.
5
+
* Add preview ILambdaSerializer Serializer property to ILambdaContext (default-implemented to null on net8.0+) so user code can access the serializer registered with the runtime. Marked [Experimental("AWSLAMBDA001")]; class-library mode requires an updated managed Lambda runtime to populate this property. The Experimental flag will be removed in a follow-up release once the managed runtime is deployed.
6
+
### Amazon.Lambda.RuntimeSupport (2.1.0)
7
+
* Add support for handling the structured logging customization from Amazon.Lambda.Core.
8
+
* Propagate the registered ILambdaSerializer to the per-invocation ILambdaContext.Serializer. Surfaces the new preview ILambdaContext.Serializer (AWSLAMBDA001); the Experimental flag will be removed in a follow-up release once the managed runtime is deployed.
9
+
### Amazon.Lambda.Annotations (2.0.1)
10
+
* Fix CS0121 ambiguity error in generated Program.g.cs when a Lambda handler has no input parameters and returns Task. The source generator now uses the unambiguous LambdaBootstrapBuilder.Create(Func<Stream, Task>) overload for this case.
11
+
### Amazon.Lambda.TestUtilities (4.1.0)
12
+
* Add Serializer setter to TestLambdaContext to mirror the new preview ILambdaContext.Serializer property. Marked [Experimental("AWSLAMBDA001")]; the Experimental flag will be removed in a follow-up release once the managed runtime is deployed.
13
+
### Amazon.Lambda.AspNetCoreServer (10.1.1)
14
+
* Fix InvokeFeatures.Set<TFeature> to bump the feature collection revision so middleware that wraps the response body (e.g. OutputCache, ResponseCompression) is properly visible to ASP.NET Core's FeatureReferences cache. Resolves https://github.com/aws/aws-lambda-dotnet/issues/1702 where IOutputCache stored empty response bodies.
// Because a user might call ConfigureStructuredLogging before the Lambda runtime has a chance to replace the _configureStructuredLoggingAction with the
135
+
// real implementation, we need to hold onto the options they provided until the Lambda runtime can use them to configure structured logging.
/// When structured logging is enabled this method will allow overriding the default configuration the Lambda runtime uses for structured logging.
140
+
/// </summary>
141
+
/// <param name="options">The options to use for configuring structured logging.</param>
142
+
[RequiresPreviewFeatures("This method is in preview until the latest changes of the .NET Lambda runtime client have been deployed to the Lambda managed runtimes")]
0 commit comments