Commit 4f16e2c
authored
fix(deps): Update module github.com/getsentry/sentry-go to v0.46.0 (#2493)
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [github.com/getsentry/sentry-go](https://redirect.github.com/getsentry/sentry-go) | `v0.44.1` → `v0.46.0` |  |  |
---
### Release Notes
<details>
<summary>getsentry/sentry-go (github.com/getsentry/sentry-go)</summary>
### [`v0.46.0`](https://redirect.github.com/getsentry/sentry-go/releases/tag/v0.46.0): 0.46.0
[Compare Source](https://redirect.github.com/getsentry/sentry-go/compare/v0.45.1...v0.46.0)
##### Breaking Changes 🛠
- Remove SetExtra by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1274](https://redirect.github.com/getsentry/sentry-go/pull/1274)
- Update compatibility policy to align with Go, supporting only the last two major Go versions by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1264](https://redirect.github.com/getsentry/sentry-go/pull/1264)
- Drop support for Go 1.24 by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1264](https://redirect.github.com/getsentry/sentry-go/pull/1264)
##### New Features ✨
- Add internal\_sdk\_error client report on serialization fail by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1273](https://redirect.github.com/getsentry/sentry-go/pull/1273)
- Add grpc integration support by [@​ribice](https://redirect.github.com/ribice) in [#​938](https://redirect.github.com/getsentry/sentry-go/pull/938)
- Re-enable Telemetry Processor by default. To disable the behavior use the `DisableTelemetryBuffer` flag by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1254](https://redirect.github.com/getsentry/sentry-go/pull/1254)
- Simplify client DSN storage to `internal/protocol.Dsn` and make it safe to access by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1254](https://redirect.github.com/getsentry/sentry-go/pull/1254)
##### Internal Changes 🔧
##### Deps
- Bump github.com/labstack/echo/v5 from 5.0.0 to 5.0.3 in /echo by [@​dependabot](https://redirect.github.com/dependabot) in [#​1253](https://redirect.github.com/getsentry/sentry-go/pull/1253)
- Bump github.com/labstack/echo/v5 from 5.0.0 to 5.0.3 in /crosstest by [@​dependabot](https://redirect.github.com/dependabot) in [#​1272](https://redirect.github.com/getsentry/sentry-go/pull/1272)
- Bump golangci-lint action from 2.1.1 to 2.11.4 by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1265](https://redirect.github.com/getsentry/sentry-go/pull/1265)
- Bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.43.0 in /otel by [@​dependabot](https://redirect.github.com/dependabot) in [#​1256](https://redirect.github.com/getsentry/sentry-go/pull/1256)
- Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp from 1.40.0 to 1.43.0 in /otel/otlp by [@​dependabot](https://redirect.github.com/dependabot) in [#​1255](https://redirect.github.com/getsentry/sentry-go/pull/1255)
##### Other
- Improve ci by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1271](https://redirect.github.com/getsentry/sentry-go/pull/1271)
- Add crosstest package by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1269](https://redirect.github.com/getsentry/sentry-go/pull/1269)
- Add sentrytest package by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1267](https://redirect.github.com/getsentry/sentry-go/pull/1267)
### [`v0.45.1`](https://redirect.github.com/getsentry/sentry-go/releases/tag/v0.45.1): 0.45.1
[Compare Source](https://redirect.github.com/getsentry/sentry-go/compare/v0.45.0...v0.45.1)
##### Bug Fixes 🐛
- Add missing TracesSampler fields for SamplingContext by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1259](https://redirect.github.com/getsentry/sentry-go/pull/1259)
### [`v0.45.0`](https://redirect.github.com/getsentry/sentry-go/releases/tag/v0.45.0): 0.45.0
[Compare Source](https://redirect.github.com/getsentry/sentry-go/compare/v0.44.1...v0.45.0)
##### Breaking Changes 🛠
- Add support for Echo v5 by [@​Scorfly](https://redirect.github.com/Scorfly) in [#​1183](https://redirect.github.com/getsentry/sentry-go/pull/1183)
##### New Features ✨
- Add OTLP trace exporter via new otel/otlp sub-module by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1229](https://redirect.github.com/getsentry/sentry-go/pull/1229)
- sentryotlp.NewTraceExporter sends OTel spans directly to Sentry's OTLP endpoint.
- sentryotel.NewOtelIntegration links Sentry errors, logs, and metrics to the active OTel trace. Works with both direct-to-Sentry and collector-based setups.
- NewSentrySpanProcessor, NewSentryPropagator, and SentrySpanMap are deprecated and will be removed in 0.47.0. To Migrate use `sentryotlp.NewTraceExporter` instead:
```go
// Before
sentry.Init(sentry.ClientOptions{Dsn: dsn, EnableTracing: true, TracesSampleRate: 1.0})
tp := sdktrace.NewTracerProvider(
sdktrace.WithSpanProcessor(sentryotel.NewSentrySpanProcessor()),
)
otel.SetTextMapPropagator(sentryotel.NewSentryPropagator())
otel.SetTracerProvider(tp)
// After:
sentry.Init(sentry.ClientOptions{
Dsn: dsn, EnableTracing: true, TracesSampleRate: 1.0,
Integrations: func(i []sentry.Integration) []sentry.Integration {
return append(i, sentryotel.NewOtelIntegration())
},
})
exporter, _ := sentryotlp.NewTraceExporter(ctx, dsn)
tp := sdktrace.NewTracerProvider(sdktrace.WithBatcher(exporter))
otel.SetTracerProvider(tp)
```
- Add IsSensitiveHeader helper to easily distinguish which headers to scrub for PII. by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1239](https://redirect.github.com/getsentry/sentry-go/pull/1239)
##### Bug Fixes 🐛
- (ci) Update validate-pr action to remove draft enforcement by [@​stephanie-anderson](https://redirect.github.com/stephanie-anderson) in [#​1237](https://redirect.github.com/getsentry/sentry-go/pull/1237)
- (fiber) Use UserContext for transaction to enable OTel trace linking by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1252](https://redirect.github.com/getsentry/sentry-go/pull/1252)
- Race condition when getting envelope identifier by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1250](https://redirect.github.com/getsentry/sentry-go/pull/1250)
##### Internal Changes 🔧
##### Deps
- Bump OpenTelemetry SDK to 1.40.0 by [@​giortzisg](https://redirect.github.com/giortzisg) in [#​1243](https://redirect.github.com/getsentry/sentry-go/pull/1243)
- Bump changelog-preview\.yml from 2.24.1 to 2.25.2 by [@​dependabot](https://redirect.github.com/dependabot) in [#​1247](https://redirect.github.com/getsentry/sentry-go/pull/1247)
- Bump getsentry/craft from 2.24.1 to 2.25.2 by [@​dependabot](https://redirect.github.com/dependabot) in [#​1248](https://redirect.github.com/getsentry/sentry-go/pull/1248)
- Bump codecov/codecov-action from 5.5.2 to 6.0.0 by [@​dependabot](https://redirect.github.com/dependabot) in [#​1245](https://redirect.github.com/getsentry/sentry-go/pull/1245)
- Bump actions/create-github-app-token from 2.2.1 to 3.0.0 by [@​dependabot](https://redirect.github.com/dependabot) in [#​1246](https://redirect.github.com/getsentry/sentry-go/pull/1246)
- Bump actions/setup-go from 6.3.0 to 6.4.0 by [@​dependabot](https://redirect.github.com/dependabot) in [#​1244](https://redirect.github.com/getsentry/sentry-go/pull/1244)
##### Other
- Update validate-pr workflow by [@​stephanie-anderson](https://redirect.github.com/stephanie-anderson) in [#​1242](https://redirect.github.com/getsentry/sentry-go/pull/1242)
- Add PR validation workflow by [@​stephanie-anderson](https://redirect.github.com/stephanie-anderson) in [#​1234](https://redirect.github.com/getsentry/sentry-go/pull/1234)
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- Between 12:00 AM and 03:59 AM, on day 1 of the month (`* 0-3 1 * *`)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNDAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE0MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->1 parent 1b94998 commit 4f16e2c
4 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
| 74 | + | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments