amiv-eth / amivapi

The REST API behind most of AMIV's web services.
http://api.amiv.ethz.ch/docs
GNU Affero General Public License v3.0
30 stars 6 forks source link

Bump sentry-sdk[flask] from 1.34.0 to 1.35.0 #613

Closed dependabot[bot] closed 9 months ago

dependabot[bot] commented 9 months ago

Bumps sentry-sdk[flask] from 1.34.0 to 1.35.0.

Release notes

Sourced from sentry-sdk[flask]'s releases.

1.35.0

Various fixes & improvements

  • Updated gRPC integration: Asyncio interceptors and easier setup (#2369) by @​fdellekart

    Our gRPC integration now instruments incoming unary-unary grpc requests and outgoing unary-unary, unary-stream grpc requests using grpcio channels. Everything works now for sync and async code.

    Before this release you had to add Sentry interceptors by hand to your gRPC code, now the only thing you need to do is adding the GRPCIntegration to you sentry_sdk_init() call. (See documentation for more information):

    import sentry_sdk
    from sentry_sdk.integrations.grpc import GRPCIntegration
    

    sentry_sdk.init( dsn="PUBLIC_DSN", enable_tracing=True, integrations=[ GRPCIntegration(), ], )

    The old way still works, but we strongly encourage you to update your code to the way described above.

  • Python 3.12: Replace deprecated datetime functions (#2502) by @​sentrivana

  • Metrics: Unify datetime format (#2409) by @​mitsuhiko

  • Celery: Set correct data in check_ins (#2500) by @​antonpirker

  • Celery: Read timezone for Crons monitors from celery_schedule if existing (#2497) by @​antonpirker

  • Django: Removing redundant code in Django tests (#2491) by @​vagi8

  • Django: Make reading the request body work in Django ASGI apps. (#2495) by @​antonpirker

  • FastAPI: Use wraps on fastapi request call wrapper (#2476) by @​nkaras

  • Fix: Probe for psycopg2 and psycopg3 parameters function. (#2492) by @​antonpirker

  • Fix: Remove unnecessary TYPE_CHECKING alias (#2467) by @​rafrafek

Changelog

Sourced from sentry-sdk[flask]'s changelog.

1.35.0

Various fixes & improvements

  • Updated gRPC integration: Asyncio interceptors and easier setup (#2369) by @​fdellekart

    Our gRPC integration now instruments incoming unary-unary grpc requests and outgoing unary-unary, unary-stream grpc requests using grpcio channels. Everything works now for sync and async code.

    Before this release you had to add Sentry interceptors by hand to your gRPC code, now the only thing you need to do is adding the GRPCIntegration to you sentry_sdk_init() call. (See documentation for more information):

    import sentry_sdk
    from sentry_sdk.integrations.grpc import GRPCIntegration
    

    sentry_sdk.init( dsn="PUBLIC_DSN", enable_tracing=True, integrations=[ GRPCIntegration(), ], )

    The old way still works, but we strongly encourage you to update your code to the way described above.

  • Python 3.12: Replace deprecated datetime functions (#2502) by @​sentrivana

  • Metrics: Unify datetime format (#2409) by @​mitsuhiko

  • Celery: Set correct data in check_ins (#2500) by @​antonpirker

  • Celery: Read timezone for Crons monitors from celery_schedule if existing (#2497) by @​antonpirker

  • Django: Removing redundant code in Django tests (#2491) by @​vagi8

  • Django: Make reading the request body work in Django ASGI apps. (#2495) by @​antonpirker

  • FastAPI: Use wraps on fastapi request call wrapper (#2476) by @​nkaras

  • Fix: Probe for psycopg2 and psycopg3 parameters function. (#2492) by @​antonpirker

  • Fix: Remove unnecessary TYPE_CHECKING alias (#2467) by @​rafrafek

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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e87e611) 94.76% compared to head (b51e72c) 94.76%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #613 +/- ## ======================================= Coverage 94.76% 94.76% ======================================= Files 75 75 Lines 4315 4315 ======================================= Hits 4089 4089 Misses 226 226 ``` | [Flag](https://app.codecov.io/gh/amiv-eth/amivapi/pull/613/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=amiv-eth) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/amiv-eth/amivapi/pull/613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=amiv-eth) | `94.76% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=amiv-eth#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.