Skip to content

Commit 42c7c25

Browse files
authored
Bump to 1.17.1 (#3774)
Signed-off-by: Bob Weinand <[email protected]>
1 parent 96e9428 commit 42c7c25

File tree

3 files changed

+14
-60
lines changed

3 files changed

+14
-60
lines changed

CHANGELOG.md

Lines changed: 8 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,24 @@
11
Changelog for older versions can be found in our [release page](https://github.com/DataDog/dd-trace-php/releases).
22

33
## All products
4-
### Changed
5-
- Cache system getenv calls for improved request initialization performance #3670
64

75
### Fixed
8-
- Fix zombie creation in loader #3683
6+
- Fix SSI crashing on apache reload; add SSI int tests for appsec #3724, #3733
7+
- Fix entity_id handling for Podman cgroupns=host cgroup path DataDog/libdatadog#1828
98

109
### Internal
1110
- Changed defaults of configurations and fixed DD_TRACE_HTTP_CLIENT_ERROR_STATUSES #3621, #3677
1211

1312
## Tracer
14-
### Added
15-
- Collect framework endpoints for Symfony, Laravel, and WordPress #3548
16-
- Add sidecar thread mode as fallback connection for restricted environments #3573
17-
- Add process_tags #3580, #3582, #3627, #3658, #3706, #3709
18-
- Add `_dd.p.ksr` propagated tag for Knuth sampling rate #3701
19-
- Add container tags support for DBM correlation #3708
20-
21-
### Changed
22-
- Optimize Symfony http.route caching with path map approach #3676
23-
- Change the sidecar communication protocol #3695, DataDog/libdatadog#1742
24-
2513
### Fixed
26-
- Poll for new remote config after unblocking SIGVTALRM #3717
27-
- Fix crash during shutdown in FrankenPHP #3662
28-
- Fix possible race condition leading to crash on sidecar reconnect in ZTS mode #3655
29-
- Fix possible crash in end hook of traced closure #3624
30-
- Fix hook is_internal being backwards #3625
31-
- Enforce span limit in curl_multi_exec and DDTrace\start_span code paths #3691
32-
- Prevent dangling tracked_streams #3689
33-
- Fix debugger ephemerals handling for nested log probes #3685
34-
- Block sidecar notification signal during sleep to prevent premature wakeup #3656
35-
- Fix sidecar permission denied with IIS AppPools DataDog/libdatadog#1776
36-
- Cleanup limiters on sidecar shutdown DataDog/libdatadog#1659
37-
- Fix function and type name ordering in debugger DataDog/libdatadog#1715
14+
- Fix _dd.p.ksr scientific notation for very small sampling rates #3721
15+
- Fixed shell_exec() null return being interpreted as error #3723
16+
- Batch endpoint collection & remove Wordpress Endpoint collection #3764
17+
- Fix sidecar performance by batching ack sending & consumption DataDog/libdatadog#1835
3818

3919
## Profiler
40-
### Added
41-
- Add I/O profiling support for macOS #3648
42-
- Add process_tags to profiler uploader #3609
43-
- Improve time sample accuracy by also gathering during allocation samples #3559
44-
45-
### Fixed
46-
- Store and restore errno in I/O profiling wrappers #3654
47-
48-
### Internal
49-
- Add internal metrics for profiling overhead #3616
50-
- Avoid copy of function name when already UTF-8 encoded #3700
51-
- Use libdd-profiling's ThinStr for function names #3631
52-
- Shrink maximum file and function name length to 16,383 characters #3712
53-
- Refactor ErrnoBackup::new is safe #3659
54-
- Remove once_cell as a dependency #3607
55-
56-
## AppSec
57-
### Added
58-
- Support parsing partial JSON #3680
59-
- Enable LLM event observability for OpenAI PHP client #3664
60-
61-
### Changed
62-
- Revert DD_APPSEC_ENABLED to runtime config #3598
63-
6420
### Fixed
65-
- Send response headers on meta even without event #3653
21+
- Fix crash due to AAS getenv #3746
6622

6723
### Internal
68-
- Rewrite AppSec helper in Rust #3581
69-
- Submit worker count and route AppSec metrics directly to sidecar #3530
70-
- Upgrade libxml2 #3690
24+
- Update libdatadog to v30.0, make CA root optional for profiling #3758

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.17.0
1+
1.17.1

tooling/bin/build-debug-artifact

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ _preamble() { # $1 = shell commands before product-specific steps
209209
if [[ "$libc" == "musl" ]]; then
210210
printf 'set -e\n. /root/.bashrc\nswitch_php %s\n%s' "${thread_safety}" "$1"
211211
else
212-
printf 'set -e\nswitch-php %s\n%s' "${thread_safety}" "$1"
212+
printf 'set -e\nswitch-php %s\nsudo chown circleci: /home/circleci/app/tmp /rust/cargo/registry\n%s' "${thread_safety}" "$1"
213213
fi
214214
}
215215

@@ -256,7 +256,7 @@ _common_volumes=(
256256
--platform "$DOCKER_PLATFORM"
257257
-v "${REPO_ROOT}:${HOME_DIR}"
258258
-v "${CACHE_VOLUME}:${HOME_DIR}/tmp"
259-
-v "ddtrace-cargo-registry:/rust/cargo/registry"
259+
-v "ddtrace-cargo-registry-$libc:/rust/cargo/registry"
260260
-v "${TMP_OUT}:/output"
261261
)
262262

@@ -270,13 +270,13 @@ if [[ "$_should_generate" == "1" ]]; then
270270
bash -c "make generate"
271271
fi
272272

273-
_launch "trace" docker run --rm "${_common_volumes[@]}" "$DOCKER_IMAGE" "$DOCKER_SHELL" -c "$TRACE_SCRIPT"
273+
_launch "trace" docker run $([[ "$libc" == "musl" ]] || echo -w "/home/circleci/app") --rm "${_common_volumes[@]}" "$DOCKER_IMAGE" "$DOCKER_SHELL" -c "$TRACE_SCRIPT"
274274

275275
[[ "$BUILD_PROFILER" == "1" ]] && \
276-
_launch "profiler" docker run --rm "${_common_volumes[@]}" "$DOCKER_IMAGE" "$DOCKER_SHELL" -c "$PROFILER_SCRIPT"
276+
_launch "profiler" docker run $([[ "$libc" == "musl" ]] || echo -w "/home/circleci/app") --rm "${_common_volumes[@]}" "$DOCKER_IMAGE" "$DOCKER_SHELL" -c "$PROFILER_SCRIPT"
277277

278278
if [[ "$BUILD_APPSEC" == "1" ]]; then
279-
_launch "appsec" docker run --rm "${_common_volumes[@]}" "$DOCKER_IMAGE" "$DOCKER_SHELL" -c "$APPSEC_SCRIPT"
279+
_launch "appsec" docker run $([[ "$libc" == "musl" ]] || echo -w "/home/circleci/app") --rm "${_common_volumes[@]}" "$DOCKER_IMAGE" "$DOCKER_SHELL" -c "$APPSEC_SCRIPT"
280280

281281
# TODO rust helper soon
282282
_launch "helper" docker run --rm \

0 commit comments

Comments
 (0)