datadog 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -2
- data/ext/libdatadog_api/crashtracker.c +3 -5
- data/ext/libdatadog_extconf_helpers.rb +1 -1
- data/lib/datadog/appsec/processor/context.rb +0 -2
- data/lib/datadog/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23fdb98e800ed71c28238b4b61e7f1187b27833d8e98c14e0f60d43ce838d4cd
|
4
|
+
data.tar.gz: ed99ae40d1e94aedcf27f8bcdeb70059c02ad116e8648621e37d22d5be1f69ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df3d8bc5efb89bb7a893b006484d3d826acf7beb57d6abbf8b25c2e9a277a95f7f681d6262d5dd08485aaf5526c677edf641711435e67674f1043c1fbf1ba55f
|
7
|
+
data.tar.gz: 02b397ae85a8ced3f6112beb899826c86ba137be36c229a85150cdc708dadd937e9860775bdfd02d7475bb4f7c890b1019901ec146acb5ad21bdd192906aa339
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,16 @@
|
|
2
2
|
|
3
3
|
## [Unreleased]
|
4
4
|
|
5
|
+
## [2.6.0] - 2024-11-06
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
|
9
|
+
* Core: Upgrade to libdatadog 14.0 ([#4065][])
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
* AppSec: Remove unintentional libddwaf require ([#4078][])
|
14
|
+
|
5
15
|
## [2.5.0] - 2024-11-05
|
6
16
|
|
7
17
|
### Added
|
@@ -3003,7 +3013,8 @@ Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.3.1
|
|
3003
3013
|
Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
|
3004
3014
|
|
3005
3015
|
|
3006
|
-
[Unreleased]: https://github.com/DataDog/dd-trace-rb/compare/v2.
|
3016
|
+
[Unreleased]: https://github.com/DataDog/dd-trace-rb/compare/v2.6.0...master
|
3017
|
+
[2.6.0]: https://github.com/DataDog/dd-trace-rb/compare/v2.5.0...v2.6.0
|
3007
3018
|
[2.5.0]: https://github.com/DataDog/dd-trace-rb/compare/v2.4.0...v2.5.0
|
3008
3019
|
[2.4.0]: https://github.com/DataDog/dd-trace-rb/compare/v2.3.0...v2.4.0
|
3009
3020
|
[2.3.0]: https://github.com/DataDog/dd-trace-rb/compare/v2.2.0...v2.3.0
|
@@ -4445,6 +4456,8 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
|
|
4445
4456
|
[#4024]: https://github.com/DataDog/dd-trace-rb/issues/4024
|
4446
4457
|
[#4027]: https://github.com/DataDog/dd-trace-rb/issues/4027
|
4447
4458
|
[#4033]: https://github.com/DataDog/dd-trace-rb/issues/4033
|
4459
|
+
[#4065]: https://github.com/DataDog/dd-trace-rb/issues/4065
|
4460
|
+
[#4078]: https://github.com/DataDog/dd-trace-rb/issues/4078
|
4448
4461
|
[@AdrianLC]: https://github.com/AdrianLC
|
4449
4462
|
[@Azure7111]: https://github.com/Azure7111
|
4450
4463
|
[@BabyGroot]: https://github.com/BabyGroot
|
@@ -4596,4 +4609,4 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
|
|
4596
4609
|
[@y-yagi]: https://github.com/y-yagi
|
4597
4610
|
[@yujideveloper]: https://github.com/yujideveloper
|
4598
4611
|
[@yukimurasawa]: https://github.com/yukimurasawa
|
4599
|
-
[@zachmccormick]: https://github.com/zachmccormick
|
4612
|
+
[@zachmccormick]: https://github.com/zachmccormick
|
@@ -67,12 +67,10 @@ static VALUE _native_start_or_update_on_fork(int argc, VALUE *argv, DDTRACE_UNUS
|
|
67
67
|
// The Ruby crash handler also seems to get confused when this option is enabled and
|
68
68
|
// "Process.kill('SEGV', Process.pid)" gets run.
|
69
69
|
.create_alt_stack = false,
|
70
|
+
.use_alt_stack = true, // NOTE: This is a no-op in libdatadog 14.0; should be fixed in a future version
|
70
71
|
.endpoint = endpoint,
|
71
72
|
.resolve_frames = DDOG_CRASHT_STACKTRACE_COLLECTION_ENABLED_WITH_SYMBOLS_IN_RECEIVER,
|
72
|
-
.
|
73
|
-
// Waits for crash tracker to finish reporting the issue before letting the Ruby process die; see
|
74
|
-
// https://github.com/DataDog/libdatadog/pull/477 for details
|
75
|
-
.wait_for_receiver = true,
|
73
|
+
.timeout_ms = FIX2INT(upload_timeout_seconds) * 1000,
|
76
74
|
};
|
77
75
|
|
78
76
|
ddog_crasht_Metadata metadata = {
|
@@ -97,7 +95,7 @@ static VALUE _native_start_or_update_on_fork(int argc, VALUE *argv, DDTRACE_UNUS
|
|
97
95
|
|
98
96
|
ddog_crasht_Result result =
|
99
97
|
action == start_action ?
|
100
|
-
|
98
|
+
ddog_crasht_init(config, receiver_config, metadata) :
|
101
99
|
ddog_crasht_update_on_fork(config, receiver_config, metadata);
|
102
100
|
|
103
101
|
// Clean up before potentially raising any exceptions
|
@@ -8,7 +8,7 @@ module Datadog
|
|
8
8
|
module LibdatadogExtconfHelpers
|
9
9
|
# Used to make sure the correct gem version gets loaded, as extconf.rb does not get run with "bundle exec" and thus
|
10
10
|
# may see multiple libdatadog versions. See https://github.com/DataDog/dd-trace-rb/pull/2531 for the horror story.
|
11
|
-
LIBDATADOG_VERSION = '~>
|
11
|
+
LIBDATADOG_VERSION = '~> 14.0.0.1.0'
|
12
12
|
|
13
13
|
# Used as an workaround for a limitation with how dynamic linking works in environments where the datadog gem and
|
14
14
|
# libdatadog are moved after the extension gets compiled.
|
data/lib/datadog/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datadog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Datadog, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 14.0.0.1.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 14.0.0.1.0
|
69
69
|
description: |
|
70
70
|
datadog is Datadog's client library for Ruby. It includes a suite of tools
|
71
71
|
which provide visibility into the performance and security of Ruby applications,
|
@@ -895,8 +895,8 @@ licenses:
|
|
895
895
|
- Apache-2.0
|
896
896
|
metadata:
|
897
897
|
allowed_push_host: https://rubygems.org
|
898
|
-
changelog_uri: https://github.com/DataDog/dd-trace-rb/blob/v2.
|
899
|
-
source_code_uri: https://github.com/DataDog/dd-trace-rb/tree/v2.
|
898
|
+
changelog_uri: https://github.com/DataDog/dd-trace-rb/blob/v2.6.0/CHANGELOG.md
|
899
|
+
source_code_uri: https://github.com/DataDog/dd-trace-rb/tree/v2.6.0
|
900
900
|
post_install_message:
|
901
901
|
rdoc_options: []
|
902
902
|
require_paths:
|