datadog 2.5.0 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1aa5227f68791f80fe6deb7f5a8b53e5adff15a7e443f78788f827888945c83
4
- data.tar.gz: 7931209b3685744b1aa17f709766d9a5da91b5b34987a8ac975032ebee0a7caa
3
+ metadata.gz: 23fdb98e800ed71c28238b4b61e7f1187b27833d8e98c14e0f60d43ce838d4cd
4
+ data.tar.gz: ed99ae40d1e94aedcf27f8bcdeb70059c02ad116e8648621e37d22d5be1f69ad
5
5
  SHA512:
6
- metadata.gz: '081740cc882d48f62d18f8a823696339346ad574f4ac5c67cd64430ee37f347ec33d6c536e3790f3697ea3a6cb72f2275a6b5b14808e48a4246cc20786fcc20b'
7
- data.tar.gz: c51018d1655343c234e45d72ab5dc9a27ebc465e253462eec483faf862e3c6fde0bbba6d4f3c1ca6656a6d7c33525a5942481a69beee7a7d889cbbe75c900ff7
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.5.0...master
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
- .timeout_secs = FIX2INT(upload_timeout_seconds),
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
- ddog_crasht_init_with_receiver(config, receiver_config, metadata) :
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 = '~> 13.1.0.1.0'
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.
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'libddwaf'
4
-
5
3
  module Datadog
6
4
  module AppSec
7
5
  class Processor
@@ -3,7 +3,7 @@
3
3
  module Datadog
4
4
  module VERSION
5
5
  MAJOR = 2
6
- MINOR = 5
6
+ MINOR = 6
7
7
  PATCH = 0
8
8
  PRE = nil
9
9
  BUILD = nil
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.5.0
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-05 00:00:00.000000000 Z
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: 13.1.0.1.0
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: 13.1.0.1.0
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.5.0/CHANGELOG.md
899
- source_code_uri: https://github.com/DataDog/dd-trace-rb/tree/v2.5.0
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: