opentelemetry-api 1.2.4 → 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: 6153576db575ab97d4a32e9ff9faf7b042353a7d5bc200a6342f9eeab567fe6b
4
- data.tar.gz: b18156ff1ec12b988c6573fbe158bf0bb4538d7a02e9b01a1b67ced9aef9ef39
3
+ metadata.gz: 4073de07d64a346eb7d13e029b4ce97f67dd67355e604b2d65eccd24b3deb5e2
4
+ data.tar.gz: 2aa5e9ba4a5a98ea12f8eb7bc9bd412bb62e3e63fb4a4c6c70f517f47778f9a3
5
5
  SHA512:
6
- metadata.gz: 5f975be4d0d07f7f9803e757cf5a23cbeb7e172f06dedf6bad8892956b4036c1a606e2ec73bb2f8f0a5d9fbf504cdfae21077ff657e0fea603c1d1dce1480cfe
7
- data.tar.gz: 8b8ac1400b1eb86687411784c8a63bf5a4c41ba642e50e00a62d3694bb120243df2406e63336b83715e20c3674394241186c47371841ebc02231e94cb6ce6622
6
+ metadata.gz: e8d441cc5cfaac90321169718d9d9e8be9da64223ca7cae83c79932145e37ea15df4617dc594b1131d64af04dd8017841c1ba98a920466ca441fe8b389fa81d6
7
+ data.tar.gz: '079035a49a05e2cf6bc9f388cb96165e4bdd8d8ab2c993c8dc76463bc59efdd959ba6312ab72d72d90623a833b6f0723c1d2207f80e0b8045a95426cce0af33f'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-api
2
2
 
3
+ ### v1.2.5 / 2024-02-20
4
+
5
+ * FIXED: Replace Context stack on clear
6
+
3
7
  ### v1.2.4 / 2024-02-06
4
8
 
5
9
  * FIXED: SystemStackError in Composite Text Map Propagator (#1590)
@@ -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.4'
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.4
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: 2024-02-06 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.4/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.4
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: