Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 10, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/getsentry/sentry-go v0.28.1 -> v0.29.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

getsentry/sentry-go (github.com/getsentry/sentry-go)

v0.29.0: 0.29.0

Compare Source

The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.29.0.

Breaking Changes
  • Remove the sentrymartini integration (#​861)
  • The WrapResponseWriter has been moved from the sentryhttp package to the internal/httputils package. If you've imported it previosuly, you'll need to copy the implementation in your project. (#​871)
Features
  • Add new convenience methods to continue a trace and propagate tracing headers for error-only use cases. (#​862)

    If you are not using one of our integrations, you can manually continue an incoming trace by using sentry.ContinueTrace() by providing the sentry-trace and baggage header received from a downstream SDK.

    hub := sentry.CurrentHub()
    sentry.ContinueTrace(hub, r.Header.Get(sentry.SentryTraceHeader), r.Header.Get(sentry.SentryBaggageHeader)),

    You can use hub.GetTraceparent() and hub.GetBaggage() to fetch the necessary header values for outgoing HTTP requests.

    hub := sentry.GetHubFromContext(ctx)
    req, _ := http.NewRequest("GET", "http://localhost:3000", nil)
    req.Header.Add(sentry.SentryTraceHeader, hub.GetTraceparent())
    req.Header.Add(sentry.SentryBaggageHeader, hub.GetBaggage())
Bug Fixes
  • Initialize HTTPTransport.limit if nil (#​844)
  • Fix sentry.StartTransaction() returning a transaction with an outdated context on existing transactions (#​854)
  • Treat Proxy-Authorization as a sensitive header (#​859)
  • Add support for the http.Hijacker interface to the sentrynegroni package (#​871)
  • Go version >= 1.23: Use value from http.Request.Pattern for HTTP transaction names when using sentryhttp & sentrynegroni (#​875)
  • Go version >= 1.21: Fix closure functions name grouping (#​877)
Misc

Configuration

📅 Schedule: Branch creation - "on tuesday" (UTC), 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team September 10, 2024 09:27
@renovate renovate bot added dependencies Pull requests that update a dependency file renovatebot labels Sep 10, 2024
@renovate renovate bot requested a review from jpkrohling September 10, 2024 09:27
@github-actions github-actions bot requested a review from AbhiPrasad September 10, 2024 09:27
@crobert-1 crobert-1 closed this Sep 10, 2024
@crobert-1 crobert-1 reopened this Sep 10, 2024
@songy23 songy23 added the ready to merge Code review completed; ready to merge by maintainers label Sep 11, 2024
@codeboten codeboten merged commit 9d7580c into main Sep 12, 2024
@codeboten codeboten deleted the renovate/github.com-getsentry-sentry-go-0.x branch September 12, 2024 21:04
@github-actions github-actions bot added this to the next release milestone Sep 12, 2024
jriguera pushed a commit to springernature/opentelemetry-collector-contrib that referenced this pull request Oct 4, 2024
…ry#35109)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/getsentry/sentry-go](https://redirect.github.com/getsentry/sentry-go)
| `v0.28.1` -> `v0.29.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgetsentry%2fsentry-go/v0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgetsentry%2fsentry-go/v0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgetsentry%2fsentry-go/v0.28.1/v0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgetsentry%2fsentry-go/v0.28.1/v0.29.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>getsentry/sentry-go (github.com/getsentry/sentry-go)</summary>

###
[`v0.29.0`](https://redirect.github.com/getsentry/sentry-go/releases/tag/v0.29.0):
0.29.0

[Compare
Source](https://redirect.github.com/getsentry/sentry-go/compare/v0.28.1...v0.29.0)

The Sentry SDK team is happy to announce the immediate availability of
Sentry Go SDK v0.29.0.

##### Breaking Changes

- Remove the `sentrymartini` integration
([#&open-telemetry#8203;861](https://redirect.github.com/getsentry/sentry-go/pull/861))
- The `WrapResponseWriter` has been moved from the `sentryhttp` package
to the `internal/httputils` package. If you've imported it previosuly,
you'll need to copy the implementation in your project.
([#&open-telemetry#8203;871](https://redirect.github.com/getsentry/sentry-go/pull/871))

##### Features

- Add new convenience methods to continue a trace and propagate tracing
headers for error-only use cases.
([#&open-telemetry#8203;862](https://redirect.github.com/getsentry/sentry-go/pull/862))

If you are not using one of our integrations, you can manually continue
an incoming trace by using `sentry.ContinueTrace()` by providing the
`sentry-trace` and `baggage` header received from a downstream SDK.

    ```go
    hub := sentry.CurrentHub()
sentry.ContinueTrace(hub, r.Header.Get(sentry.SentryTraceHeader),
r.Header.Get(sentry.SentryBaggageHeader)),
    ```

You can use `hub.GetTraceparent()` and `hub.GetBaggage()` to fetch the
necessary header values for outgoing HTTP requests.

    ```go
    hub := sentry.GetHubFromContext(ctx)
    req, _ := http.NewRequest("GET", "http://localhost:3000", nil)
    req.Header.Add(sentry.SentryTraceHeader, hub.GetTraceparent())
    req.Header.Add(sentry.SentryBaggageHeader, hub.GetBaggage())
    ```

##### Bug Fixes

- Initialize `HTTPTransport.limit` if `nil`
([#&open-telemetry#8203;844](https://redirect.github.com/getsentry/sentry-go/pull/844))
- Fix `sentry.StartTransaction()` returning a transaction with an
outdated context on existing transactions
([#&open-telemetry#8203;854](https://redirect.github.com/getsentry/sentry-go/pull/854))
- Treat `Proxy-Authorization` as a sensitive header
([#&open-telemetry#8203;859](https://redirect.github.com/getsentry/sentry-go/pull/859))
- Add support for the `http.Hijacker` interface to the `sentrynegroni`
package
([#&open-telemetry#8203;871](https://redirect.github.com/getsentry/sentry-go/pull/871))
- Go version >= 1.23: Use value from `http.Request.Pattern` for HTTP
transaction names when using `sentryhttp` & `sentrynegroni`
([#&open-telemetry#8203;875](https://redirect.github.com/getsentry/sentry-go/pull/875))
- Go version >= 1.21: Fix closure functions name grouping
([#&open-telemetry#8203;877](https://redirect.github.com/getsentry/sentry-go/pull/877))

##### Misc

- Collect `span` origins
([#&open-telemetry#8203;849](https://redirect.github.com/getsentry/sentry-go/pull/849))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file exporter/sentry ready to merge Code review completed; ready to merge by maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants