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

Upgrade: [dependabot] - bump @aws-lambda-powertools/logger from 2.3.0 to 2.4.0 #148

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 12, 2024

Bumps @aws-lambda-powertools/logger from 2.3.0 to 2.4.0.

Release notes

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

v2.4.0

Summary

This release improves: 1/ Logger by making it time zone aware, and 2/ Batch Processing which you can now customize to not throw an error when the entire batch of items fails to process.

We also dropped support for Node.js 16, and introduced support for Middy.js 5.x for functions using ES Modules.

🌟 ⭐ Thank you to @​arnabrahman for the work on both the new features!

Change timezone in log timestamps

Docs

You can now change the timezone used for timestamps in your logs using the TZ environment variable, which is now taken in account when instantiating a new Logger instance. This is useful for when you want your logs to use a different timezone than the default UTC one.

carbon

Working with full batch failures

Docs

You can now configure the Batch Processing utility to not throw a FullBatchFailureError when all the records in the batch fail to process, by setting the throwOnFullBatchFailure option to false. This is useful when working with functions that handle batches with a small number of records, or when you use errors as a flow control mechanism.

carbon-24

End of support for Node.js 16

Docs

Three months ago we announced that we would stop supporting Node.js 16, and today we are removing support. End of support does not impact existing functions and functions using versions of Powertools for AWS Lambda (TypeScript) up to version 2.3.0, however starting from this release we no longer guarantee compatibility with Node.js 16.

We recommend that you upgrade your existing Node.js 16 functions to Node.js 18 or later if you want to use Powertools for AWS Lambda (TypeScript) version 2.4.0 and above.

Changes

🌟New features and non-breaking changes

... (truncated)

Changelog

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

2.4.0 (2024-07-10)

Bug Fixes

  • idempotency: check error identity via names (#2747) (55c3878)

Features

  • batch: add option to not throw FullBatchFailureError when the entire batch fails (#2711) (74198ef)
  • internal: support Middy.js 5.x (#2748) (1d7ad61)
  • layers: deploy Lambda layers in ap-south-2 and me-central-1 (#2675) (208c57a)
  • logger: time zone aware timestamp in Logger (#2710) (9fe4c75)
  • maintenance: drop support for Node.js 16.x (#2717) (e4eee73)
Commits
  • 9f19407 chore(ci): bump version to 2.4.0 (#2763)
  • eb07657 chore(layers): revert deploy Lambda layers in ap-south-2 and me-central-1...
  • 5de87d4 chore(deps-dev): bump aws-sdk from 2.1652.0 to 2.1657.0 (#2753)
  • aa52802 chore(deps): bump the aws-sdk-v3 group across 1 directory with 9 updates (#2754)
  • 1d7ad61 feat(internal): support Middy.js 5.x (#2748)
  • 12f8e5f chore(ci): revert enable CodeQl (#2731) (#2740)
  • 55c3878 fix(idempotency): check error identity via names (#2747)
  • 74198ef feat(batch): add option to not throw FullBatchFailureError when the entire ...
  • 649662a chore(deps): bump github/codeql-action from 3.23.0 to 3.25.11 (#2745)
  • b06454b chore(deps): bump actions/download-artifact from 4.1.7 to 4.1.8 (#2746)
  • 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/logger](https://github.com/aws-powertools/powertools-lambda-typescript) from 2.3.0 to 2.4.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.3.0...v2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 12, 2024
Copy link

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this pull request because it includes a patch or minor update

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot enabled auto-merge (squash) July 12, 2024 02:44
Copy link

sonarcloud bot commented Jul 12, 2024

@eps-autoapprove-dependabot eps-autoapprove-dependabot bot merged commit 6faadbd into main Jul 12, 2024
4 checks passed
@eps-autoapprove-dependabot eps-autoapprove-dependabot bot deleted the dependabot/npm_and_yarn/aws-lambda-powertools/logger-2.4.0 branch July 12, 2024 02:46
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 javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants