Go Changelog
DataDome Go Module
v2.2.0 (2025-06-05)
- Add
CookiesListto payloads sent to Protection API
v2.1.0 (2025-05-12)
- Add
UseXForwardedHostsetting to supporthostoverride viaX-Forwarded-Hostheader
v2.0.0 (2025-03-04)
Breaking changes
- Rename
DataDomeStructstructure toClient - Remove
DataDomeprefix on fields of theClientstructure - Replace sub-packages with a single
modulegopackage - Update the
NewClientsignature to use the functional options pattern - Handle configuration errors during the client's instantiation
General changes
- Add support of 301/302 redirections returned by the Protection API
- Add
Loggerfield to theClientstructure - Enhance code documentation
v1.3.0 (2024-12-18)
- Add
EnableReferrerRestorationfield to enable the referrer restoration
v1.2.0 (2O24-10-30)
- Add GraphQL support for POST requests
- Add
EnableGraphQLSupportfield to enable GraphQL support - Add
MaximumBodySizefield to define maximum amount of data to read on GraphQL requests
- Add
- Add debug logs and enhance log outputs
- Add
Debugfield to enable debug mode
- Add
v1.1.2 (2024-08-27)
- Update
TimeRequestvalue to a timestamp in microseconds without floating point to comply with the API contract - Update inclusion/exclusion regex matching to apply to the complete URL, making configuration simpler and more secure
- Update default URL pattern exclusion regex to ensure consistent regex format across all platforms
- Update truncation limits for the data sent to the API Server
v1.1.1 (2023-12-04)
- Fix hostname for DataDome endpoint
v1.1.0 (2023-11-27)
- Use hostname for endpoint configuration
v1.0.0 (2023-11-16)
- First release
Updated 5 months ago
