New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-lambda-powertools/metrics

Package Overview
Dependencies
Maintainers
9
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-lambda-powertools/metrics - npm Package Versions

1
10

1.8.0

Diff

Changelog

Source

1.8.0 (2023-04-07)

Bug Fixes

  • parameters: type import path in AppConfigProvider (#1388) (40a1a24)

Features

  • idempotency: add local cache to BasePersistenceLayer (#1396) (2013ff2)
  • idempotency: BasePersistenceLayer, DynamoDBPersistenceLayer and configs (#1376) (f05cba8)
  • logger: add CRITICAL log level (#1399) (a248ff0)
  • metrics: log warning on empty metrics (#1397) (31ae936)
  • parameters: ability to set maxAge and decrypt via environment variables (#1384) (dcf6620)
  • parameters: add clearCaches function (#1382) (ec49023)
  • parameters: stronger types for SSM getParameter (#1387) (9d53942)
dreamorosi
published 1.7.0 •

Changelog

Source

1.7.0 (2023-03-20)

Bug Fixes

Features

  • logger: add silent log level to suppress the emission of all logs (#1347) (c82939e)
  • metrics: support high resolution metrics (#1369) (79a321b)
  • parameters: AppConfigProvider to return the last valid value when the API returns empty value on subsequent calls (#1365) (97339d9)
flochaz
published 1.6.0 •

Changelog

Source

1.6.0 (2023-03-02)

Bug Fixes

  • docs: logger bringYourOwnFormatter snippet #1253 (#1254) (fdbba32)
  • hardcoded cdk version in publish_layer.yaml (#1232) (63a3909)
  • logger: createChild not passing all parent's attributes (#1267) (84ab4b9)
  • logger: middleware stores initial persistent attributes correctly (#1329) (6b32304)
  • parameters: handle base64/binaries in transformer (#1326) (bb50c04)
  • parameters: Tokenize attribute names in DynamoDBProvider (#1239) (f3e5ed7)

Features

  • idempotency: Add function wrapper and decorator (#1262) (eacb1d9)
  • layers: add new regions (#1322) (618613b)
  • logger: make loglevel types stricter (#1313) (5af51d3)
  • parameters: add support for custom AWS SDK v3 clients for providers (#1260) (3a8cfa0)
flochaz
published 1.5.1 •

Changelog

Source

1.5.1 (2023-01-13)

Bug Fixes

  • logger: logger throws TypeError when log item has BigInt value (#1201) (a09e4df)
  • parameters: types in BaseProvider + added getMultiple alias to SecretsProvider (#1214) (32bd7e8)

Features

flochaz
published 1.5.0 •

Changelog

Source

1.5.0 (2022-11-25)

Bug Fixes

  • logger: merge child logger options correctly (#1178) (cb91374)

Features

  • idempotency: Add persistence layer and DynamoDB implementation (#1110) (0a6676a)
  • logger: disable logs while testing with jest --silent in dev env (#1165) (6f0c307)
  • logger: pretty printing logs in local and non-prod environment (#1141) (8d52660)
  • parameters: added BaseProvider class (#1168) (d717a26)
flochaz
published 1.4.1 •

Changelog

Source

1.4.1 (2022-11-09)

Bug Fixes

  • metrics: store service name in defaultDimensions to avoid clearing it (#1146) (a979202)
flochaz
published 1.4.0 •

Changelog

Source

1.4.0 (2022-10-27)

Bug Fixes

  • metrics: metadata and dimensions not cleared on publish (#1129) (b209c30)

Features

  • all: moved EnvService to commons + exposed getXrayTraceId in tracer (#1123) (c8e3c15)
flochaz
published 1.3.0 •

Changelog

Source

1.3.0 (2022-10-17)

Bug Fixes

  • all: update version command to use lint-fix (#1119) (6f14fb3)
  • captureColdStartMetric and throwOnEmptyMetrics when set to false was interpreted as true (#1090) (127aad4)
  • captureMethod correctly detect method name when used with external decorators (#1109) (a574406)
  • logger: wait for decorated method return before clearing out state (#1087) (133ed3c)
  • ts-node version for layer-publisher (#1112) (ee243de)

Features

  • idempotency: create initial class structure for function idempotency (#1086) (06fbaae)
  • publish lib as Lambda Layer (#1095) (83f6efb)
  • tracer: specify subsegment name when capturing class method (#1092) (d4174eb)

Reverts

  • Revert "chore(release): v1.3.0 [skip ci]" (237b99f)
flochaz
published 1.2.1 •

Changelog

Source

1.2.1 (2022-08-25)

Note: Version bump only for package aws-lambda-powertools-typescript

flochaz
published 1.2.0 •

Changelog

Source

1.2.0 (2022-08-23)

Bug Fixes

  • docs: docs published with incorrect version number + api docs missing after release (#1066) (8b8b25c)

Features

  • metrics: increase maximum dimensions to 29 (#1072) (7b9a027)
  • tracer: allow disabling result capture for decorators and middleware (#1065) (c3b9a37)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc