fix(deps): update module github.com/getsentry/sentry-go to v0.23.0 #1584

Merged
konrad merged 1 commits from renovate/github.com-getsentry-sentry-go-0.x into main 2023-08-21 10:57:46 +00:00
Member

This PR contains the following updates:

Package Type Update Change
github.com/getsentry/sentry-go require minor v0.22.0 -> v0.23.0

Release Notes

getsentry/sentry-go

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)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go) | require | minor | `v0.22.0` -> `v0.23.0` | --- ### Release Notes <details> <summary>getsentry/sentry-go</summary> ### [`v0.23.0`](https://github.com/getsentry/sentry-go/releases/tag/v0.23.0): 0.23.0 [Compare Source](https://github.com/getsentry/sentry-go/compare/v0.22.0...v0.23.0) The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.23.0. ##### Features - Initial support for [Cron Monitoring](https://docs.sentry.io/product/crons/) ([#&#8203;661](https://github.com/getsentry/sentry-go/pull/661)) This is how the basic usage of the feature looks like: ```go // 🟡 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](https://github.com/getsentry/sentry-go/blob/dde4d360660838f3c2e0ced8205bc8f7a8d312d9/\_examples/crons/main.go). More documentation on configuring and using Crons [can be found here](https://docs.sentry.io/platforms/go/crons/). - Add support for [Event Attachments](https://docs.sentry.io/platforms/go/enriching-events/attachments/) ([#&#8203;670](https://github.com/getsentry/sentry-go/pull/670)) It's now possible to add file/binary payloads to Sentry events: ```go 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 ([#&#8203;666](https://github.com/getsentry/sentry-go/pull/666)) - Expose SpanFromContext function ([#&#8203;672](https://github.com/getsentry/sentry-go/pull/672)) ##### Bug fixes - Make `Span.Finish` a no-op when the span is already finished ([#&#8203;660](https://github.com/getsentry/sentry-go/pull/660)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yNC42IiwidXBkYXRlZEluVmVyIjoiMzUuMjQuNiJ9-->
renovate added the
dependencies
label 2023-08-01 17:01:50 +00:00
renovate added 1 commit 2023-08-01 17:01:51 +00:00
konrad merged commit 69451d14a6 into main 2023-08-21 10:57:46 +00:00
konrad deleted branch renovate/github.com-getsentry-sentry-go-0.x 2023-08-21 10:57:47 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1584
No description provided.