Skip to content

Commit dd533cb

Browse files
authored
Merge pull request #3195 from DataDog/bump_to_version_1.15.0
Bump to version 1.15.0
2 parents 5e27525 + 30ab065 commit dd533cb

File tree

414 files changed

+591
-415
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

414 files changed

+591
-415
lines changed

CHANGELOG.md

Lines changed: 178 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,135 @@
22

33
## [Unreleased]
44

5+
## [1.15.0] - 2023-10-09
6+
7+
### Highlights
8+
9+
#### Timeline view for Profiler beta
10+
11+
As of ddtrace 1.15.0, the Profiler now supports gathering data for the new
12+
[Timeline view](https://docs.datadoghq.com/profiler/profile_visualizations/#timeline-view).
13+
14+
The Timeline view allows you to look at time-based patterns and work distribution over the period of a single profile: you can look at what individual threads were doing, and when 🎉
15+
16+
You can use the timeline view both when looking at individual profiles, as well as when scoped to a given trace.
17+
18+
You can enable it:
19+
20+
* Using an environment variable by setting `DD_PROFILING_EXPERIMENTAL_TIMELINE_ENABLED=true`
21+
* Or via code by adding to your `Datadog.configure` block:
22+
23+
```ruby
24+
Datadog.configure do |c|
25+
# … existing configuration …
26+
c.profiling.advanced.experimental_timeline_enabled = true
27+
end
28+
```
29+
30+
Give it a try, let us know what you think!
31+
32+
(Note: We do not recommend enabling this feature prior to 1.15.0!)
33+
34+
#### google-protobuf dependency is no longer needed by the Profiler
35+
36+
As of ddtrace version 1.15.0, the `google-protobuf` gem is no longer needed to enable the Profiler.
37+
38+
If you've added this gem to your `Gemfile`/`gems.rb` file as part of enabling the Profiler, you can
39+
remove it now. (If you're curious, we've internally replaced this dependency with the `libdatadog` gem.)
40+
41+
#### Configure blocking responses for AppSec via configuration or Remote Configuration
42+
43+
As of dd-trace-rb 1.15.0, AppSec supports configuring the blocking response.
44+
45+
You can configure the blocking response via:
46+
- Using the ENV variables: `DD_APPSEC_HTTP_BLOCKED_TEMPLATE_HTML=#{file_name}`, and `DD_APPSEC_HTTP_BLOCKED_TEMPLATE_JSON=#{file_name}`
47+
- Via code by adding to your `Datadog.configure` block:
48+
49+
```ruby
50+
Datadog.configure do |c|
51+
# … existing configuration …
52+
c.appsec.block.templates.html = "#{file_name}"
53+
c.appsec.block.templates.json = "#{file_name}"
54+
end
55+
```
56+
57+
- Using the Remote configuration UI. This option allow you to configure the status code and the blocking behaviour. You can redirect malicious attacker to custome pages.
58+
You can find more information on the [official documentation](https://docs.datadoghq.com/security/application_security/threats/protection/#customize-protection-behavior)
59+
60+
#### Configure agentless mode for CI visibility
61+
62+
If you are using CI visibility with a cloud CI provider without access to the underlying worker nodes, such as GitHub Actions or CircleCI, configure the library to use the Agentless mode.
63+
64+
For this, set the following environment variables:
65+
- DD_CIVISIBILITY_AGENTLESS_ENABLED=true
66+
- DD_API_KEY=<your_api_key>
67+
68+
Additionally, configure which Datadog site you want to send your data to:
69+
- DD_SITE (default: datadoghq.com)
70+
71+
You can also enable agentless mode with `Datadog.configure` block:
72+
73+
```ruby
74+
Datadog.configure do |c|
75+
# … existing configuration …
76+
c.ci.agentless_mode_enabled = true
77+
# don't forget to set DD_API_KEY env variable!
78+
end
79+
```
80+
81+
### Added
82+
* Profiling: Import java-profiler PID controller and port it to C ([#3190][])
83+
* Tracing: Support Opensearch 3 ([#3189][])
84+
* bump datadog-ci dependency to 0.2 ([#3186][])
85+
* Enable allocation counting feature by default for some Ruby 3 versions ([#3176][])
86+
* Tracing: Introduce async configuration for test mode to use standard writer when needed ([#3158][])
87+
* Appsec: Update AppSec rules to 1.8.0 ([#3140][])
88+
* Appsec: Update AppSec rules to 1.7.2 ([#3139][])
89+
* Appsec: ASM API security. Schema extraction ([#3131][], [#3166][], [#3177][])
90+
* Tracing: peer.service adjustment for sql propagation with DBM ([#3127][])
91+
* Ci-app: CI visibility: validate git tags ([#3100][])
92+
* Appsec: Enable configuring blocking response via Remote Configuration ([#3099][])
93+
* Profiling: Record allocation type when sampling objects ([#3096][])
94+
* Appsec: Uppgrade libddwaf-rb version to 1.11.0 ([#3087][])
95+
* Profiling: Mergequeue-status: removed: Include 'ruby vm type' in profiler allocation samples ([#3074][])
96+
* Detect WebMock to disable telemetry and remote configuration ([#3065][])
97+
* Ensure Rails testing is considered a development environment ([#3062][])
98+
* Tracing: Implements `_dd.base_service` tag ([#3018][])
99+
* Appsec: Allow blocking response template configuration via ENV variables ([#2975][])
100+
* Ci-app: agentless mode ([#3186][])
101+
102+
### Changed
103+
* Appsec: skip passing waf addresses when the value is empty ([#3188][])
104+
* Tracing: Disable memcached command tag by default ([#3171][])
105+
* Profiling: Upgrade to libdatadog 5 ([#3169][])
106+
* Profiling: Restore support for Ruby 3.3 ([#3167][])
107+
* Bump debase-ruby_core_source dependency to 3.2.2 ([#3163][])
108+
* Profiling: Add approximate thread state categorization for timeline ([#3162][])
109+
* Tracing: remove variable helpers module from our configuration DSL ([#3152][])
110+
* Profiling: Tracing: ekump/decouple core transport ([#3150][])
111+
* Test:Remove explicit dependency on `addressable` ([#3148][])
112+
* Detect Cucumber as a development environment ([#3145][])
113+
* Tracing: rename core configuration option on_set to after_set ([#3107][])
114+
* Profiling: Upgrade to libdatadog 4 ([#3104][])
115+
* Profiling: Wire up allocation sampling into `CpuAndWallTimeWorker` ([#3103][])
116+
* Tracing: rename experimental_default_proc to default_proc ([#3091][])
117+
* remove `delegate_to` configuration option from our DSL ([#3086][])
118+
* Ci-app: Fix Datadog::CI::Environment to support the new CI specs ([#3080][])
119+
* Tracing: Use first valid extracted style for distributed tracing ([#2879][])
120+
121+
### Fixed
122+
* Profiling: Add workaround for incorrect invoke location when logging gem is in use ([#3183][])
123+
* Profiling: Fix missing endpoint profiling when request_queuing is enabled in rack instrumentation ([#3109][])
124+
* Appsec: Fix a bug with ASM span tags reporting the number of WAF failed loaded rules ([#3106][])
125+
* Tracing: Fix tagging with empty data ([#3102][])
126+
* Tracing: fix(grpc): allow custom error_handler for client interceptor ([#3095][])
127+
* Tracing: Correctly set `rails.cache.backend` span tag for multiple stores ([#3060][])
128+
129+
### Removed
130+
* Profiling: Remove legacy profiler codepath ([#3172][])
131+
* Ci-app: remove CI module and add a dependency on datadog-ci gem ([#3128][])
132+
* Tracing: Remove `depends_on` from Core Configuration option ([#3085][])
133+
5134
## [1.14.0] - 2023-08-24
6135

7136
### Added
@@ -2534,7 +2663,8 @@ Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.3.1
25342663
25352664
Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
25362665
2537-
[Unreleased]: https://github.com/DataDog/dd-trace-rb/compare/v1.14.0...master
2666+
[Unreleased]: https://github.com/DataDog/dd-trace-rb/compare/v1.15.0...master
2667+
[1.15.0]: https://github.com/DataDog/dd-trace-rb/compare/v1.14.0...v1.15.0
25382668
[1.14.0]: https://github.com/DataDog/dd-trace-rb/compare/v1.13.1...1.14.0
25392669
[1.13.1]: https://github.com/DataDog/dd-trace-rb/compare/v1.13.0...1.13.1
25402670
[1.13.0]: https://github.com/DataDog/dd-trace-rb/compare/v1.12.1...v1.13.0
@@ -3624,6 +3754,7 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
36243754
[#2874]: https://github.com/DataDog/dd-trace-rb/issues/2874
36253755
[#2875]: https://github.com/DataDog/dd-trace-rb/issues/2875
36263756
[#2877]: https://github.com/DataDog/dd-trace-rb/issues/2877
3757+
[#2879]: https://github.com/DataDog/dd-trace-rb/issues/2879
36273758
[#2882]: https://github.com/DataDog/dd-trace-rb/issues/2882
36283759
[#2883]: https://github.com/DataDog/dd-trace-rb/issues/2883
36293760
[#2890]: https://github.com/DataDog/dd-trace-rb/issues/2890
@@ -3659,6 +3790,7 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
36593790
[#2972]: https://github.com/DataDog/dd-trace-rb/issues/2972
36603791
[#2973]: https://github.com/DataDog/dd-trace-rb/issues/2973
36613792
[#2974]: https://github.com/DataDog/dd-trace-rb/issues/2974
3793+
[#2975]: https://github.com/DataDog/dd-trace-rb/issues/2975
36623794
[#2977]: https://github.com/DataDog/dd-trace-rb/issues/2977
36633795
[#2978]: https://github.com/DataDog/dd-trace-rb/issues/2978
36643796
[#2982]: https://github.com/DataDog/dd-trace-rb/issues/2982
@@ -3671,6 +3803,7 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
36713803
[#3005]: https://github.com/DataDog/dd-trace-rb/issues/3005
36723804
[#3007]: https://github.com/DataDog/dd-trace-rb/issues/3007
36733805
[#3011]: https://github.com/DataDog/dd-trace-rb/issues/3011
3806+
[#3018]: https://github.com/DataDog/dd-trace-rb/issues/3018
36743807
[#3019]: https://github.com/DataDog/dd-trace-rb/issues/3019
36753808
[#3020]: https://github.com/DataDog/dd-trace-rb/issues/3020
36763809
[#3022]: https://github.com/DataDog/dd-trace-rb/issues/3022
@@ -3685,8 +3818,51 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
36853818
[#3054]: https://github.com/DataDog/dd-trace-rb/issues/3054
36863819
[#3056]: https://github.com/DataDog/dd-trace-rb/issues/3056
36873820
[#3057]: https://github.com/DataDog/dd-trace-rb/issues/3057
3821+
[#3060]: https://github.com/DataDog/dd-trace-rb/issues/3060
36883822
[#3061]: https://github.com/DataDog/dd-trace-rb/issues/3061
3823+
[#3062]: https://github.com/DataDog/dd-trace-rb/issues/3062
3824+
[#3065]: https://github.com/DataDog/dd-trace-rb/issues/3065
36893825
[#3070]: https://github.com/DataDog/dd-trace-rb/issues/3070
3826+
[#3074]: https://github.com/DataDog/dd-trace-rb/issues/3074
3827+
[#3080]: https://github.com/DataDog/dd-trace-rb/issues/3080
3828+
[#3085]: https://github.com/DataDog/dd-trace-rb/issues/3085
3829+
[#3086]: https://github.com/DataDog/dd-trace-rb/issues/3086
3830+
[#3087]: https://github.com/DataDog/dd-trace-rb/issues/3087
3831+
[#3091]: https://github.com/DataDog/dd-trace-rb/issues/3091
3832+
[#3095]: https://github.com/DataDog/dd-trace-rb/issues/3095
3833+
[#3096]: https://github.com/DataDog/dd-trace-rb/issues/3096
3834+
[#3099]: https://github.com/DataDog/dd-trace-rb/issues/3099
3835+
[#3100]: https://github.com/DataDog/dd-trace-rb/issues/3100
3836+
[#3102]: https://github.com/DataDog/dd-trace-rb/issues/3102
3837+
[#3103]: https://github.com/DataDog/dd-trace-rb/issues/3103
3838+
[#3104]: https://github.com/DataDog/dd-trace-rb/issues/3104
3839+
[#3106]: https://github.com/DataDog/dd-trace-rb/issues/3106
3840+
[#3107]: https://github.com/DataDog/dd-trace-rb/issues/3107
3841+
[#3109]: https://github.com/DataDog/dd-trace-rb/issues/3109
3842+
[#3127]: https://github.com/DataDog/dd-trace-rb/issues/3127
3843+
[#3128]: https://github.com/DataDog/dd-trace-rb/issues/3128
3844+
[#3131]: https://github.com/DataDog/dd-trace-rb/issues/3131
3845+
[#3139]: https://github.com/DataDog/dd-trace-rb/issues/3139
3846+
[#3140]: https://github.com/DataDog/dd-trace-rb/issues/3140
3847+
[#3145]: https://github.com/DataDog/dd-trace-rb/issues/3145
3848+
[#3148]: https://github.com/DataDog/dd-trace-rb/issues/3148
3849+
[#3150]: https://github.com/DataDog/dd-trace-rb/issues/3150
3850+
[#3152]: https://github.com/DataDog/dd-trace-rb/issues/3152
3851+
[#3158]: https://github.com/DataDog/dd-trace-rb/issues/3158
3852+
[#3162]: https://github.com/DataDog/dd-trace-rb/issues/3162
3853+
[#3163]: https://github.com/DataDog/dd-trace-rb/issues/3163
3854+
[#3166]: https://github.com/DataDog/dd-trace-rb/issues/3166
3855+
[#3167]: https://github.com/DataDog/dd-trace-rb/issues/3167
3856+
[#3169]: https://github.com/DataDog/dd-trace-rb/issues/3169
3857+
[#3171]: https://github.com/DataDog/dd-trace-rb/issues/3171
3858+
[#3172]: https://github.com/DataDog/dd-trace-rb/issues/3172
3859+
[#3176]: https://github.com/DataDog/dd-trace-rb/issues/3176
3860+
[#3177]: https://github.com/DataDog/dd-trace-rb/issues/3177
3861+
[#3183]: https://github.com/DataDog/dd-trace-rb/issues/3183
3862+
[#3186]: https://github.com/DataDog/dd-trace-rb/issues/3186
3863+
[#3188]: https://github.com/DataDog/dd-trace-rb/issues/3188
3864+
[#3189]: https://github.com/DataDog/dd-trace-rb/issues/3189
3865+
[#3190]: https://github.com/DataDog/dd-trace-rb/issues/3190
36903866
[@AdrianLC]: https://github.com/AdrianLC
36913867
[@Azure7111]: https://github.com/Azure7111
36923868
[@BabyGroot]: https://github.com/BabyGroot
@@ -3838,4 +4014,4 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
38384014
[@y-yagi]: https://github.com/y-yagi
38394015
[@yujideveloper]: https://github.com/yujideveloper
38404016
[@yukimurasawa]: https://github.com/yukimurasawa
3841-
[@zachmccormick]: https://github.com/zachmccormick
4017+
[@zachmccormick]: https://github.com/zachmccormick

gemfiles/jruby_9.2.21.0_sinatra.gemfile.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gemfiles/jruby_9.2_activesupport.gemfile.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gemfiles/jruby_9.2_aws.gemfile.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gemfiles/jruby_9.2_contrib.gemfile.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gemfiles/jruby_9.2_contrib_old.gemfile.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gemfiles/jruby_9.2_core_old.gemfile.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gemfiles/jruby_9.2_hanami_1.gemfile.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gemfiles/jruby_9.2_http.gemfile.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gemfiles/jruby_9.2_opensearch_2.gemfile.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)