Changelog¶
1.23.0(2026/11/27)¶
New Features¶
- Added support for writing security logs via
POST /v1/write/security_logging(#140, !250)
Bug Fixes¶
- Simplified forwarding error messages and adjusted the output of tail sampling responses, logs, and
sink --list(#141, #142) - Added missing decision and rule-hit metrics for tail sampling spill; the counting logic is consistent with normal mode, and send retries are not double-counted (#139)
Compatibility Notes¶
- When ingress concurrency reaches the upper limit, writes to
security_loggingandcloud_billingreturn HTTP 503, and clients can retry (#140) - The OTLP, aggregation, and tail sampling proxies preserve downstream status codes and a valid
Retry-After; response bodies are generated by Dataway (#144)
1.22.2(2026/11/10)¶
New Features¶
- Added optional tail sampling spill. When the memory budget is insufficient, groups pending decisions are offloaded to disk. This supports resource limit, usage, and error metrics, as well as Sinker routing by point tags (!234, !235)
- Added guides for spill configuration, capacity estimation, Kubernetes storage deployment, and troubleshooting (!236)
Bug Fixes¶
- Fixed an issue where, after small packets in legacy raw tail sampling were recompressed, they could be received successfully but not delivered downstream (!235)
- Fixed an issue in tail sampling spill multi-target routing where continuous retries to a failed target blocked other targets in the same group; successful targets are not sent repeatedly (#138)
1.22.1(2026/11/10)¶
New Features¶
- Added metrics for tail sampling stage duration, bytes resident during sending and budget, and byte volume before and after compression (#135)
Feature Enhancements¶
- Optimized tail sampling batch sending and buffer reuse to reduce duplicate allocations and copies during decompression, batching, and sending (#133)
- Reduced request processing overhead when HTTP access logging is disabled, applicable to the
gin_log: ""configuration (#133)
Compatibility Notes¶
- The default compression for downstream requests in tail sampling direct sending and Sinker routing has changed from gzip to zstd, with no automatic negotiation or fallback. Before upgrading, ensure that all downstream KodoX Point Workers support zstd; cache replay preserves the original encoding and request body (#133)
1.22.0(2026/11/09)¶
Bug Fixes¶
- Upgraded Go to 1.26.10 to fix a crypto/x509 certificate trust security issue (CVE-2026-111943 / GO-2026-6809) (#130)
Feature Enhancements¶
- Optimized tracing tail sampling performance when processing multiple shards of the same trace (#129)
Compatibility Notes¶
- The main image base system has been upgraded from Ubuntu 22.04 to 24.04, supporting linux/amd64 and linux/arm64 (#131)
1.21.0(2026/10/14)¶
New Features¶
- Added support for OpenLineage data ingestion, gzip forwarding, and Sinker routing (#112, #122)
- Added an OCSF receiving endpoint that supports batch data and writes to the
ocsflog index (#120)
Bug Fixes¶
- Fixed an issue where invalid aggregation parameters could cause process exceptions (#117)
- Fixed an issue where stalled uploads occupied concurrency slots for a long time and proxy response status codes were incorrect (#118)
Feature Enhancements¶
- Improved HTTP timeout control to prevent stalled requests from occupying resources for a long time (#118)
- Unified token redaction in logs: the first 8 and last 4 characters are retained, and short tokens are fully hidden (#121)
Compatibility Notes¶
- Downstream 4xx responses retain original status codes. If error body parsing fails,
{}is returned, and the status is no longer changed to500(#124)
1.20.0(2026/09/10)¶
New Features¶
- Added an HTTP concurrency limit before reading the Body, reusing
kodo_queue.workers(DW_KODO_QUEUE_WORKERS, default256). After reaching the limit, up to128additional requests can wait, for a maximum of1s. This limit still applies when the Kodo dispatch queue is disabled, and requests without a Body are not counted (#115) - Added the
dataway_http_concurrency_in_flight,dataway_http_concurrency_waiting,dataway_http_concurrency_requests_total, anddataway_http_concurrency_wait_secondsmetrics for observing the number of requests in flight, number waiting, admission results, and wait duration (#115)
Bug Fixes¶
- Fixed a compatibility issue with Langfuse SDK 4.x when
/api/public/ingestionsucceeds upstream but the response body is empty: returnsuccesses/errorsJSON based on the event IDs in the request batch and preserve existing JSON response content from upstream (#116)
Compatibility Notes¶
- When the HTTP concurrency wait queue is full or the wait times out, registered DK-compatible endpoints return
503, while other endpoints return429; both includeRetry-After: 1. These rejected requests do not enter the disk cache (#115) - When an HTTP/1.x request is rejected by the concurrency limit, reading of the remaining Body is terminated, and the connection is closed after the response is returned to avoid waiting for unfinished uploads; clients must establish a new connection when retrying (#115)
1.19.0(2026/08/27)¶
New Features¶
- Added a
/v2/tail_samplingzstd reporting endpoint and compatibility with zstd packets sent by DataKit 2.10 through/v1/tail_samplingwithout compression negotiation headers (#110) - Added bounded batch sending and failure retries for tail sampling retained data, changed memory overflow disk offloading to asynchronous processing, and improved restart recovery and shutdown cleanup mechanisms (#110)
Feature Enhancements¶
- Tail sampling now extracts
trace_idafter decompression and recomputes predicates, and uses gzip compression when sending batches downstream to reduce request count and transmission overhead (#110) - Improved metric coverage for tail sampling queue submission results, wait duration, disk depth, and batch processing status (#110)
Security & Observability¶
- Set the token label in metrics to
redactedand no longer retain original token fragments, preventing credential leakage and high-cardinality time series (#90) - Redacted errors from aggregation, tail sampling, and multi-backend forwarding so that backend URLs, response content, and authentication information are no longer exposed (#90)
1.18.0(2026/08/12)¶
Feature Enhancements¶
- Optimized the
trace_idextraction path in tail sampling to avoid repeatedly traversing the payload whenRawGroupIdis available, while keeping sampling behavior unchanged (#108) - Upgraded
cliutilsso that capacity metrics are automatically initialized after the disk cache is opened, and improved close and file lock release behavior (#111)
Bug Fixes¶
- Unified token validation and propagation semantics for the special Aggregate and Tail Sampling APIs (#88)
- Isolated the invalid token negative cache by token, write route, and main/headless mode to prevent incorrect blocking across scenarios (#106)
- Fixed concurrent access issues in the failure cache and tail sampling disk degradation path to avoid data races during disk queue initialization, reading, and closing (#111)
- Isolated the pprof and Prometheus HTTP muxes; pprof is disabled by default, and when enabled, it only listens on loopback and limits diagnostic request duration and concurrency (#89)
- Redacted tokens, credentials, global tags, and rule content in request forwarding, cache replay, aggregation, tail sampling, and Sinker logs (#104)
- Fixed system workspace URL determination and added regression verification for token injection in normal and cascading modes (#104)
- Corrected the main HTTP Server request header timeout, Gin mode, IP blocklist configuration examples, and API wrapper error handling (#104)
Security & Observability¶
- Pinned the Go and golangci-lint download packages used by CI, verified SHA-256 by architecture, and removed the path that directly executed remote installation scripts (#101)
- Updated the default DataWay dashboard to add queue, tail sampling, Sinker cache, and runtime monitoring (#85)
1.17.0(2026/07/14)¶
New Features¶
- Added OTLP HTTP/protobuf endpoints:
/otel/v1/traces,/otel/v1/metrics, and/otel/v1/logs(#81) - OTLP requests support the
tokenquery parameter,X-Token, and Bearer token, and are integrated with the Kodo queue and disk cache (#81) - OTLP requests support pass-through of Kodo status codes, body, and required headers (#81)
Feature Enhancements¶
- Optimized Sinker routing for aggregation and tail sampling so that a send failure in one group no longer affects other groups (#71)
- The invalid token negative cache now applies only to eligible write requests (#77)
- Optimized memory usage and concurrency stability for aggregation
- Optimized tail sampling backlog handling; when the in-memory queue is full, data can be temporarily stored on disk
- Improved stability in disk cache exception scenarios
Bug Fixes¶
- Fixed race and capacity issues in the Sinker rule cache (#93)
Observability¶
- Added the file descriptor metric
dataway_open_files_by_typeand the TCP metricdataway_tcp_connections - Added metrics for tail sampling, send queues, workers, and disk staging
1.16.1(2026/07/09)¶
Bug Fixes¶
/v1/write/rumrejects empty bodies, returning400anddataway.emptyBody; non-empty bodies are still forwarded as-is (#82)- When the Kodo queue is full, cacheable requests are written to disk; when caching is unavailable,
503is returned (#83) - Return "cached" only after a successful write, and improved logging of cache failure reasons (#83)
1.16.0(2026/07/02)¶
New Features¶
- Added IPv6 and dual-stack deployment support; the IP allowlist supports IPv4, IPv6, and CIDR (#79)
- Added the
bind_ipv6/DW_BIND_IPV6andtrusted_proxies/DW_TRUSTED_PROXIESconfigurations (#78, #79)
Feature Enhancements¶
- When the Kodo success response is empty, an empty body and
Content-Typeare no longer returned (#78) - Return CORS headers only for requests with an
Origin, and addX-Content-Type-Options: nosniffto forwarded responses (#78)
1.15.0(2026/05/27)¶
New Features¶
- Added a bounded Kodo queue covering write, upload, and Firehose requests
- The queue is enabled by default and supports
DW_KODO_QUEUE_*environment variables - When the queue is full, cacheable requests are cached. When caching is unavailable,
503is returned - Added an invalid token negative cache with support for
DW_TOKEN_NEGATIVE_CACHE_*environment variables - The negative cache has a default TTL of
5mand stores up to1000tokens
Feature Enhancements¶
- Added token and payload validation to the aggregation endpoint
- Aggregation sending now uses a background queue, supports 3 retries, and adds
Content-MD5 - The aggregation proxy now reuses the reverse proxy and validates related configurations
- Cache replay now uses the current
remote_host, and the default cleanup interval has changed to1s - Updated the Sinker documentation. Starting with DataKit 2.0.0, non-point write APIs generally do not require
__dataway_apirules
Observability¶
- Added Kodo queue metrics:
dataway_kodo_queue_wait_seconds,dataway_kodo_queue_depth,dataway_kodo_queue_bytes,dataway_kodo_queue_enqueued_total,dataway_kodo_queue_full_total,dataway_kodo_queue_dispatch_total - Added invalid token negative cache metrics:
dataway_token_negative_cache_added_total,dataway_token_negative_cache_blocked_total - Added aggregation/tail sampling metrics:
dataway_http_api_body_size_bytes_total,dataway_http_aggr_point_total,dataway_http_tail_sampling_trace_total,dataway_http_tail_sampling_span_total,dataway_http_tail_sampling_packet_send_total - Added disk cache lock contention metrics:
diskcache_lock_wait_seconds,diskcache_lock_contention_total - Fixed the
sinkedlabel of latency metrics in Sinker scenarios
1.14.0(2026/04/17)¶
- Added a Session Replay image processing endpoint
1.13.0(2026/04/10)¶
- Added DataWay bypass aggregation and sampling support (#67)
1.12.3(2026/03/26)¶
- Added the v2 Sinker header format to resolve HTTP standard violations caused by abnormal values in routing headers (#68)
1.12.2(2026/03/17)¶
- Updated the SSL certificate in the DataWay image to prevent Openaway SSL certificates from being unrecognized in cascading scenarios (#69)
1.12.1(2025/12/25)¶
- Fixed an issue in version 1.12.0 where Sinker routing could not copy requests (#66)
1.12.0(2025/12/19)¶
New Features¶
-
Optimized the Sinker cache mechanism (#34)
- The new Sinker cache mechanism caches by a 16-byte hash of the request instead of caching the complete request signature. It uses two-way hashing to minimize hash collisions; the theoretical collision probability is n/2^128, where n is the number of cached keys
- The Sinker cache now includes TTL and capacity mechanisms to further limit memory usage: TTL cleans up inactive cache entries, while capacity ensures that the number of keys in the cache does not exceed the specified limit. Together, the TTL and capacity limits further reduce the hash collision probability described above
-
Added a configuration to optimize DataWay HTTP header responses and reduce DataWay public network traffic (#65)
1.11.2(2025/11/25)¶
- Optimized DataWay forwarding of Kodo HTTP requests (#64)
1.11.1(2025/11/15)¶
- Fixed an issue where the
__internal__token was invalid (#63)
1.11.0(2025/11/12)¶
New Features¶
- Upgraded the DataWay base image to Ubuntu 22.04 (#62)
- DataWay now supports blocking invalid traffic (#61)
Bug Fixes¶
- Fixed an issue where Session Replay and profile routing could not copy data to different workspaces (#59)
1.10.0(2025/09/03)¶
New Features¶
- Added Langfuse data ingestion (#57)
1.9.0(2025/04/25)¶
New Features¶
- DataWay now adds
X-Pkg-Idto data upload requests for data tracking (#53) - Improved program logs; more error codes returned by Kodo are now passed through to DataKit (#52)
- Added environment variables for API self-pull (#55)
- Updated the disk cache code to locate
invalid argumenterrors that occur in some cases (#56)
1.8.0(2025/02/19)¶
New Features¶
- When Sinker mode is enabled, DataWay can also handle data reporting requests sent by clients such as DataKit/Function (#50)
1.7.0(2024/12/18)¶
New Features¶
- Added an AWS Firehose ingestion endpoint (#47)
- Added support for passing tokens via
X-Token(#43)
Feature Enhancements¶
- Adjusted default parameters for internal recycling to optimize memory usage (#49)
- Optimized the default YAML for Kubernetes deployment and adjusted its cache disk mount configuration (#48)
- Adjusted and added some internal metrics, and updated the default DataWay view
1.6.2(2024/12/03)¶
Feature Enhancements¶
- Added configuration entry points for HTTP-level connections (#46)
1.6.1(2024/11/19)¶
Feature Enhancements¶
- Added an option to disable the 404 page (#44)
1.6.0(2024/09/19)¶
Feature Enhancements¶
- Optimized the environment variable configuration related to disk cache
- Exposed more self-metrics and optimized memory usage at the HTTP forwarding layer (#39)
- DataWay now supports configuring its own SNI (#42)
- Added a time synchronization endpoint to help DataKit obtain a more accurate Unix timestamp (#40)
- Sinker:
- Filter conditions support
nilchecks, i.e., determining whether a specific field exists (#41) - Added default rule settings, meaning requests that do not match existing routing rules are routed to the workspace corresponding to the default rule (#30)
- Filter conditions support
1.5.0(2024/07/05)¶
Feature Enhancements¶
- Optimized the installation script (#33)
Compatibility Adjustments¶
- The new version removes direct Sinker configuration support in host installation mode. This feature will be supported later through a new approach.
1.4.1(2024/06/19)¶
- Fixed the missing
DW_ENABLE_TLSissue in Kubernetes installation mode - Updated the build image address
1.4.0(2024/05/15)¶
- Added the DataKit metering endpoint (#29)
- Fixed an issue where the cache could lose data (#31)
- Added support for configuring HTTP TLS certificates directly on the DataWay side (#32)
- Exposed more metrics
1.3.9(2024/03/28)¶
- When Sink drops a request, it now returns HTTP
406 Not Acceptableto facilitate troubleshooting (#82)
1.3.8(2024/01/24)¶
- Exposed more metrics
- Significantly improved Sinker rule matching performance (#26)
1.3.7(2023/12/14)¶
- Exposed more metrics
- Optimized the disk cache cleanup policy based on the principle of consuming as soon as possible:
- avoid proactively dropping data due to storage exceeding the limit
- and send cached data upstream as early as possible
- Added observability for dropping oversized requests (metrics/logs)
- Adjusted the DataWay POD YAML to improve its metric and log collection
1.3.6(2023/10/24)¶
- Added the DataWay
sinkmanagement command
1.3.5(2023/09/13)¶
- Added support for installing DataWay in Kubernetes via environment variable injection
- Released a new dataway.yaml
1.3.4(2023/09/01)¶
- Upgraded Golang to 1.9
- Fixed the issue where the inner token had no data
- The following configurations have been adjusted in the default configuration:
- The default API rate limit has been increased to 100K
- The default maximum Body size has been increased to 64MB
- Added an HTTP timeout setting (from DataWay to the center), defaulting to 30s
- Added a configuration to ignore TLS 509 errors
1.3.3(2023/09/01)¶
- Fixed the
curlissue in image packaging
1.3.2(2023/08/30)¶
- Added the
curlcommand to the image for viewing self-metrics
1.3.1(2023/08/28)¶
- Added Sinker functionality for URLs
1.3.0(2023/08/24)¶
- Refactored the entire DataWay implementation and added Sinker functionality
1.2.12(2023/08/28)¶
- Refactored the CI release process to enable dual publishing of the install script
1.2.8(2022/09/18)¶
-
Updates to the
/v1/wirteendpoint:- Removed the redundant
/v1/write/xxxAPI and added the/v1/write/:categoryendpoint - Written data is no longer decoded using the line protocol, but the Body is still read for signing
- Removed the redundant
-
Disk cache:
- Added a consumption pause policy when sending to the center fails during cache cleanup; the next cache is not cleaned until the current cached request is sent successfully
- Updated the pbcache proto file