chore(pip-prod)(deps): bump sentry-sdk from 2.3.1 to 2.5.0 #261

Merged
dependabot[bot] merged 1 commits from dependabot/pip/sentry-sdk-2.5.0 into next 2024-06-08 13:41:40 +02:00
dependabot[bot] commented 2024-06-06 17:57:53 +02:00 (Migrated from github.com)

Bumps sentry-sdk from 2.3.1 to 2.5.0.

Release notes

Sourced from sentry-sdk's releases.

2.5.0

Various fixes & improvements

  • Allow to configure status codes to report to Sentry in Starlette and FastAPI (#3008) by @​sentrivana

    By passing a new option to the FastAPI and Starlette integrations, you're now able to configure what status codes should be sent as events to Sentry. Here's how it works:

    from sentry_sdk.integrations.starlette import StarletteIntegration
    from sentry_sdk.integrations.fastapi import FastApiIntegration
    

    sentry_sdk.init( # ... integrations=[ StarletteIntegration( failed_request_status_codes=[403, range(500, 599)], ), FastApiIntegration( failed_request_status_codes=[403, range(500, 599)], ), ] )

    failed_request_status_codes expects a list of integers or containers (objects that allow membership checks via in) of integers. Examples of valid failed_request_status_codes:

    • [500] will only send events on HTTP 500.
    • [400, range(500, 599)] will send events on HTTP 400 as well as the 500-599 range.
    • [500, 503] will send events on HTTP 500 and 503.

    The default is [range(500, 599)].

    See the FastAPI and Starlette integration docs for more details.

  • Support multiple keys with cache_prefixes (#3136) by @​sentrivana

  • Support integer Redis keys (#3132) by @​sentrivana

  • Update SDK version in CONTRIBUTING.md (#3129) by @​sentrivana

  • Bump actions/checkout from 4.1.4 to 4.1.5 (#3067) by @​dependabot

2.4.0

Various fixes & improvements

... (truncated)

Changelog

Sourced from sentry-sdk's changelog.

2.5.0

Various fixes & improvements

  • Allow to configure status codes to report to Sentry in Starlette and FastAPI (#3008) by @​sentrivana

    By passing a new option to the FastAPI and Starlette integrations, you're now able to configure what status codes should be sent as events to Sentry. Here's how it works:

    from sentry_sdk.integrations.starlette import StarletteIntegration
    from sentry_sdk.integrations.fastapi import FastApiIntegration
    

    sentry_sdk.init( # ... integrations=[ StarletteIntegration( failed_request_status_codes=[403, range(500, 599)], ), FastApiIntegration( failed_request_status_codes=[403, range(500, 599)], ), ] )

    failed_request_status_codes expects a list of integers or containers (objects that allow membership checks via in) of integers. Examples of valid failed_request_status_codes:

    • [500] will only send events on HTTP 500.
    • [400, range(500, 599)] will send events on HTTP 400 as well as the 500-599 range.
    • [500, 503] will send events on HTTP 500 and 503.

    The default is [range(500, 599)].

    See the FastAPI and Starlette integration docs for more details.

  • Support multiple keys with cache_prefixes (#3136) by @​sentrivana

  • Support integer Redis keys (#3132) by @​sentrivana

  • Update SDK version in CONTRIBUTING.md (#3129) by @​sentrivana

  • Bump actions/checkout from 4.1.4 to 4.1.5 (#3067) by @​dependabot

2.4.0

Various fixes & improvements

... (truncated)

Commits

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [sentry-sdk](https://github.com/getsentry/sentry-python) from 2.3.1 to 2.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/getsentry/sentry-python/releases">sentry-sdk's releases</a>.</em></p> <blockquote> <h2>2.5.0</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li> <p>Allow to configure status codes to report to Sentry in Starlette and FastAPI (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3008">#3008</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p> <p>By passing a new option to the FastAPI and Starlette integrations, you're now able to configure what status codes should be sent as events to Sentry. Here's how it works:</p> <pre lang="python"><code>from sentry_sdk.integrations.starlette import StarletteIntegration from sentry_sdk.integrations.fastapi import FastApiIntegration <p>sentry_sdk.init( # ... integrations=[ StarletteIntegration( failed_request_status_codes=[403, range(500, 599)], ), FastApiIntegration( failed_request_status_codes=[403, range(500, 599)], ), ] ) </code></pre></p> <p><code>failed_request_status_codes</code> expects a list of integers or containers (objects that allow membership checks via <code>in</code>) of integers. Examples of valid <code>failed_request_status_codes</code>:</p> <ul> <li><code>[500]</code> will only send events on HTTP 500.</li> <li><code>[400, range(500, 599)]</code> will send events on HTTP 400 as well as the 500-599 range.</li> <li><code>[500, 503]</code> will send events on HTTP 500 and 503.</li> </ul> <p>The default is <code>[range(500, 599)]</code>.</p> <p>See the <a href="https://docs.sentry.io/platforms/python/integrations/fastapi/">FastAPI</a> and <a href="https://docs.sentry.io/platforms/python/integrations/starlette/">Starlette</a> integration docs for more details.</p> </li> <li> <p>Support multiple keys with <code>cache_prefixes</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3136">#3136</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p> </li> <li> <p>Support integer Redis keys (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3132">#3132</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p> </li> <li> <p>Update SDK version in CONTRIBUTING.md (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3129">#3129</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p> </li> <li> <p>Bump actions/checkout from 4.1.4 to 4.1.5 (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3067">#3067</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></p> </li> </ul> <h2>2.4.0</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li>Celery: Made <code>cache.key</code> span data field a list (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3110">#3110</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> <li>Celery Beat: Refactor the Celery Beat integration (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3105">#3105</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> <li>GRPC: Add None check for grpc.aio interceptor (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3109">#3109</a>) by <a href="https://github.com/ordinary-jamie"><code>@​ordinary-jamie</code></a></li> <li>Docs: Remove <code>last_event_id</code> from migration guide (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3126">#3126</a>) by <a href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li> <li>fix(django): Proper transaction names for i18n routes (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3104">#3104</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></li> <li>fix(scope): Copy <code>_last_event_id</code> in <code>Scope.__copy__</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3123">#3123</a>) by <a href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></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-python/blob/master/CHANGELOG.md">sentry-sdk's changelog</a>.</em></p> <blockquote> <h2>2.5.0</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li> <p>Allow to configure status codes to report to Sentry in Starlette and FastAPI (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3008">#3008</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p> <p>By passing a new option to the FastAPI and Starlette integrations, you're now able to configure what status codes should be sent as events to Sentry. Here's how it works:</p> <pre lang="python"><code>from sentry_sdk.integrations.starlette import StarletteIntegration from sentry_sdk.integrations.fastapi import FastApiIntegration <p>sentry_sdk.init( # ... integrations=[ StarletteIntegration( failed_request_status_codes=[403, range(500, 599)], ), FastApiIntegration( failed_request_status_codes=[403, range(500, 599)], ), ] ) </code></pre></p> <p><code>failed_request_status_codes</code> expects a list of integers or containers (objects that allow membership checks via <code>in</code>) of integers. Examples of valid <code>failed_request_status_codes</code>:</p> <ul> <li><code>[500]</code> will only send events on HTTP 500.</li> <li><code>[400, range(500, 599)]</code> will send events on HTTP 400 as well as the 500-599 range.</li> <li><code>[500, 503]</code> will send events on HTTP 500 and 503.</li> </ul> <p>The default is <code>[range(500, 599)]</code>.</p> <p>See the <a href="https://docs.sentry.io/platforms/python/integrations/fastapi/">FastAPI</a> and <a href="https://docs.sentry.io/platforms/python/integrations/starlette/">Starlette</a> integration docs for more details.</p> </li> <li> <p>Support multiple keys with <code>cache_prefixes</code> (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3136">#3136</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p> </li> <li> <p>Support integer Redis keys (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3132">#3132</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p> </li> <li> <p>Update SDK version in CONTRIBUTING.md (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3129">#3129</a>) by <a href="https://github.com/sentrivana"><code>@​sentrivana</code></a></p> </li> <li> <p>Bump actions/checkout from 4.1.4 to 4.1.5 (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3067">#3067</a>) by <a href="https://github.com/dependabot"><code>@​dependabot</code></a></p> </li> </ul> <h2>2.4.0</h2> <h3>Various fixes &amp; improvements</h3> <ul> <li>Celery: Made <code>cache.key</code> span data field a list (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3110">#3110</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> <li>Celery Beat: Refactor the Celery Beat integration (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3105">#3105</a>) by <a href="https://github.com/antonpirker"><code>@​antonpirker</code></a></li> <li>GRPC: Add None check for grpc.aio interceptor (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3109">#3109</a>) by <a href="https://github.com/ordinary-jamie"><code>@​ordinary-jamie</code></a></li> <li>Docs: Remove <code>last_event_id</code> from migration guide (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3126">#3126</a>) by <a href="https://github.com/szokeasaurusrex"><code>@​szokeasaurusrex</code></a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/getsentry/sentry-python/commit/504e05e9677fd7d43a70c15d2bb52a9c0fe7f2be"><code>504e05e</code></a> Update CHANGELOG.md</li> <li><a href="https://github.com/getsentry/sentry-python/commit/dbc02e67fa93343c0b7fffa01eeacba0f0dc32be"><code>dbc02e6</code></a> release: 2.5.0</li> <li><a href="https://github.com/getsentry/sentry-python/commit/92279683da608c7822f95703dd5822e1b6c72c02"><code>9227968</code></a> feat(starlette): Allow to configure status codes to report to Sentry (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3008">#3008</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/ac4d657a88a74c8a0e0d963457fccc0bb4164fa7"><code>ac4d657</code></a> fix(redis): Support multiple keys with cache_prefixes (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3136">#3136</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/8f80dfefa67fc04db1149173ed78cc3fa54c6de3"><code>8f80dfe</code></a> fix(cache): Fix key_as_string (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3132">#3132</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/c2c789684e19d53d68112e930c9c829f7d171f3c"><code>c2c7896</code></a> build(deps): bump actions/checkout from 4.1.4 to 4.1.5 (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3067">#3067</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/6f87c0deebb279d5ed2b5cd3b044777b2d9e6f70"><code>6f87c0d</code></a> Update SDK version in CONTRIBUTING.md (<a href="https://redirect.github.com/getsentry/sentry-python/issues/3129">#3129</a>)</li> <li><a href="https://github.com/getsentry/sentry-python/commit/572916b4efa65e2e604ced651e2d364c81bde103"><code>572916b</code></a> Merge branch 'release/2.4.0'</li> <li><a href="https://github.com/getsentry/sentry-python/commit/505a49184d4cbe64c3afd35725802c58a79cb25a"><code>505a491</code></a> Updated changelog</li> <li><a href="https://github.com/getsentry/sentry-python/commit/45203590dcd5c8a34b334136c1b28421e3a5a0f9"><code>4520359</code></a> release: 2.4.0</li> <li>Additional commits viewable in <a href="https://github.com/getsentry/sentry-python/compare/2.3.1...2.5.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sentry-sdk&package-manager=pip&previous-version=2.3.1&new-version=2.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details>
luketainton (Migrated from github.com) reviewed 2024-06-06 17:57:53 +02:00
sonarqubecloud[bot] commented 2024-06-06 18:24:58 +02:00 (Migrated from github.com)

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=luketainton_webexmemebot&pullRequest=261) **Quality Gate passed** Issues ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=261&resolved=false&sinceLeakPeriod=true) ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=luketainton_webexmemebot&pullRequest=261&resolutions=WONTFIX) Measures ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=luketainton_webexmemebot&pullRequest=261&resolved=false&sinceLeakPeriod=true) ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/no-data-16px.png '') No data about Coverage ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/no-data-16px.png '') No data about Duplication [See analysis details on SonarCloud](https://sonarcloud.io/dashboard?id=luketainton_webexmemebot&pullRequest=261)
Sign in to join this conversation.
No description provided.