CloudFront Node.js Changelog

DataDome CloudFront Node.js Module

1.22.0 (2025-05-12)

  • Add DATADOME_USE_X_FORWARDED_HOST setting to support host override via X-Forwarded-Host header

1.21.0 (2024-10-24)

  • Enhance security

1.20.1 (2024-03-06)

  • Log a warning for event types that are not viewer-request

1.20.0 (2024-02-26)

  • Improve header management
  • Collect Client Hints and Fetch Metadata headers
  • Append current Lambda@Edge runtime to collected module name

1.19.0 (2024-01-08)

  • Add GraphQL support
  • Collect content-type header
  • Collect AWS server region

1.18.0 (2023-11-10)

  • Enable external configuration of the module using the configure function

1.17 (2022-11-14)

  • Update payload field name to XForwardedForIp

1.16 (2022-10-26)

  • Add exclusion for .map file type

1.15 (2021-12-30)

  • Add X-Real-IP header

1.14 (2021-10-08)

  • Suppress warnings when event listener count safely exceeds the default limit
  • Remove call stack logging when the connection is simply closed by the API

1.13 (2021-09-22)

  • Add new SAM template using nodejs14 (support for nodejs10 ended)
  • Fix response handler not exiting immediately
  • Fix null value for cookies length
  • Suppress noisy timeouts by using callbackWaitsForEmptyEventLoop

1.12 (2020-08-28)

  • Add cookie-by-header feature

1.11 (2020-08-12)

  • Add bot info logging

1.10 (2020-07-09)

  • Fix query parameter support

1.9 (2020-06-05)

  • Improve network call performance with recent Node versions

1.8 (2019-08-22)

  • Improve Keep-Alive performance
  • Fix performance regression introduced in version 1.7 for some use cases

1.7 (2019-07-25)

  • Add support for Keep-Alive connections between the function and the API server

1.6 (2019-05-16)

  • Add support for Node.js 6.8 and 10.x

1.5 (2019-01-25)

  • Override all headers except for Set-Cookie

1.4 (2018-12-24)

  • Preserve original backend headers if a header may have multiple values

1.3 (2018-03-22)

  • Skip sending payload parameters with null values in request data

1.2 (2018-03-22)

  • Fix HTTP client configuration to prevent unexpected timeouts

1.1.1 (2018-01-12)

  • Improve request time computation

1.1 (2018-01-05)

  • Force body consumption in all cases to work around JS HTTP client timeout behavior

1.0.1 (2017-12-27)

  • Improve regex to exclude static assets
  • Improve cookie header support

1.0 (2017-09-21)

  • Initial release