This change requires a self-hosted version of Sentry 20.6.0 or higher. If you are using a version of self-hosted Sentry (aka on-premise) older than 20.6.0, then you will need to upgrade your instance.
Old functions TransctionSource, SpanSampled, OpName, and TransactionName are still available but are now deprecated and will be removed in a future release.
Make client.EventFromMessage and client.EventFromException methods public (#607)
This change requires a self-hosted version of Sentry 20.6.0 or higher. If you are using a version of self-hosted Sentry (aka on-premise) older than 20.6.0, then you will need to upgrade your instance.
Old functions TransctionSource, SpanSampled, OpName, and TransactionName are still available but are now deprecated and will be removed in a future release.
Make client.EventFromMessage and client.EventFromException methods public (#607)
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.20.0 to 0.21.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.21.0</h2>
<p>The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.21.0.</p>
<p>Note: this release includes one <strong>breaking change</strong> and some <strong>deprecations</strong>, which are listed below.</p>
<h3>Breaking Changes</h3>
<p><strong>This change does not apply if you use <a href="https://sentry.io">https://sentry.io</a></strong></p>
<ul>
<li>Remove support for the <code>/store</code> endpoint (<a href="https://github.com/getsentry/sentry-go/pull/631">#631</a>)
<ul>
<li>This change requires a self-hosted version of Sentry 20.6.0 or higher. If you are using a version of <a href="https://develop.sentry.dev/self-hosted/">self-hosted Sentry</a> (aka <em>on-premise</em>) older than 20.6.0, then you will need to <a href="https://develop.sentry.dev/self-hosted/releases/">upgrade</a> your instance.</li>
</ul>
</li>
</ul>
<h3>Features</h3>
<ul>
<li>Rename four span option functions (<a href="https://github.com/getsentry/sentry-go/pull/611">#611</a>, <a href="https://github.com/getsentry/sentry-go/pull/624">#624</a>)
<ul>
<li><code>TransctionSource</code> -> <code>WithTransactionSource</code></li>
<li><code>SpanSampled</code> -> <code>WithSpanSampled</code></li>
<li><code>OpName</code> -> <code>WithOpName</code></li>
<li><code>TransactionName</code> -> <code>WithTransactionName</code></li>
<li>Old functions <code>TransctionSource</code>, <code>SpanSampled</code>, <code>OpName</code>, and <code>TransactionName</code> are still available but are now <strong>deprecated</strong> and will be removed in a future release.</li>
</ul>
</li>
<li>Make <code>client.EventFromMessage</code> and <code>client.EventFromException</code> methods public (<a href="https://github.com/getsentry/sentry-go/pull/607">#607</a>)</li>
<li>Add <code>client.SetException</code> method (<a href="https://github.com/getsentry/sentry-go/pull/607">#607</a>)
<ul>
<li>This allows to set or add errors to an existing <code>Event</code>.</li>
</ul>
</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Protect from panics while doing concurrent reads/writes to Span data fields (<a href="https://github.com/getsentry/sentry-go/pull/609">#609</a>)</li>
<li>[otel] Improve detection of Sentry-related spans (<a href="https://github.com/getsentry/sentry-go/pull/632">#632</a>, <a href="https://github.com/getsentry/sentry-go/pull/636">#636</a>)
<ul>
<li>Fixes cases when HTTP spans containing requests to Sentry were captured by Sentry (<a href="https://github.com/getsentry/sentry-go/issues/627">#627</a>)</li>
</ul>
</li>
</ul>
<h3>Misc</h3>
<ul>
<li>Drop testing in (legacy) GOPATH mode (<a href="https://github.com/getsentry/sentry-go/pull/618">#618</a>)</li>
<li>Remove outdated documentation from <a href="https://pkg.go.dev/github.com/getsentry/sentry-go">https://pkg.go.dev/github.com/getsentry/sentry-go</a> (<a href="https://github.com/getsentry/sentry-go/pull/623">#623</a>)</li>
</ul>
</blockquote>
</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.21.0</h2>
<p>The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.21.0.</p>
<p>Note: this release includes one <strong>breaking change</strong> and some <strong>deprecations</strong>, which are listed below.</p>
<h3>Breaking Changes</h3>
<p><strong>This change does not apply if you use <a href="https://sentry.io">https://sentry.io</a></strong></p>
<ul>
<li>Remove support for the <code>/store</code> endpoint (<a href="https://github.com/getsentry/sentry-go/pull/631">#631</a>)
<ul>
<li>This change requires a self-hosted version of Sentry 20.6.0 or higher. If you are using a version of <a href="https://develop.sentry.dev/self-hosted/">self-hosted Sentry</a> (aka <em>on-premise</em>) older than 20.6.0, then you will need to <a href="https://develop.sentry.dev/self-hosted/releases/">upgrade</a> your instance.</li>
</ul>
</li>
</ul>
<h3>Features</h3>
<ul>
<li>Rename four span option functions (<a href="https://github.com/getsentry/sentry-go/pull/611">#611</a>, <a href="https://github.com/getsentry/sentry-go/pull/624">#624</a>)
<ul>
<li><code>TransctionSource</code> -> <code>WithTransactionSource</code></li>
<li><code>SpanSampled</code> -> <code>WithSpanSampled</code></li>
<li><code>OpName</code> -> <code>WithOpName</code></li>
<li><code>TransactionName</code> -> <code>WithTransactionName</code></li>
<li>Old functions <code>TransctionSource</code>, <code>SpanSampled</code>, <code>OpName</code>, and <code>TransactionName</code> are still available but are now <strong>deprecated</strong> and will be removed in a future release.</li>
</ul>
</li>
<li>Make <code>client.EventFromMessage</code> and <code>client.EventFromException</code> methods public (<a href="https://github.com/getsentry/sentry-go/pull/607">#607</a>)</li>
<li>Add <code>client.SetException</code> method (<a href="https://github.com/getsentry/sentry-go/pull/607">#607</a>)
<ul>
<li>This allows to set or add errors to an existing <code>Event</code>.</li>
</ul>
</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Protect from panics while doing concurrent reads/writes to Span data fields (<a href="https://github.com/getsentry/sentry-go/pull/609">#609</a>)</li>
<li>[otel] Improve detection of Sentry-related spans (<a href="https://github.com/getsentry/sentry-go/pull/632">#632</a>, <a href="https://github.com/getsentry/sentry-go/pull/636">#636</a>)
<ul>
<li>Fixes cases when HTTP spans containing requests to Sentry were captured by Sentry (<a href="https://github.com/getsentry/sentry-go/issues/627">#627</a>)</li>
</ul>
</li>
</ul>
<h3>Misc</h3>
<ul>
<li>Drop testing in (legacy) GOPATH mode (<a href="https://github.com/getsentry/sentry-go/pull/618">#618</a>)</li>
<li>Remove outdated documentation from <a href="https://pkg.go.dev/github.com/getsentry/sentry-go">https://pkg.go.dev/github.com/getsentry/sentry-go</a> (<a href="https://github.com/getsentry/sentry-go/pull/623">#623</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/getsentry/sentry-go/commit/b2639f68ca67a8fe84cffd9b3eaa3a903424e5c5"><code>b2639f6</code></a> release: 0.21.0</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/0288dec0461a92777975718f470235fb211370d3"><code>0288dec</code></a> doc: Prepare 0.21.0 release (<a href="https://github.com/getsentry/sentry-go/issues/634">#634</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/ce90464c17afeb628a4047ba05ada1729bfc760f"><code>ce90464</code></a> ref: Improve isSentryRequestUrl (<a href="https://github.com/getsentry/sentry-go/issues/636">#636</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/94e8e06220a6a3ede7ce3b29b99b7b7b8a8e4b15"><code>94e8e06</code></a> feat: Remove store endpoint (<a href="https://github.com/getsentry/sentry-go/issues/631">#631</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/f7478f081d74a80ed9f593cdb89ce53dfbb52a68"><code>f7478f0</code></a> fix: Improve isSentryRequestUrl (<a href="https://github.com/getsentry/sentry-go/issues/632">#632</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/eb7fca983236c965a6b0bba9ee225a9f95f40be2"><code>eb7fca9</code></a> feat: Export client.EventFromMessage, client.EventFromException, and event.Se...</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/eb22fb532ae6b049ad2fc36bc10180b834ae38de"><code>eb22fb5</code></a> ref: Add span options aliases (WithSpanSampled, WithOpName, WithTransactionNa...</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/e70db8138255490c45febfc8825a699d91127167"><code>e70db81</code></a> fix(tracing): Add WithTransactionSource() span option, deprecate TransctionSo...</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/9f9f913b13c7fa04e938a703f48f8eca0cff9949"><code>9f9f913</code></a> doc: Link to the repository and official docs in doc.go (<a href="https://github.com/getsentry/sentry-go/issues/623">#623</a>)</li>
<li><a href="https://github.com/getsentry/sentry-go/commit/2c4f1c1273854c2dcbb54e63cf023579b205320e"><code>2c4f1c1</code></a> fix: Update _examples/http (<a href="https://github.com/getsentry/sentry-go/issues/621">#621</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-go/compare/v0.20.0...v0.21.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)
scheduled this pull request to auto merge when all checks succeed 2023-05-08 18:57:08 +00:00
argoyle
(Migrated from gitlab.com)
merged commit into main2023-05-08 19:03:55 +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.20.0 to 0.21.0.
Release notes
Sourced from github.com/getsentry/sentry-go's releases.
Changelog
Sourced from github.com/getsentry/sentry-go's changelog.
Commits
b2639f6release: 0.21.00288decdoc: Prepare 0.21.0 release (#634)ce90464ref: Improve isSentryRequestUrl (#636)94e8e06feat: Remove store endpoint (#631)f7478f0fix: Improve isSentryRequestUrl (#632)eb7fca9feat: Export client.EventFromMessage, client.EventFromException, and event.Se...eb22fb5ref: Add span options aliases (WithSpanSampled, WithOpName, WithTransactionNa...e70db81fix(tracing): Add WithTransactionSource() span option, deprecate TransctionSo...9f9f913doc: Link to the repository and official docs in doc.go (#623)2c4f1c1fix: Update _examples/http (#621)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