Skip to content

build(deps): bump github.com/getsentry/sentry-go from 0.18.0 to 0.20.0 #52

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github-enterprise Apr 7, 2023

Bumps github.com/getsentry/sentry-go from 0.18.0 to 0.20.0.

Release notes

Sourced from github.com/getsentry/sentry-go's releases.

0.20.0

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

Note: this release has some breaking changes, which are listed below.

Breaking Changes

  • Remove the following methods: Scope.SetTransaction(), Scope.Transaction() (#605)

    Span.Name should be used instead to access the transaction's name.

    For example, the following TracesSampler function should be now written as follows:

    Before:

    TracesSampler: func(ctx sentry.SamplingContext) float64 {
      hub := sentry.GetHubFromContext(ctx.Span.Context())
      if hub.Scope().Transaction() == "GET /health" {
        return 0
      }
      return 1
    },

    After:

    TracesSampler: func(ctx sentry.SamplingContext) float64 {
      if ctx.Span.Name == "GET /health" {
        return 0
      }
      return 1
    },

Features

  • Add Span.SetContext() method (#599)
    • It is recommended to use it instead of hub.Scope().SetContext when setting or updating context on transactions.
  • Add DebugMeta interface to Event and extend Frame structure with more fields (#606)
    • More about DebugMeta interface here.

Bug Fixes

  • [otel] Fix missing OpenTelemetry context on some events (#599, #605)
  • [otel] Better handling for HTTP span attributes (#610)

Misc

  • Bump minimum versions: github.com/kataras/iris/v12 to 12.2.0, github.com/labstack/echo/v4 to v4.10.0 (#595)

... (truncated)

Changelog

Sourced from github.com/getsentry/sentry-go's changelog.

0.20.0

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

Note: this release has some breaking changes, which are listed below.

Breaking Changes

  • Remove the following methods: Scope.SetTransaction(), Scope.Transaction() (#605)

    Span.Name should be used instead to access the transaction's name.

    For example, the following TracesSampler function should be now written as follows:

    Before:

    TracesSampler: func(ctx sentry.SamplingContext) float64 {
      hub := sentry.GetHubFromContext(ctx.Span.Context())
      if hub.Scope().Transaction() == "GET /health" {
        return 0
      }
      return 1
    },

    After:

    TracesSampler: func(ctx sentry.SamplingContext) float64 {
      if ctx.Span.Name == "GET /health" {
        return 0
      }
      return 1
    },

Features

  • Add Span.SetContext() method (#599)
    • It is recommended to use it instead of hub.Scope().SetContext when setting or updating context on transactions.
  • Add DebugMeta interface to Event and extend Frame structure with more fields (#606)
    • More about DebugMeta interface here.

Bug Fixes

  • [otel] Fix missing OpenTelemetry context on some events (#599, #605)
  • [otel] Better handling for HTTP span attributes (#610)

Misc

... (truncated)

Commits
  • 87b4b49 release: 0.20.0
  • 20bda2f doc: Prepare 0.20.0 release (#612)
  • 6daa1fa fix(build): Temporarily remove otel module when building in GOPATH mode (#615)
  • a97bb8b fix(otel): Better handling for HTTP span attributes (#610)
  • 8fdc323 feat: Allow some non-Golang interfaces to be passed through in Events. (#606)
  • 85b380d fix: Introduce a new Span.Name field (#605)
  • dc573d7 build(deps): bump google.golang.org/protobuf from 1.29.0 to 1.29.1 (#604)
  • 83f519e fix: Bump deps due to several vulnerabilities (#595)
  • bfe5e9a ref: Align SetContext (#603)
  • 27e50ad feat(tracing): Introduce span.SetContext (#599)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) from 0.18.0 to 0.20.0.
- [Release notes](https://github.com/getsentry/sentry-go/releases)
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.18.0...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 7, 2023
@dependabot dependabot bot requested a review from a team April 7, 2023 01:20
@dependabot @github-enterprise
Copy link
Contributor Author

dependabot bot commented on behalf of github-enterprise May 12, 2023

Superseded by #58.

@dependabot dependabot bot closed this May 12, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/getsentry/sentry-go-0.20.0 branch May 12, 2023 01:17
@dependabot @github-enterprise
Copy link
Contributor Author

dependabot bot commented on behalf of github-enterprise May 12, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

Sign in to join this conversation on GitHub.
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants