Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebase will rebase this MR
$dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.19.0 to 0.20.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/getsentry/sentry-go/releases">github.com/getsentry/sentry-go's releases</a>.</em></p>
<blockquote>
<h2>0.20.0</h2>
<p>The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.20.0.</p>
<p>Note: this release has some <strong>breaking changes</strong>, which are listed below.</p>
<h3>Breaking Changes</h3>
<ul>
<li>
<p>Remove the following methods: <code>Scope.SetTransaction()</code>, <code>Scope.Transaction()</code> (<a href="https://github.com/getsentry/sentry-go/pull/605">#605</a>)</p>
<p>Span.Name should be used instead to access the transaction's name.</p>
<p>For example, the following <a href="https://docs.sentry.io/platforms/go/configuration/sampling/#setting-a-sampling-function"><code>TracesSampler</code></a> function should be now written as follows:</p>
<p><strong>Before:</strong></p>
<pre lang="go"><code>TracesSampler: func(ctx sentry.SamplingContext) float64 {
hub := sentry.GetHubFromContext(ctx.Span.Context())
if hub.Scope().Transaction() == "GET /health" {
return 0
}
return 1
},
</code></pre>
<p><strong>After:</strong></p>
<pre lang="go"><code>TracesSampler: func(ctx sentry.SamplingContext) float64 {
if ctx.Span.Name == "GET /health" {
return 0
}
return 1
},
</code></pre>
</li>
</ul>
<h3>Features</h3>
<ul>
<li>Add <code>Span.SetContext()</code> method (<a href="https://github.com/getsentry/sentry-go/pull/599/">#599</a>)
<ul>
<li>It is recommended to use it instead of <code>hub.Scope().SetContext</code> when setting or updating context on transactions.</li>
</ul>
</li>
<li>Add <code>DebugMeta</code> interface to <code>Event</code> and extend <code>Frame</code> structure with more fields (<a href="https://github.com/getsentry/sentry-go/pull/606">#606</a>)
<ul>
<li>More about DebugMeta interface <a href="https://develop.sentry.dev/sdk/event-payloads/debugmeta/">here</a>.</li>
</ul>
</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>[otel] Fix missing OpenTelemetry context on some events (<a href="https://github.com/getsentry/sentry-go/pull/599">#599</a>, <a href="https://github.com/getsentry/sentry-go/pull/605">#605</a>)
<ul>
<li>Fixes (<a href="https://github.com/getsentry/sentry-go/issues/596">#596</a>).</li>
</ul>
</li>
<li>[otel] Better handling for HTTP span attributes (<a href="https://github.com/getsentry/sentry-go/pull/610">#610</a>)</li>
</ul>
<h3>Misc</h3>
<ul>
<li>Bump minimum versions: <code>github.com/kataras/iris/v12</code> to 12.2.0, <code>github.com/labstack/echo/v4</code> to v4.10.0 (<a href="https://github.com/getsentry/sentry-go/pull/595">#595</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md">github.com/getsentry/sentry-go's changelog</a>.</em></p>
<blockquote>
<h2>0.20.0</h2>
<p>The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.20.0.</p>
<p>Note: this release has some <strong>breaking changes</strong>, which are listed below.</p>
<h3>Breaking Changes</h3>
<ul>
<li>
<p>Remove the following methods: <code>Scope.SetTransaction()</code>, <code>Scope.Transaction()</code> (<a href="https://github.com/getsentry/sentry-go/pull/605">#605</a>)</p>
<p>Span.Name should be used instead to access the transaction's name.</p>
<p>For example, the following <a href="https://docs.sentry.io/platforms/go/configuration/sampling/#setting-a-sampling-function"><code>TracesSampler</code></a> function should be now written as follows:</p>
<p><strong>Before:</strong></p>
<pre lang="go"><code>TracesSampler: func(ctx sentry.SamplingContext) float64 {
hub := sentry.GetHubFromContext(ctx.Span.Context())
if hub.Scope().Transaction() == "GET /health" {
return 0
}
return 1
},
</code></pre>
<p><strong>After:</strong></p>
<pre lang="go"><code>TracesSampler: func(ctx sentry.SamplingContext) float64 {
if ctx.Span.Name == "GET /health" {
return 0
}
return 1
},
</code></pre>
</li>
</ul>
<h3>Features</h3>
<ul>
<li>Add <code>Span.SetContext()</code> method (<a href="https://github.com/getsentry/sentry-go/pull/599/">#599</a>)
<ul>
<li>It is recommended to use it instead of <code>hub.Scope().SetContext</code> when setting or updating context on transactions.</li>
</ul>
</li>
<li>Add <code>DebugMeta</code> interface to <code>Event</code> and extend <code>Frame</code> structure with more fields (<a href="https://github.com/getsentry/sentry-go/pull/606">#606</a>)
<ul>
<li>More about DebugMeta interface <a href="https://develop.sentry.dev/sdk/event-payloads/debugmeta/">here</a>.</li>
</ul>
</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>[otel] Fix missing OpenTelemetry context on some events (<a href="https://github.com/getsentry/sentry-go/pull/599">#599</a>, <a href="https://github.com/getsentry/sentry-go/pull/605">#605</a>)
<ul>
<li>Fixes (<a href="https://github.com/getsentry/sentry-go/issues/596">#596</a>).</li>
</ul>
</li>
<li>[otel] Better handling for HTTP span attributes (<a href="https://github.com/getsentry/sentry-go/pull/610">#610</a>)</li>
</ul>
<h3>Misc</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/getsentry/sentry-go/commit/87b4b4937f1b59cb4ed8d8214346079bab79745e"><code>87b4b49</code></a> release: 0.20.0</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/20bda2fbff5f5a3e83ac2f1ced83d7d5be713c54"><code>20bda2f</code></a> doc: Prepare 0.20.0 release (<a href="https://github.com/getsentry/sentry-go/issues/612">#612</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/6daa1fa7f582fb4b97e826aeb80eeb309213aeec"><code>6daa1fa</code></a> fix(build): Temporarily remove otel module when building in GOPATH mode (<a href="https://github.com/getsentry/sentry-go/issues/615">#615</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/a97bb8bb333605832fb089f1bbd219a462377346"><code>a97bb8b</code></a> fix(otel): Better handling for HTTP span attributes (<a href="https://github.com/getsentry/sentry-go/issues/610">#610</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/8fdc3239470f2de08f2aea9c4cd877ea1422c682"><code>8fdc323</code></a> feat: Allow some non-Golang interfaces to be passed through in Events. (<a href="https://github.com/getsentry/sentry-go/issues/606">#606</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/85b380d192353dc9ca3df14fc4f8fa727a33cb2c"><code>85b380d</code></a> fix: Introduce a new Span.Name field (<a href="https://github.com/getsentry/sentry-go/issues/605">#605</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/dc573d7883e7f547bdc7f1e91465e831d9764de2"><code>dc573d7</code></a> build(deps): bump google.golang.org/protobuf from 1.29.0 to 1.29.1 (<a href="https://github.com/getsentry/sentry-go/issues/604">#604</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/83f519e7b2b94f6f0fca9d1a9ecbaa56aebc2fb0"><code>83f519e</code></a> fix: Bump deps due to several vulnerabilities (<a href="https://github.com/getsentry/sentry-go/issues/595">#595</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/bfe5e9acc975e9e2adbb346bb2be48dcc87ae223"><code>bfe5e9a</code></a> ref: Align SetContext (<a href="https://github.com/getsentry/sentry-go/issues/603">#603</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/27e50ad6c8d6c892e2f968ca21061431793bb1ee"><code>27e50ad</code></a> feat(tracing): Introduce span.SetContext (<a href="https://github.com/getsentry/sentry-go/issues/599">#599</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-go/compare/v0.19.0...v0.20.0">compare view</a></li>
</ul>
</details>
<br />
---
<details>
<summary>Dependabot commands</summary>
<br />
You can trigger Dependabot actions by commenting on this MR
- `$dependabot rebase` will rebase this MR
- `$dependabot recreate` will recreate this MR rewriting all the manual changes and resolving conflicts
</details>
argoyle
(Migrated from gitlab.com)
merged commit into main2023-04-03 06:54:40 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps github.com/getsentry/sentry-go from 0.19.0 to 0.20.0.
Release notes
Sourced from github.com/getsentry/sentry-go's releases.
... (truncated)
Changelog
Sourced from github.com/getsentry/sentry-go's changelog.
... (truncated)
Commits
87b4b49release: 0.20.020bda2fdoc: Prepare 0.20.0 release (#612)6daa1fafix(build): Temporarily remove otel module when building in GOPATH mode (#615)a97bb8bfix(otel): Better handling for HTTP span attributes (#610)8fdc323feat: Allow some non-Golang interfaces to be passed through in Events. (#606)85b380dfix: Introduce a new Span.Name field (#605)dc573d7build(deps): bump google.golang.org/protobuf from 1.29.0 to 1.29.1 (#604)83f519efix: Bump deps due to several vulnerabilities (#595)bfe5e9aref: Align SetContext (#603)27e50adfeat(tracing): Introduce span.SetContext (#599)Dependabot commands
You can trigger Dependabot actions by commenting on this MR
$dependabot rebasewill rebase this MR$dependabot recreatewill recreate this MR rewriting all the manual changes and resolving conflicts