chore(deps): bump github.com/getsentry/sentry-go from 0.22.0 to 0.23.0 #89

Merged
argoyle merged 1 commits from dependabot-go_modules-github.com-getsentry-sentry-go-0.23.0 into main 2023-08-02 06:55:35 +00:00
argoyle commented 2023-08-02 06:25:09 +00:00 (Migrated from gitlab.com)

Bumps github.com/getsentry/sentry-go from 0.22.0 to 0.23.0.

Release notes

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

0.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 (#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.

... (truncated)

Changelog

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

0.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 (#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>"),
      })
    })
    

... (truncated)

Commits
  • 9ece4d3 release: 0.23.0
  • 51688f4 doc: Prepare 0.23.0 release (#680)
  • 491f1fd fix(test): Increase Flush timeout for TestKeepAlive test (#681)
  • dde4d36 feat: Expose SpanFromContext (#672)
  • b551438 fix(crons): Pass correct event types, fix checkin_margin field, add example (...
  • 4f72145 feat: Attachments support (#670)
  • 4b3a135 feat(crons): initial cron support (#661)
  • b6dfea7 Add the sampling decision to the trace envelope header (#666)
  • 6db2fc7 fix(tracing): Make Span.Finish a no-op when the span is already finished (#660)
  • 1b2ac13 fix: Increase flush timeout in TestHTTPTransport (#663)
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on 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.22.0 to 0.23.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.23.0</h2> <p>The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.23.0.</p> <h3>Features</h3> <ul> <li> <p>Initial support for <a href="https://docs.sentry.io/product/crons/">Cron Monitoring</a> (<a href="https://github.com/getsentry/sentry-go/pull/661">#661</a>)</p> <p>This is how the basic usage of the feature looks like:</p> <pre lang="go"><code>// 🟡 Notify Sentry your job is running: checkinId := sentry.CaptureCheckIn( &amp;sentry.CheckIn{ MonitorSlug: &quot;&lt;monitor-slug&gt;&quot;, Status: sentry.CheckInStatusInProgress, }, nil, ) <p>// Execute your scheduled task here...</p> <p>// 🟢 Notify Sentry your job has completed successfully: sentry.CaptureCheckIn( &amp;sentry.CheckIn{ ID: *checkinId, MonitorSlug: &quot;&lt;monitor-slug&gt;&quot;, Status: sentry.CheckInStatusOK, }, nil, ) </code></pre></p> <p>A full example of using Crons Monitoring is available <a href="https://github.com/getsentry/sentry-go/blob/dde4d360660838f3c2e0ced8205bc8f7a8d312d9/_examples/crons/main.go">here</a>.</p> <p>More documentation on configuring and using Crons <a href="https://docs.sentry.io/platforms/go/crons/">can be found here</a>.</p> </li> <li> <p>Add support for <a href="https://docs.sentry.io/platforms/go/enriching-events/attachments/">Event Attachments</a> (<a href="https://github.com/getsentry/sentry-go/pull/670">#670</a>)</p> <p>It's now possible to add file/binary payloads to Sentry events:</p> <pre lang="go"><code>sentry.ConfigureScope(func(scope *sentry.Scope) { scope.AddAttachment(&amp;Attachment{ Filename: &quot;report.html&quot;, ContentType: &quot;text/html&quot;, Payload: []byte(&quot;&lt;h1&gt;Look, HTML&lt;/h1&gt;&quot;), }) }) </code></pre> <p>The attachment will then be accessible on the Issue Details page.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.23.0</h2> <p>The Sentry SDK team is happy to announce the immediate availability of Sentry Go SDK v0.23.0.</p> <h3>Features</h3> <ul> <li> <p>Initial support for <a href="https://docs.sentry.io/product/crons/">Cron Monitoring</a> (<a href="https://github.com/getsentry/sentry-go/pull/661">#661</a>)</p> <p>This is how the basic usage of the feature looks like:</p> <pre lang="go"><code>// 🟡 Notify Sentry your job is running: checkinId := sentry.CaptureCheckIn( &amp;sentry.CheckIn{ MonitorSlug: &quot;&lt;monitor-slug&gt;&quot;, Status: sentry.CheckInStatusInProgress, }, nil, ) <p>// Execute your scheduled task here...</p> <p>// 🟢 Notify Sentry your job has completed successfully: sentry.CaptureCheckIn( &amp;sentry.CheckIn{ ID: *checkinId, MonitorSlug: &quot;&lt;monitor-slug&gt;&quot;, Status: sentry.CheckInStatusOK, }, nil, ) </code></pre></p> <p>A full example of using Crons Monitoring is available <a href="https://github.com/getsentry/sentry-go/blob/dde4d360660838f3c2e0ced8205bc8f7a8d312d9/_examples/crons/main.go">here</a>.</p> <p>More documentation on configuring and using Crons <a href="https://docs.sentry.io/platforms/go/crons/">can be found here</a>.</p> </li> <li> <p>Add support for <a href="https://docs.sentry.io/platforms/go/enriching-events/attachments/">Event Attachments</a> (<a href="https://github.com/getsentry/sentry-go/pull/670">#670</a>)</p> <p>It's now possible to add file/binary payloads to Sentry events:</p> <pre lang="go"><code>sentry.ConfigureScope(func(scope *sentry.Scope) { scope.AddAttachment(&amp;Attachment{ Filename: &quot;report.html&quot;, ContentType: &quot;text/html&quot;, Payload: []byte(&quot;&lt;h1&gt;Look, HTML&lt;/h1&gt;&quot;), }) }) </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-go/commit/9ece4d371550648a52f18b4cad76ab95cb9fb1a6"><code>9ece4d3</code></a> release: 0.23.0</li> <li><a href="https://github.com/getsentry/sentry-go/commit/51688f421ece8796f328b128d88af33cb87302f0"><code>51688f4</code></a> doc: Prepare 0.23.0 release (<a href="https://github.com/getsentry/sentry-go/issues/680">#680</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/491f1fd6c218de6c3dafdddcf2106fcc292ad510"><code>491f1fd</code></a> fix(test): Increase Flush timeout for TestKeepAlive test (<a href="https://github.com/getsentry/sentry-go/issues/681">#681</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/dde4d360660838f3c2e0ced8205bc8f7a8d312d9"><code>dde4d36</code></a> feat: Expose SpanFromContext (<a href="https://github.com/getsentry/sentry-go/issues/672">#672</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/b551438bc989edf0c70a47f8c30ede0e3f61b324"><code>b551438</code></a> fix(crons): Pass correct event types, fix checkin_margin field, add example (...</li> <li><a href="https://github.com/getsentry/sentry-go/commit/4f721459afc39b3eb38ee9035f933b70df7e6708"><code>4f72145</code></a> feat: Attachments support (<a href="https://github.com/getsentry/sentry-go/issues/670">#670</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/4b3a135aff79c400a7426283d53af80d713840f3"><code>4b3a135</code></a> feat(crons): initial cron support (<a href="https://github.com/getsentry/sentry-go/issues/661">#661</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/b6dfea7d0f77832222cd7195373307f155327152"><code>b6dfea7</code></a> Add the sampling decision to the trace envelope header (<a href="https://github.com/getsentry/sentry-go/issues/666">#666</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/6db2fc7e76a79187a388f7292ac08fed7e18b390"><code>6db2fc7</code></a> fix(tracing): Make Span.Finish a no-op when the span is already finished (<a href="https://github.com/getsentry/sentry-go/issues/660">#660</a>)</li> <li><a href="https://github.com/getsentry/sentry-go/commit/1b2ac1326e4476be7c9649606d99139d411b990e"><code>1b2ac13</code></a> fix: Increase flush timeout in TestHTTPTransport (<a href="https://github.com/getsentry/sentry-go/issues/663">#663</a>)</li> <li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-go/compare/v0.22.0...v0.23.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 recreate` will recreate this MR rewriting all the manual changes and resolving conflicts </details>
argoyle (Migrated from gitlab.com) merged commit into main 2023-08-02 06:55:35 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unboundsoftware/schemas#89