Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump @aws-lambda-powertools/parameters from 2.1.0 to 2.8.0 #74

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2024

Bumps @aws-lambda-powertools/parameters from 2.1.0 to 2.8.0.

Release notes

Sourced from @​aws-lambda-powertools/parameters's releases.

v2.8.0

Summary

This release introduces 1/ the ability store parameters on AWS System Manager Parameter Store using the Parameters utility, and 2/ a new option for Logger that you can use to specify the order of how keys appear in your JSON-structured logs.

We are also adding a new TRACE log level to align with AWS Lambda Advanced Logging Controls (ALC), and improved made improvements to errors in the Idempotency utility, which now include more details on the cause of the error.

Finally, you can now use our public AWS Lambda Layers in two new AWS Regions: ap-south-2 and me-central-1.

⭐️ Thanks to @​daschaa, @​arnabrahman, and @​timo92 for their contributions to this release!

Store parameters using SSM

Docs

In response to customer requests, you can now store parameters using AWS System Manager Parameter Store with the setParameter function. This new helper function fits right in with the other Parameters features you know and love, and provides a seamless experience without having to deal with the AWS SDK.

carbon-3

A big thank you to @​daschaa for working on this feature!

Specify log keys order

Docs

You can now change the order of the keys in your logs via the logRecordOrder constructor parameter when using Logger. This is useful when you want to customize how the logs are structured without having to create and maintain your own custom log formatter.

carbon-4

When you specify one or more keys in the logRecordOrder we’ll place these keys first, followed by all the other keys in the log.

Thank you to @​arnabrahman for adding this feature!

v1.x Reached End-of-Life (EOL)

Starting from September 1st 2024, v1.x of Powertools for AWS Lambda (TypeScript) has reached EOL and will not receive any further updates in accordance with our Versioning Policy.

We recommend you to upgrade to v2.x as soon as possible to continue receiving new feature and bug fixes. If you are having issues migrating and need support, please reach out via one of our channels or open a discussion on our repo.

Changes

... (truncated)

Changelog

Sourced from @​aws-lambda-powertools/parameters's changelog.

2.8.0 (2024-09-16)

Bug Fixes

  • idempotency: include cause in idempotency persistence layer error (#2916) (47f0161)
  • tracer: include request pathname in trace data (#2955) (6864e53)

Features

  • logger: introduce log key reordering functionality (#2736) (9677258)
  • logger: introduce loglevel trace #1589 (#2902) (650252c)
  • parameters: adds setParameter function to store SSM parameters (#3020) (8fd5479)

2.7.0 (2024-08-08)

Bug Fixes

  • logger: invalid time zone environment variables leads to error (#2865) (d55465f)

Features

  • metrics: add unit None for CloudWatch EMF Metrics (#2904) (fa27cba)
  • parser: add helper function to handle JSON stringified fields (#2901) (806b884)

2.6.0 (2024-07-25)

Features

  • logger: introduce loglevel constant (#2787) (e75f593)
  • parser: allow parser set event type of handler with middy (#2786) (9973f09)

2.5.0 (2024-07-15)

... (truncated)

Commits
  • af831b8 chore(ci): bump version to 2.8.0 (#3072)
  • e0cb52c chore(deps-dev): bump path-to-regexp to 6.3.0 (#3070)
  • 16f49b0 chore(deps): bump github/codeql-action from 3.26.6 to 3.26.7 (#3064)
  • e9adac4 chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates (#3066)
  • 3a27424 chore(deps-dev): bump @​types/jest from 29.5.12 to 29.5.13 (#3063)
  • 078ccb5 chore(deps-dev): bump tsx from 4.19.0 to 4.19.1 (#3062)
  • 270afe5 chore(deps): bump vscode/devcontainers/javascript-node from aedf26c to `f1e...
  • db26958 improv(logger): streamline Logger types (#3054)
  • c0d2158 improv(tracer): set AWS_XRAY_CONTEXT_MISSING to IGNORE_ERROR when no valu...
  • 8a463ad chore(deps-dev): bump @​biomejs/biome from 1.8.3 to 1.9.0 (#3052)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Bumps [@aws-lambda-powertools/parameters](https://github.com/aws-powertools/powertools-lambda-typescript) from 2.1.0 to 2.8.0.
- [Release notes](https://github.com/aws-powertools/powertools-lambda-typescript/releases)
- [Changelog](https://github.com/aws-powertools/powertools-lambda-typescript/blob/main/CHANGELOG.md)
- [Commits](aws-powertools/powertools-lambda-typescript@v2.1.0...v2.8.0)

---
updated-dependencies:
- dependency-name: "@aws-lambda-powertools/parameters"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dreamorosi dreamorosi merged commit b1936d7 into main Oct 1, 2024
2 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/aws-lambda-powertools/parameters-2.8.0 branch October 1, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant