opentelemetry-api 1.2.3 → 1.2.5

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: d815d2f6c451dd7a9fdf8b8a52d787c1bc987a1b50410c9cd1b83f45ad5b0c81
4
- data.tar.gz: b6f8f18ee2775139a7db71a579a25b70da4731db45da8d8ce85c344fd299b4f4
3
+ metadata.gz: 4073de07d64a346eb7d13e029b4ce97f67dd67355e604b2d65eccd24b3deb5e2
4
+ data.tar.gz: 2aa5e9ba4a5a98ea12f8eb7bc9bd412bb62e3e63fb4a4c6c70f517f47778f9a3
5
5
  SHA512:
6
- metadata.gz: 45bb8a51d0c888adf710350cfa852876803759b852fb91b8842f972aa1608bd8ef89cd7433303418e9cf150ed8fbcf2a32722258a1e096537ec0263c43b53364
7
- data.tar.gz: 51190de116416d20d4d3b333b4f0f819d865669ac5357c92c96c8e11e1397fb6feee3497f88d22e717cf74d50e5d8814bb42b5a8f7a01c353f0da5d31b146307
6
+ metadata.gz: e8d441cc5cfaac90321169718d9d9e8be9da64223ca7cae83c79932145e37ea15df4617dc594b1131d64af04dd8017841c1ba98a920466ca441fe8b389fa81d6
7
+ data.tar.gz: '079035a49a05e2cf6bc9f388cb96165e4bdd8d8ab2c993c8dc76463bc59efdd959ba6312ab72d72d90623a833b6f0723c1d2207f80e0b8045a95426cce0af33f'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release History: opentelemetry-api
2
2
 
3
+ ### v1.2.5 / 2024-02-20
4
+
5
+ * FIXED: Replace Context stack on clear
6
+
7
+ ### v1.2.4 / 2024-02-06
8
+
9
+ * FIXED: SystemStackError in Composite Text Map Propagator (#1590)
10
+
3
11
  ### v1.2.3 / 2023-09-18
4
12
 
5
13
  * FIXED: Optimize span and trace ID generation
@@ -97,7 +97,7 @@ module OpenTelemetry
97
97
  # @return [Array<String>] a list of fields that will be used by this propagator.
98
98
  def fields
99
99
  injectors = @injectors || @propagators
100
- injectors.flat_map(&fields).uniq
100
+ injectors.flat_map(&:fields).uniq
101
101
  end
102
102
  end
103
103
  end
@@ -113,8 +113,11 @@ module OpenTelemetry
113
113
  current.value(key)
114
114
  end
115
115
 
116
+ # Clears the fiber-local Context stack. This allocates a new array for the
117
+ # stack, which is important in some use-cases to avoid sharing the backing
118
+ # array between fibers.
116
119
  def clear
117
- stack.clear
120
+ Thread.current[STACK_KEY] = []
118
121
  end
119
122
 
120
123
  def empty
@@ -6,5 +6,5 @@
6
6
 
7
7
  module OpenTelemetry
8
8
  ## Current OpenTelemetry version
9
- VERSION = '1.2.3'
9
+ VERSION = '1.2.5'
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-19 00:00:00.000000000 Z
11
+ date: 2024-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: benchmark-ipsa
@@ -201,10 +201,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
201
201
  licenses:
202
202
  - Apache-2.0
203
203
  metadata:
204
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.2.3/file.CHANGELOG.html
204
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.2.5/file.CHANGELOG.html
205
205
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/api
206
206
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
207
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.2.3
207
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-api/v1.2.5
208
208
  post_install_message:
209
209
  rdoc_options: []
210
210
  require_paths: