honeycomb-beeline 3.0.1 → 3.1.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: 6be26f3bc54561c09f8c6c35ab53586a71fd46cbff7a6d926c9e38b4246d9f49
4
- data.tar.gz: bd9723d71f943492047ecad4c3634c54520346c6b3bd75a50bfb72498cffb339
3
+ metadata.gz: '08af02ad5ff2f13cb62cb4e8fd2db744ef4c6300d47089c671db811c64088535'
4
+ data.tar.gz: 7f2367a5e51c0e4aec9ee8c6724b60cd7b97148960fbeec077c7b5fb46be9883
5
5
  SHA512:
6
- metadata.gz: cd27f4f6844b6f691343e9fbdc2ea86b92a7a32e44005510d2e7d2270b0afa56a4ff1d7444608872f01cc053037a971d6c17a68d2548b3d3be34c327ed082989
7
- data.tar.gz: fd2ce5459d4a2c2762d3c4caf625d120ae3fa15149ec288ee62c4d1eceb4b01618f66465e2e056684c1e2faebf4dceb1351364987c58e3a371ad037e879f262e
6
+ metadata.gz: 4ab8b1dd5cffe6067248ac5d1d5aaa1a1b66feb5b9f335d52cb48aa004c1b60af9857a172f9b729e4d753dbfe58b624ce90e33648afde210b66073fcddae9456
7
+ data.tar.gz: 6216d0c4eef4b5c20cb922d92e713c813f377a25542b2b7db26fb9553bab59bb34f573d66a35e324d68c22e23782482985a7618e02ee1c4d07462e8451d43415
data/.github/CODEOWNERS CHANGED
@@ -2,4 +2,4 @@
2
2
  # This file controls who is tagged for review for any given pull request.
3
3
 
4
4
  # For anything not explicitly taken by someone else:
5
- * @honeycombio/telemetry-team
5
+ * @honeycombio/pipeline-team
data/.github/release.yml CHANGED
@@ -18,6 +18,8 @@ changelog:
18
18
  - title: 🛠 Maintenance
19
19
  labels:
20
20
  - "type: maintenance"
21
+ - "type: dependencies"
22
+ - "type: documentation"
21
23
  - title: 🤷 Other Changes
22
24
  labels:
23
- - "*"
25
+ - "*"
@@ -11,5 +11,5 @@ jobs:
11
11
  steps:
12
12
  - uses: actions/add-to-project@main
13
13
  with:
14
- project-url: https://github.com/orgs/honeycombio/projects/11
14
+ project-url: https://github.com/orgs/honeycombio/projects/27
15
15
  github-token: ${{ secrets.GHPROJECTS_TOKEN }}
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # beeline-ruby changelog
2
2
 
3
+ ## 3.1.0 2024-03-07
4
+
5
+ ⚠️ Minimum libhoney version is now 2.3.0 ⚠️
6
+
7
+ Previously the minimum libhoney was 1.14.2. Backwards-incompatible changes in [libhoney 2.0.0](https://github.com/honeycombio/libhoney-rb/releases/tag/v2.0.0):
8
+
9
+ * Removal of the deprecated Array input for http proxy configuration.
10
+ * If you are using the Beeline in services that must send web traffic through an out-going proxy, see [libhoney 1.x proxy_config deprecation warning](https://github.com/honeycombio/libhoney-rb/blob/v1.21.0/lib/libhoney/client.rb#L273-L276) for recommended configuration.
11
+ * Drop support for Ruby versions 2.2 and 2.3.
12
+ * Beeline Ruby already requires a minimum Ruby 2.5.
13
+
14
+ ### Enhancements
15
+
16
+ - feat: support classic ingest keys (#238) | Robb Kidd
17
+
18
+ ### Maintenance
19
+
20
+ - maint: add labels to release.yml for auto-generated grouping (#239) | Jamie Danielson
21
+ - maint: update codeowners to pipeline-team (#237) | Jamie Danielson
22
+ - maint: update codeowners to pipeline (#236) | Jamie Danielson
23
+
3
24
  ## 3.0.1 2023-10-12
4
25
 
5
26
  ### Fixed
@@ -37,7 +37,7 @@ Gem::Specification.new do |spec|
37
37
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
38
38
  spec.require_paths = ["lib"]
39
39
 
40
- spec.add_dependency "libhoney", ">= 1.14.2"
40
+ spec.add_dependency "libhoney", ">= 2.3.0"
41
41
 
42
42
  spec.add_development_dependency "appraisal"
43
43
  spec.add_development_dependency "bump"
@@ -3,7 +3,7 @@
3
3
  module Honeycomb
4
4
  module Beeline
5
5
  NAME = "honeycomb-beeline"
6
- VERSION = "3.0.1"
6
+ VERSION = "3.1.0"
7
7
  USER_AGENT_SUFFIX = "#{NAME}/#{VERSION}"
8
8
  end
9
9
  end
@@ -33,7 +33,7 @@ module Honeycomb
33
33
  @libhoney.add_field "service.name", configuration.service_name
34
34
  @context = Context.new
35
35
 
36
- @context.classic = classic_write_key?(configuration.write_key)
36
+ @context.classic = configuration.classic?
37
37
 
38
38
  @additional_trace_options = {
39
39
  presend_hook: configuration.presend_hook,
@@ -128,9 +128,5 @@ module Honeycomb
128
128
  span.add_field("error_backtrace_limit", error_backtrace_limit)
129
129
  span.add_field("error_backtrace_total_length", exception.backtrace.length)
130
130
  end
131
-
132
- def classic_write_key?(write_key)
133
- write_key.nil? || write_key.length == 32
134
- end
135
131
  end
136
132
  end
@@ -24,7 +24,7 @@ module Honeycomb
24
24
  end
25
25
 
26
26
  def classic?
27
- @write_key.nil? || @write_key.length == 32
27
+ Libhoney.classic_api_key?(@write_key)
28
28
  end
29
29
 
30
30
  def service_name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeycomb-beeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Honeycomb.io Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-12 00:00:00.000000000 Z
11
+ date: 2024-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libhoney
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.14.2
19
+ version: 2.3.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 1.14.2
26
+ version: 2.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: appraisal
29
29
  requirement: !ruby/object:Gem::Requirement