Node.js Changelog
DataDome Node Module
2.1.0 (2024-12-19)
- Add
enableGraphQLSupport
option to enable GraphQL support
2.0.1 (2024-11-05)
- Add missing dependency on
tslib
2.0.0 (2024-11-04)
General changes
- Collect fetch metadata headers
- Raise runtime error when using invalid constructor arguments
Breaking changes
- Split @datadome/node-module into two separate packages:
- @datadome/module-express for usage with Express
- @datadome/module-http for usage with built-in HTTP module from Node.js
- Rename
uriRegex
option tourlPatternInclusion
- Rename
uriRegexExclusion
option tourlPatternExclusion
- Remove
port
,shouldUseSsl
andpath
options fromDatadomeClient
- Move and rename
endpoint
parameter from being the second argument inDataDomeClient
class to being part of the options object, now calledendpointHost
@datadome/common
- Create package to interface with @datadome/node-core
@datadome/module-express
- Rename
authCallback
method tohandleRequest
- Add
middleware
method to return a request handler
@datadome/module-http
- Rename
auth
method tohandleRequest
- Change the
handleRequest
signature to return a promise
1.5.2 (2024-08-12)
- Fix the JSDoc and the TypeScript definition file
- Update default export of DatadomeClient to support strict ES
v1.5.1 (2024-06-26)
- Use
req.originalUrl
first to get the request URL for express integration
v1.5.0 (2023-08-29)
- Add a new
params
argument to bothauth
andauthCallback
methods for enhanced customization
v1.4.3 (2022-12-01)
- Fixed potential double execution of callbacks
v1.4.2 (2022-10-24)
- Improved headers management
v1.4.1 (2022-10-21)
- Fixed bug for undefined
x-datadome-request-headers
v1.4.0 (2022-10-04)
- Added access to
x-datadome-request-headers
in block and auth callback
v1.3.2 (2022-07-12)
- Update user agent client hint request header
- Fix vulnerabilities from dependencies
v1.3.1 (2022-01-25)
- Fix bug with logger scope
v1.3.0 (2022-01-19)
- Introduced support for custom logger
- Added typescript types
v1.2.1 (2021-11-23)
- Revised module version
v1.2.0 (2021-11-17)
- Added collection of client hints
v1.1.7 (2021-08-31)
- Added support of header
X-DataDome-ClientID
v1.1.6 (2021-05-22)
- Added errors handlers
v1.1.5 (2021-04-15)
- Introduced support of
req.baseUrl
v1.1.4 (2020-12-08)
- Changed default exclusion regex
v1.1.3 (2019-11-20)
- Fixed 4xx status codes handling
v1.1.2 (2019-04-08)
- Added support of headers: Content-Type, From, Via, X-Real-IP and True-Client-IP
v1.1.1 (2019-04-08)
- Fixed empty
ServerHostname
v1.1.0 (2019-02-25)
- Introduced callback based way to use a module
v1.0.1 (2019-01-26)
- Override all headers except of Set-Cookie
v1.0.0 (2019-01-18)
- Initial public release
Updated 1 day ago