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.7.0 #67

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Release notes

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

v2.7.0

Summary

This release 1/ brings a new helper function to parse JSON stringified fields when using Parser, 2/ and improved Metrics, which now can emit metrics using the None unit.

⭐️ Thanks to @​daschaa for fixing Logger and making it default to :UTC when encountering an invalid time zone value.

Quickly parse JSON stringified fields

Docs

You can now parse and validate JSON stringified fields using Zod schemas without having to transform them first. This is useful when working with payloads coming from sources that stringify payloads like Amazon API Gateway, Amazon SQS, Amazon Application Load Balancer (ALB), etc.

Use the JSONStringified helper to extend your schemas or any of the built-in schemas in Parser:

carbon-2

Metrics without unit

Docs

You can now create metrics without a unit of measure, this is helpful when your business metrics are tied to an abstract concept or when none of the units supported by the Embedded metric format specification fit.

carbon-2

Changes

🌟New features and non-breaking changes

  • feat(metrics): add unit None for CloudWatch EMF Metrics (#2904) by @​am29d
  • feat(parser): add helper functions to transform JSON stringified payloads (#2901) by @​am29d

📜 Documentation updates

... (truncated)

Changelog

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

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)

Bug Fixes

  • parser: include error cause in ParseError (#2774) (34d0b55)

Features

  • logger: custom function for unserializable values (JSON replacer) (#2739) (fbc8688)

2.4.0 (2024-07-10)

Bug Fixes

... (truncated)

Commits
  • 24c423c chore(ci): bump version to 2.7.0 (#2905)
  • fa27cba feat(metrics): add unit None for CloudWatch EMF Metrics (#2904)
  • 806b884 feat(parser): add helper function to handle JSON stringified fields (#2901)
  • b064408 chore(commons): extract lru-cache into commons (#2899)
  • a9d4a9c chore(deps-dev): bump lint-staged from 15.2.7 to 15.2.8 (#2885)
  • 13411dd chore(deps-dev): bump aws-sdk from 2.1667.0 to 2.1668.0 (#2890)
  • 4f7e33b chore(deps): bump the aws-cdk group across 1 directory with 2 updates (#2884)
  • b9b9ec6 chore(deps-dev): bump aws-sdk from 2.1666.0 to 2.1667.0 (#2886)
  • fae0fc9 chore(deps): bump typescript from 5.4.5 to 5.5.4 (#2820)
  • 3feba28 chore(ci): extract cached-node-modules action (#2876)
  • 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.7.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.7.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>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/aws-lambda-powertools/parameters-2.7.0 branch from 3a6f603 to a09006d Compare September 2, 2024 11:21
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 1, 2024

Superseded by #74.

@dependabot dependabot bot closed this Oct 1, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/aws-lambda-powertools/parameters-2.7.0 branch October 1, 2024 12:26
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.

0 participants