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

@aws-lambda-powertools/logger

Package Overview
Dependencies
Maintainers
3
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

1
10

1.10.0

Diff

Changelog

Source

1.10.0 (2023-06-23)

Bug Fixes

  • ci: change how versions and aliases are inserted into versions.json (#1549) (9e1d19a)
  • idempotency: pass lambda context remaining time to save inprogress (#1540) (d47c3ec)
  • idempotency: record validation not using hash (#1502) (f475bd0)
  • idempotency: skip persistence for optional idempotency key (#1507) (b9fcef6)
  • metrics: flush metrics when data points array reaches max size (#1548) (24c247c)
  • missing quotes (67f5f14)
  • missing quotes (349e612)
  • update reference in workflow (#1518) (9c75f9a)

Features

  • logger: clear state when other middlewares return early (#1544) (d5f3f13)
  • metrics: publish metrics when other middlewares return early (#1546) (58b0877)
  • parameters: review types and exports (#1528) (6f96711)
  • tracer: close & restore segments when other middlewares return (#1545) (74ddb09)
dreamorosi
published 1.9.0 •

Changelog

Source

1.9.0 (2023-06-09)

Features

  • commons: add cleanupPowertools function (#1473) (5bd0166)
  • idempotency: makeHandlerIdempotent middy middleware (#1474) (a558f10)
  • idempotency: add package exports (#1483) (faa9307)
  • idempotency: idempotency middleware & types exports (#1487) (d947db9)
  • idempotency: implement IdempotencyHandler (#1416) (f2ebf08)
  • logger: enhance log level handling (#1476) (0021536)
  • parameters: add adaptive types to SecretsProvider (#1411) (5c6d527)
  • tracer: add isTraceSampled method (#1435) (194bbd3)
dreamorosi
published 1.8.0 •

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)
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