🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

@aws-lambda-powertools/logger

Package Overview
Dependencies
Maintainers
3
Versions
104
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

2345
11

2.18.0

Diff
aws-powertools-bot
published 2.18.0 •

Changelog

Source

2.18.0 (2025-04-07)

Features

  • parser: add Cognito pre-signup trigger schema (#3729) (4116f65)
  • parser: add schema support for API Gateway WebSocket events (#3807) (663d328)
aws-powertools-bot
published 2.17.0 •

Changelog

Source

2.17.0 (2025-03-25)

Bug Fixes

  • ci: Remove --compatible-architectures from workflow (#3752) (dafa496)
  • idempotency: include sk in error msgs when using composite key (#3709) (661f5ff)
  • logger: correctly refresh sample rate (#3722) (2692ca4)
  • parser: ddb base schema + other exports (#3741) (51a3410)

Features

  • commons: make utilities aware of provisioned concurrency (#3724) (c28e45e)
  • logger: set correlation ID in logs (#3726) (aa74fc8)
  • metrics: allow setting functionName via constructor parameter and environment variable (#3696) (3176fa0)
aws-powertools-bot
published 2.16.0 •

Changelog

Source

2.16.0 (2025-03-07)

Bug Fixes

Features

  • logger: Enable log buffering feature (#3641) (8203016)
  • logger: flush buffer on uncaught error decorator (#3676) (28db2e3)
  • logger: Flush buffer on uncaught error in Middy middleware (#3690) (23eebe4)
  • logger: refresh sample rate calculation before each invocation (#3672) (8c8d6b2)
  • validation: add @validator decorator for JSON Schema validation (#3679) (ae6b7cf)
  • validation: Add Middy.js middleware for JSON Schema validation (#3694) (443202b)
  • validation: implement validate function (#3662) (f55127b)
aws-powertools-bot
published 2.15.0 •

Changelog

Source

2.15.0 (2025-02-25)

Bug Fixes

  • ci: Add permissions to jobs (#3586) (90c93ea)
  • ci: fix path for latest SSM param (#3585) (e34952d)
  • logger: handle illegal null/undefined as extra args (#3614) (6f99073)

Features

aws-powertools-bot
published 2.14.0 •

Changelog

Source

2.14.0 (2025-02-10)

Bug Fixes

  • logger: prevent overwriting standard keys (#3553) (f0bdf3c)
  • parser: parse sqs record body field as JSON and S3Schema in S3SqsEventNoificationRecordSchema (#3529) (bcd4b9f)

Features

  • ci: Add advanced automation (#3438) (4e9ff07)
  • parser: add TransferFamilySchema for AWS Transfer Family events (#3575) (2c27c5e)
  • parser: simplify ParseResult and parse inference (#3568) (95762ad)
aws-powertools-bot
published 2.13.1 •

Changelog

Source

2.13.1 (2025-01-28)

Bug Fixes

  • parser: allow Kinesis envelopes to handle non-JSON strings (#3531) (d18e03d)
  • parser: allow SQS envelopes to handle non-JSON strings (#3513) (89f0006)
  • parser: allow VPC envelopes to handle non-JSON strings (#3534) (603988d)
  • parser: API Gateway Envelopes handle non-JSON (#3511) (a4846af)
  • parser: CloudWatch Log Envelope handles non-JSON (#3505) (781a14e)
  • parser: DynamoDBStream schema & envelope (#3482) (7f7f8ce)
  • parser: EventBridge envelope uses correct path (#3504) (7cce60b)
  • parser: Firehose SQS should fail for invalid SQS message (#3526) (4721dda)
  • parser: Kafka Envelope + tests (#3489) (bd6b24a)
  • parser: LambdaFunctionUrl envelope assumes JSON string in body (#3514) (09aa287)
  • parser: make identitySource nulablel in APIGatewayRequestAuthorizerEventV2Schema (#3485) (8692de6)
  • parser: min array length on Records (#3521) (89a6281)
  • parser: set min length of 1 to s3 event lists (#3524) (937be64)
  • parser: SNS Envelope handles non-JSON (#3506) (4d7f05f)
aws-powertools-bot
published 2.13.0 •

Changelog

Source

2.13.0 (2025-01-14)

Bug Fixes

  • tracer: forward X-Amzn-Trace-Id header when instrumenting fetch (#3470) (4eb3e2d)

Features

  • parser: DynamoDBMarshalled helper to parse DynamoDB data structure (#3442) (e154e58)
aws-powertools-bot
published 2.12.0 •

Changelog

Source

2.12.0 (2024-12-17)

Bug Fixes

Features

  • logger: change selected method visibility to protected (#3377) (93a19a5)
  • metrics: disable metrics with POWERTOOLS_METRICS_DISABLED (#3351) (7e8578e)
  • metrics: warn when overwriting dimension (#3352) (12f3e44)
  • parser: Add appsync resolver event Zod schemas (#3301) (318f34b)
  • parser: add schema for DynamoDB - Kinesis Stream event (#3328) (a8dfa74)
aws-powertools-bot
published 2.11.0 •

Changelog

Source

2.11.0 (2024-11-20)

Bug Fixes

  • metrics: skip empty string dimension values (#3319) (924d49d)
  • parser: add aws region to kinesis event (#3260) (246f132)
  • parser: event type literal for selfManagedKafka (#3325) (5350afe)
  • parser: fix cause errors nested structure (#3250) (1ff97cb)

Features

  • batch: Async Processing of Records for for SQS Fifo (#3160) (e73b575)
  • metrics: ability to set custom timestamp with setTimestamp for metrics (#3310) (0fb94c3)
  • metrics: add ability to pass custom logger (#3057) (a531b90)
aws-powertools-bot
published 2.10.0 •

Changelog

Source

2.10.0 (2024-10-22)

Features

  • logger: include enumerable properties in formatted errors (#3195) (4b80d9f)
2345
11