Skip to content

Commit

Permalink
Bump version to 0.92.0 (#2283)
Browse files Browse the repository at this point in the history
* Prepare release 0.92.0

Signed-off-by: Bob Weinand <[email protected]>

* Update libdatadog submodule

Signed-off-by: Bob Weinand <[email protected]>

---------

Signed-off-by: Bob Weinand <[email protected]>
  • Loading branch information
bwoebi authored Sep 26, 2023
1 parent e7eb13f commit 14ec354
Show file tree
Hide file tree
Showing 9 changed files with 66 additions and 77 deletions.
34 changes: 17 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
members = ["components-rs", "profiling"]
resolver = "2"

[workspace.package]
rust-version = "1.69"
edition = "2021"
# Irrelevant version and license. These do NOT apply here, they just are here to make cargo build pass.
version = "0.0.1"
license = "Apache-2.0"

[profile.dev]
debug = 2 # full debug info

Expand Down
2 changes: 1 addition & 1 deletion appsec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ HunterGate(
URL "https://github.com/cpp-pm/hunter/archive/v0.23.314.tar.gz"
SHA1 "95c47c92f68edb091b5d6d18924baabe02a6962a")

project(ddappsec VERSION 0.91.0)
project(ddappsec VERSION 0.92.0)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_C_STANDARD 11)
Expand Down
6 changes: 6 additions & 0 deletions components-rs/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,13 @@ typedef struct ddog_Error {
* so every operation on it is unsafe!
*/
typedef struct ddog_Slice_CChar {
/**
* Must be non-null and suitably aligned for the underlying type.
*/
const char *ptr;
/**
* The number of elements (not bytes) that `.ptr` points to.
*/
uintptr_t len;
} ddog_Slice_CChar;

Expand Down
2 changes: 1 addition & 1 deletion ext/version.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef PHP_DDTRACE_VERSION
// Must begin with a number for Debian packaging requirements
#define PHP_DDTRACE_VERSION "0.91.0"
#define PHP_DDTRACE_VERSION "0.92.0"
#endif
2 changes: 1 addition & 1 deletion libdatadog
Submodule libdatadog updated 58 files
+239 −129 Cargo.lock
+9 −0 Cargo.toml
+531 −43 LICENSE-3rdparty.yml
+1 −1 README.md
+4 −3 ddcommon-ffi/Cargo.toml
+1 −1 ddcommon-ffi/src/error.rs
+16 −15 ddcommon-ffi/src/slice.rs
+4 −0 ddcommon-ffi/src/vec.rs
+4 −3 ddcommon/Cargo.toml
+4 −2 ddtelemetry-ffi/Cargo.toml
+4 −3 ddtelemetry/Cargo.toml
+1 −0 ddtelemetry/src/data/metrics.rs
+2 −0 ddtelemetry/src/metrics.rs
+2 −1 ddtelemetry/src/worker/mod.rs
+20 −10 examples/ffi/exporter.cpp
+13 −4 examples/ffi/profiles.c
+4 −3 profiling-ffi/Cargo.toml
+2 −1 profiling-ffi/cbindgen.toml
+19 −6 profiling-ffi/src/exporter.rs
+76 −22 profiling-ffi/src/profiles.rs
+4 −3 profiling-replayer/Cargo.toml
+5 −4 profiling-replayer/src/main.rs
+52 −29 profiling-replayer/src/replayer.rs
+4 −3 profiling/Cargo.toml
+2 −2 profiling/examples/profiles.rs
+4 −3 profiling/src/collections/identifiable/mod.rs
+19 −5 profiling/src/exporter/mod.rs
+1 −0 profiling/src/lib.rs
+1 −0 profiling/src/profile/api.rs
+75 −0 profiling/src/profile/internal/observation/observations.rs
+24 −0 profiling/src/profile/internal/observation/trimmed_observation.rs
+40 −46 profiling/src/profile/internal/upscaling.rs
+187 −229 profiling/src/profile/mod.rs
+9 −0 profiling/src/profile/pprof/mod.rs
+0 −0 profiling/src/profile/pprof/profile.proto
+0 −0 profiling/src/profile/pprof/proto.rs
+153 −0 profiling/src/profile/pprof/sliced_proto.rs
+20 −0 profiling/src/profile/pprof/test_utils.rs
+29 −0 profiling/src/serializer/compressed_streaming_encoder.rs
+6 −0 profiling/src/serializer/mod.rs
+13 −2 profiling/tests/form.rs
+5 −5 ruby/Rakefile
+1 −1 ruby/lib/libdatadog/version.rb
+4 −2 tools/Cargo.toml
+8 −17 trace-mini-agent/src/config.rs
+4 −6 trace-mini-agent/src/trace_processor.rs
+4 −2 trace-normalization/Cargo.toml
+9 −2 trace-obfuscation/Cargo.toml
+174 −0 trace-obfuscation/src/http.rs
+6 −0 trace-obfuscation/src/lib.rs
+40 −0 trace-obfuscation/src/memcached.rs
+150 −0 trace-obfuscation/src/obfuscate.rs
+57 −0 trace-obfuscation/src/obfuscation_config.rs
+658 −0 trace-obfuscation/src/redis.rs
+442 −0 trace-obfuscation/src/redis_tokenizer.rs
+19 −14 trace-obfuscation/src/replacer.rs
+4 −2 trace-protobuf/Cargo.toml
+4 −2 trace-utils/Cargo.toml
86 changes: 31 additions & 55 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,79 +62,55 @@
<license uri="https://github.com/DataDog/dd-trace-php/blob/master/LICENSE">BSD 3-Clause</license>
<notes>
<![CDATA[
This release adds an enhanced WordPress integration, which can be enabled through datadog.trace.wordpress_enhanced_integration=1 in INI. Even more extensive span collection can be enabled through datadog.trace.wordpress_callbacks=1.
This release adds experimental exception profiling to the profiler. This is off by default. Enable it with the environment variable DD_PROFILING_EXPERIMENTAL_EXCEPTION_ENABLED=1 or INI setting datadog.profiling.experimental_exception_enabled=1.
In Application Security Management, this release introduces the latest version of the WAF v1.14.0 and the latest ASM ruleset v1.8.0, as well as a fix to ensure runtime IDs reported by the remote configuration client are always valid and consistent with those reported by the Tracer.
## Tracer
### Added
- Add automated login events to Wordpress #2162
- Enhance the WordPress Integration #2126
- Implement agent sampling #2223
- Add Laravel 9.X & 10.X tests #2237
- Add http.route to laravel #2204 #2241
- Add Drupal Integration #2188
- Implement sidecar tracing #2234
- This functionality is currently experimental and guarded behind a configuration option DD_TRACE_SIDECAR_TRACE_SENDER=1 or INI setting datadog.trace.sidecar_trace_sender=1. It replaces the sending of traces through a dedicated thread.
### Fixed
- (Legacy OpenTracing API) Check if the active span has a parent #2177
- Handle killed workers and change root span initialization in the integrations #2176
- fix: add Symfony command's exception to the root span #2194
- Fix #2174: Can't pass less args to an untyped function than originally passed #2227, #2243
- Fix #2232: Add Cargo.lock to pecl #2233
- fix: wrong service name on some laravel.event.handle spans #2235
- fix: PHP7 compatibility in logs correlation #2236
- Store library_dependencies in memfd, referenced via /proc/self/fd/X DataDog/libdatadog#221
- fix `datadog-setup.php` when INI file is a symlink #2242
- update webpki and other dependencies #2247
- Do not emit a deprecated diagnostic for DD_LOGS_INJECTION #2253
- Set peer.service as dddbs when available #2260
- Fix toggling datadog.trace.enabled with perdir configuration #2269
- Enable auto flush for artisan commands #2270
### Internal Changes
- Add log levels #2158
- Add `zai_option_str` and use it in config #2205, #2213
- Refactor zai_string_view APIs and use them more #2203
- Rename zai_string_view to zai_str #2206, #2207, #2212
- Require zai_str.ptr to not be null #2214
- Add zai_string and use it in zai_config #2217
- Fix tests: allocate less TLS space by putting uhook HashTables into module globals #2219
- Add sidecar metrics into their own namespace, fix seq id Datadog/libdatadog#220
### Internal changes
- Keep doctrine/dbal to major version 2 in symfony 5.2 tests #2254
- docs: Explain minimum and nice-to-have from LLVM #2264
## Profiling
This release reduces CPU overhead to collect stacks, and also reduces overhead when services are idle or partially idle. It also reduces the average amount of memory used.
### Added
- attach fiber's function name as a label #2169
- Add exception profiling #2197, #2262
- Do not disable allocation profiling on fixed PHP versions with active JIT #2246
### Fixed
- enable allocation profiling only if profiling is enabled #2185
- enable timeline only if profiling is enabled and lower overhead when disabled #2189
- fix empty profiles with timeline due to `end_timestamp_ns` unit being set #2244
- Add missing `end_timestamp_ns` to string compilation event #2251
- store customized heap #2261
- remove “BETA” in `datadog-setup.php` as the profiler is not beta anymore #2278
- use-after-free with Closure trampolines #2280
### Internal changes
- perf: speed up stack walking by using function run_time_cache #1998, #2182
- perf: only wake every 10ms if PHP is serving a request #2168
- refactor: extract ZaiStringView::to_string #2175
- build: update Cargo.lock #2183
- refactor: simplify string tables #2186
- perf: use u32 instead of usize for string table indices #2187
- test: add Datadog\Profiling\trigger_time_sample #2201
- build: Update to Rust 1.71 / LLVM 16 #2208
- Bump libdatadog to v3.0.0 #2210
- fix(profiling): clippy lints #2215
- style(profiler): use let-else syntax #2216
- build(profiling): bump dependencies including libdatadog v4.0.0 #2228
## Application Security Management (0.13.1)
- add tests for timeline #2192
## Application Security Management (0.14.0)
### Added
- Add trusted IPs capability DataDog/dd-appsec-php#279
- Add extra_services configuration DataDog/dd-appsec-php#282
- Add default processors and scanners DataDog/dd-appsec-php#298
- Exchange more types between extension and helper DataDog/dd-appsec-php#299
- API security configuration settings DataDog/dd-appsec-php#300
### Fixed
- Ensure ddtrace is also enabled DataDog/dd-appsec-php#281
- Fix service name alias configuration DataDog/dd-appsec-php#293
- Propagate Runtime IDs and keep a valid pool in the RC client DataDog/dd-appsec-php#301
### Internal changes
- Add automated login events integration test for Laravel and Symfony DataDog/dd-appsec-php#270
- Upload suppressions and fix current ones DataDog/dd-appsec-php#280
- WAF upgrade to 1.13.1 Datadog/dd-appsec-php#292
- Send events even when limiter does not force manual keep Datadog/dd-appsec-php#290
- Update ruleset to 1.7.2 Datadog/dd-appsec-php#291
- Add nginx container to integration tests DataDog/dd-appsec-php#294
- Upgrade WAF to 1.14.0 DataDog/dd-appsec-php#295
- Upgrade tracer to v0.91.0 and remove master build downloads DataDog/dd-appsec-php#296
- Upgrade ruleset to 1.8.0 DataDog/dd-appsec-php#302
- Merge appsec repository as subtree #2267
]]></notes>
<contents>
<dir name="/">
Expand Down
2 changes: 1 addition & 1 deletion profiling/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "datadog-php-profiling"
version = "0.91.0"
version = "0.92.0"
edition = "2021"
license = "Apache-2.0"
rust-version = "1.64"
Expand Down
2 changes: 1 addition & 1 deletion src/DDTrace/Tracer.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class Tracer implements TracerInterface
* Must begin with a number for Debian packaging requirements
* Must use single-quotes for packaging script to work
*/
const VERSION = '0.91.0';
const VERSION = '0.92.0';

/**
* @var Span[][]
Expand Down

0 comments on commit 14ec354

Please sign in to comment.