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.40.6 to 1.41.0 #645

Closed dependabot[bot] closed 4 months ago

dependabot[bot] commented 4 months ago

Bumps sentry-sdk[flask] from 1.40.6 to 1.41.0.

Release notes

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

1.41.0

Various fixes & improvements

  • Add recursive scrubbing to EventScrubber (#2755) by @​Cheapshot003

    By default, the EventScrubber will not search your events for potential PII recursively. With this release, you can enable this behavior with:

    import sentry_sdk
    from sentry_sdk.scrubber import EventScrubber
    

    sentry_sdk.init( # ...your usual settings... event_scrubber=EventScrubber(recursive=True), )

  • Expose socket_options (#2786) by @​sentrivana

    If the SDK is experiencing connection issues (connection resets, server closing connection without response, etc.) while sending events to Sentry, tweaking the default urllib3 socket options to the following can help:

    import socket
    from urllib3.connection import HTTPConnection
    import sentry_sdk
    

    sentry_sdk.init( # ...your usual settings... socket_options=HTTPConnection.default_socket_options + [ (socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1), # note: skip the following line if you're on MacOS since TCP_KEEPIDLE doesn't exist there (socket.SOL_TCP, socket.TCP_KEEPIDLE, 45), (socket.SOL_TCP, socket.TCP_KEEPINTVL, 10), (socket.SOL_TCP, socket.TCP_KEEPCNT, 6), ], )

  • Allow to configure merge target for releases (#2777) by @​sentrivana

  • Allow empty character in metric tags values (#2775) by @​viglia

  • Replace invalid tag values with an empty string instead of _ (#2773) by @​markushi

  • Add documentation comment to scrub_list (#2769) by @​szokeasaurusrex

  • Fixed regex to parse version in lambda package file (#2767) by @​antonpirker

  • xfail broken AWS Lambda tests for now (#2794) by @​sentrivana

  • Removed print statements because it messes with the tests (#2789) by @​antonpirker

  • Bump types-protobuf from 4.24.0.20240129 to 4.24.0.20240302 (#2782) by @​dependabot

  • Bump checkouts/data-schemas from eb941c2 to ed078ed (#2781) by @​dependabot

Changelog

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

1.41.0

Various fixes & improvements

  • Add recursive scrubbing to EventScrubber (#2755) by @​Cheapshot003

    By default, the EventScrubber will not search your events for potential PII recursively. With this release, you can enable this behavior with:

    import sentry_sdk
    from sentry_sdk.scrubber import EventScrubber
    

    sentry_sdk.init( # ...your usual settings... event_scrubber=EventScrubber(recursive=True), )

  • Expose socket_options (#2786) by @​sentrivana

    If the SDK is experiencing connection issues (connection resets, server closing connection without response, etc.) while sending events to Sentry, tweaking the default urllib3 socket options to the following can help:

    import socket
    from urllib3.connection import HTTPConnection
    import sentry_sdk
    

    sentry_sdk.init( # ...your usual settings... socket_options=HTTPConnection.default_socket_options + [ (socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1), # note: skip the following line if you're on MacOS since TCP_KEEPIDLE doesn't exist there (socket.SOL_TCP, socket.TCP_KEEPIDLE, 45), (socket.SOL_TCP, socket.TCP_KEEPINTVL, 10), (socket.SOL_TCP, socket.TCP_KEEPCNT, 6), ], )

  • Allow to configure merge target for releases (#2777) by @​sentrivana

  • Allow empty character in metric tags values (#2775) by @​viglia

  • Replace invalid tag values with an empty string instead of _ (#2773) by @​markushi

  • Add documentation comment to scrub_list (#2769) by @​szokeasaurusrex

  • Fixed regex to parse version in lambda package file (#2767) by @​antonpirker

  • xfail broken AWS Lambda tests for now (#2794) by @​sentrivana

  • Removed print statements because it messes with the tests (#2789) by @​antonpirker

  • Bump types-protobuf from 4.24.0.20240129 to 4.24.0.20240302 (#2782) by @​dependabot

... (truncated)

Commits
  • df9841e Update CHANGELOG.md
  • fc70611 release: 1.41.0
  • 8f1a125 ref(awslambda): xfail broken tests for now (#2794)
  • d62dc90 Removed print statements because it messes with the tests (#2789)
  • b96f03d build(deps): bump types-protobuf from 4.24.0.20240129 to 4.24.0.20240302 (#2782)
  • 22dd50c build(deps): bump checkouts/data-schemas from eb941c2 to ed078ed (#2781)
  • c5785fb feat(transport): Expose socket_options (#2786)
  • 0901953 Allow to configure merge target for releases (#2777)
  • e07a128 fix(docs): allow empty character in metric tags values (#2775)
  • f874407 fix(metrics): Replace invalid tag values with an empty string instead of _ (#...
  • Additional commits viewable in compare view


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 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)
codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 94.75%. Comparing base (372b0d4) to head (94afbf4).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #645 +/- ## ======================================= Coverage 94.75% 94.75% ======================================= Files 75 75 Lines 4329 4329 ======================================= Hits 4102 4102 Misses 227 227 ``` | [Flag](https://app.codecov.io/gh/amiv-eth/amivapi/pull/645/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/645/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=amiv-eth) | `94.75% <ø> (ø)` | | 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.