Skip to content

Bump AWS.Lambda.Powertools.Metrics from 3.1.0 to 3.2.0#85

Open
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/nuget/Unicorn.Approvals/ApprovalsService/multi-6a65e91c64
Open

Bump AWS.Lambda.Powertools.Metrics from 3.1.0 to 3.2.0#85
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/nuget/Unicorn.Approvals/ApprovalsService/multi-6a65e91c64

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 16, 2026

Updated AWS.Lambda.Powertools.Metrics from 3.1.0 to 3.2.0.

Release notes

Sourced from AWS.Lambda.Powertools.Metrics's releases.

3.2.0

Summary

In this release we added new logging features including ExtraKeys for temporary key management within scopes, an Enabled property for LogBuffering configuration, and TenantId support for Lambda Tenant Isolation observability. We also fixed a stdout file descriptor leak in the logging utility and an idempotency key collision issue when using multiple idempotent methods.

Thank you @​jihed-garaouch for your first contribution ⭐

What's New

✨ ExtraKeys for Logger

| Docs

Added ExtraKeys() method to Logger for temporary key management within scopes. Keys are automatically cleaned up when the scope exits, with full support for async/await boundaries using AsyncLocal-based scope storage. Supports multiple overloads: Dictionary, params tuples, and nested scopes.

Dictionary syntax:

using (Logger.ExtraKeys(new Dictionary<string, object> { {"orderId", "123"} }))
{
    Logger.LogInformation("Processing order"); // includes orderId
}
// orderId is automatically removed

Tuple syntax:

using (Logger.ExtraKeys(("orderId", "123"), ("customerId", "456")))
{
    Logger.LogInformation("Processing"); // includes orderId and customerId
}

✨ LogBuffering Enabled Property

| Docs

Added Enabled property to LogBufferingOptions to explicitly control log buffering activation. This allows configuring log buffering through property assignment instead of requiring constructor parameters.

var builder = new LoggerConfiguration();
builder.LogBuffering.Enabled = true;
builder.LogBuffering.BufferAtLogLevel = LogLevel.Debug;

✨ TenantId Support

Added TenantId from ILambdaContext to the default logger properties to support AWS Lambda Tenant Isolation observability. When using Lambda Tenant Isolation, the TenantId is automatically captured and included in your structured log output.

 ... (truncated)

Commits viewable in [compare view](https://github.com/aws-powertools/powertools-lambda-dotnet/compare/3.1.0...3.2.0).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

---
updated-dependencies:
- dependency-name: AWS.Lambda.Powertools.Metrics
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: AWS.Lambda.Powertools.Metrics
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: AWS.Lambda.Powertools.Metrics
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: AWS.Lambda.Powertools.Metrics
  dependency-version: 3.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Mar 16, 2026
@dependabot dependabot bot requested a review from a team as a code owner March 16, 2026 09:11
@dependabot dependabot bot added dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code labels Mar 16, 2026
@github-actions github-actions bot requested a review from sliedig March 16, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant