Skip to content

Conversation

@cq-bot
Copy link
Contributor

@cq-bot cq-bot commented Oct 1, 2023

This PR contains the following updates:

Package Type Update Change
github.com/getsentry/sentry-go require minor v0.20.0 -> v0.24.1
github.com/getsentry/sentry-go indirect minor v0.20.0 -> v0.24.1

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

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

v0.24.1: 0.24.1

Compare Source

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

Bug fixes
  • Prevent a panic in sentryotel.flushSpanProcessor() ((#​711))
  • Prevent a panic when setting the SDK identifier (#​715)

v0.24.0: 0.24.0

Compare Source

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

Deprecations
  • sentry.Version to be removed in 0.25.0. Use sentry.SDKVersion instead.
  • sentry.SDKIdentifier to be removed in 0.25.0. Use Client.GetSDKIdentifier() instead.
  • dsn.RequestHeaders() to be removed after 0.25.0, but no earlier than December 1, 2023. Requests to the /envelope endpoint are authenticated using the DSN in the envelope header.
Features
  • Run a single instance of the profiler instead of multiple ones for each Go routine (#​655)
  • Use the route path as the transaction names when using the Gin integration (#​675)
  • Set the SDK name accordingly when a framework integration is used (#​694)
  • Read release information (VCS revision) from debug.ReadBuildInfo (#​704)
Bug fixes
  • [otel] Fix incorrect usage of attributes.Value.AsString (#​684)
  • Fix trace function name parsing in profiler on go1.21+ (#​695)
Misc

v0.23.0: 0.23.0

Compare Source

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

Features
  • Initial support for Cron Monitoring (#​661)

    This is how the basic usage of the feature looks like:

    // 🟡 Notify Sentry your job is running:
    checkinId := sentry.CaptureCheckIn(
      &sentry.CheckIn{
        MonitorSlug: "<monitor-slug>",
        Status:      sentry.CheckInStatusInProgress,
      },
      nil,
    )
    
    // Execute your scheduled task here...
    
    // 🟢 Notify Sentry your job has completed successfully:
    sentry.CaptureCheckIn(
      &sentry.CheckIn{
        ID:          *checkinId,
        MonitorSlug: "<monitor-slug>",
        Status:      sentry.CheckInStatusOK,
      },
      nil,
    )

    A full example of using Crons Monitoring is available here.

    More documentation on configuring and using Crons can be found here.

  • Add support for Event Attachments (#​670)

    It's now possible to add file/binary payloads to Sentry events:

    sentry.ConfigureScope(func(scope *sentry.Scope) {
      scope.AddAttachment(&Attachment{
        Filename:    "report.html",
        ContentType: "text/html",
        Payload:     []byte("<h1>Look, HTML</h1>"),
      })
    })

    The attachment will then be accessible on the Issue Details page.

  • Add sampling decision to trace envelope header (#​666)

  • Expose SpanFromContext function (#​672)

Bug fixes
  • Make Span.Finish a no-op when the span is already finished (#​660)

v0.22.0: 0.22.0

Compare Source

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

This release contains initial profiling support, as well as a few bug fixes and improvements.

Features
  • Initial (alpha) support for profiling (#​626)

    Profiling is disabled by default. To enable it, configure both TracesSampleRate and ProfilesSampleRate when initializing the SDK:

    err := sentry.Init(sentry.ClientOptions{
      Dsn: "__DSN__",
      EnableTracing: true,
      TracesSampleRate: 1.0,
      // The sampling rate for profiling is relative to TracesSampleRate. In this case, we'll capture profiles for 100% of transactions.
      ProfilesSampleRate: 1.0,
    })

    More documentation on profiling and current limitations can be found here.

  • Add transactions/tracing support go the Gin integration (#​644)

Bug fixes
  • Always set a valid source on transactions (#​637)
  • Clone scope.Context in more places to avoid panics on concurrent reads and writes (#​638)
  • Fix frames recognized as not being in-app still showing as in-app (#​647)

v0.21.0: 0.21.0

Compare Source

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

Note: this release includes one breaking change and some deprecations, which are listed below.

Breaking Changes

This change does not apply if you use https://sentry.io

  • Remove support for the /store endpoint (#​631)
    • 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.
Features
  • Rename four span option functions (#​611, #​624)
    • TransctionSource -> WithTransactionSource
    • SpanSampled -> WithSpanSampled
    • OpName -> WithOpName
    • TransactionName -> WithTransactionName
    • 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)
  • Add client.SetException method (#​607)
    • This allows to set or add errors to an existing Event.
Bug Fixes
  • Protect from panics while doing concurrent reads/writes to Span data fields (#​609)
  • [otel] Improve detection of Sentry-related spans (#​632, #​636)
    • Fixes cases when HTTP spans containing requests to Sentry were captured by Sentry (#​627)
Misc

Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" (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 these updates again.


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

This PR has been generated by Renovate Bot.

@github-actions github-actions bot added the fix label Oct 1, 2023
@github-actions
Copy link

github-actions bot commented Oct 1, 2023

⏱️ Benchmark results

  • Glob-8 ns/op: 90.44

@kodiakhq kodiakhq bot merged commit be03068 into main Oct 1, 2023
@kodiakhq kodiakhq bot deleted the renovate/github.com-getsentry-sentry-go-0.x branch October 1, 2023 03:44
kodiakhq bot pushed a commit that referenced this pull request Oct 2, 2023
🤖 I have created a release *beep* *boop*
---


## [4.12.0](v4.11.1...v4.12.0) (2023-10-02)


### Features

* Add JSON schema to scheduler strategy ([#1254](#1254)) ([1cec01d](1cec01d))


### Bug Fixes

* **deps:** Update github.com/apache/arrow/go/v14 digest to 00efb06 ([#1257](#1257)) ([e56f6f8](e56f6f8))
* **deps:** Update github.com/cloudquery/arrow/go/v14 digest to 7ded38b ([#1263](#1263)) ([332c255](332c255))
* **deps:** Update google.golang.org/genproto digest to e6e6cda ([#1258](#1258)) ([1b75050](1b75050))
* **deps:** Update google.golang.org/genproto/googleapis/api digest to e6e6cda ([#1259](#1259)) ([eb6a97d](eb6a97d))
* **deps:** Update google.golang.org/genproto/googleapis/rpc digest to e6e6cda ([#1260](#1260)) ([49940fd](49940fd))
* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.11.0 ([#1252](#1252)) ([41a6561](41a6561))
* **deps:** Update module github.com/getsentry/sentry-go to v0.24.1 ([#1262](#1262)) ([be03068](be03068))
* **deps:** Update module github.com/grpc-ecosystem/go-grpc-middleware/v2 to v2.0.1 ([#1261](#1261)) ([cf57d20](cf57d20))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants