rclement / mailer

Dead-simple mailer micro-service for static websites
https://rclement.github.io/mailer/
GNU Affero General Public License v3.0
59 stars 8 forks source link

Update dependency sentry-sdk to v1.31.0 #804

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sentry-sdk (changelog) ==1.29.2 -> ==1.31.0 age adoption passing confidence

Release Notes

getsentry/sentry-python (sentry-sdk) ### [`v1.31.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1310) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.30.0...1.31.0) ##### Various fixes & improvements - **New:** Add integration for `clickhouse-driver` ([#​2167](https://togithub.com/getsentry/sentry-python/issues/2167)) by [@​mimre25](https://togithub.com/mimre25) For more information, see the documentation for [clickhouse-driver](https://docs.sentry.io/platforms/python/configuration/integrations/clickhouse-driver) for more information. Usage: ```python import sentry_sdk from sentry_sdk.integrations.clickhouse_driver import ClickhouseDriverIntegration sentry_sdk.init( dsn='___PUBLIC_DSN___', integrations=[ ClickhouseDriverIntegration(), ], ) ``` - **New:** Add integration for `asyncpg` ([#​2314](https://togithub.com/getsentry/sentry-python/issues/2314)) by [@​mimre25](https://togithub.com/mimre25) For more information, see the documentation for [asyncpg](https://docs.sentry.io/platforms/python/configuration/integrations/asyncpg/) for more information. Usage: ```python import sentry_sdk from sentry_sdk.integrations.asyncpg import AsyncPGIntegration sentry_sdk.init( dsn='___PUBLIC_DSN___', integrations=[ AsyncPGIntegration(), ], ) ``` - **New:** Allow to override `propagate_traces` in `Celery` per task ([#​2331](https://togithub.com/getsentry/sentry-python/issues/2331)) by [@​jan-auer](https://togithub.com/jan-auer) For more information, see the documentation for [Celery](https://docs.sentry.io//platforms/python/guides/celery/#distributed-traces) for more information. Usage: ```python import sentry_sdk from sentry_sdk.integrations.celery import CeleryIntegration ``` ### Enable global distributed traces (this is the default, just to be explicit.) sentry_sdk.init( dsn='___PUBLIC_DSN___', integrations=[ CeleryIntegration(propagate_traces=True), ], ) ... ### This will NOT propagate the trace. (The task will start its own trace): my_task_b.apply_async( args=("some_parameter", ), headers={"sentry-propagate-traces": False}, ) ``` - Prevent Falcon integration from breaking ASGI apps (#​2359) by @​szokeasaurusrex - Backpressure: only downsample a max of 10 times (#​2347) by @​sl0thentr0py - Made NoOpSpan compatible to Transactions. (#​2364) by @​antonpirker - Cleanup ASGI integration (#​2335) by @​antonpirker - Pin anyio in tests (dep of httpx), because new major 4.0.0 breaks tests. (#​2336) by @​antonpirker - Added link to backpressure section in docs. (#​2354) by @​antonpirker - Add .vscode to .gitignore (#​2317) by @​shoaib-mohd - Documenting Spans and Transactions (#​2358) by @​antonpirker - Fix in profiler: do not call getcwd from module root (#​2329) by @​Zylphrex - Fix deprecated version attribute (#​2338) by @​vagi8 - Fix transaction name in Starlette and FastAPI (#​2341) by @​antonpirker - Fix tests using Postgres (#​2362) by @​antonpirker - build(deps): Updated linting tooling (#​2350) by @​antonpirker - build(deps): bump sphinx from 7.2.4 to 7.2.5 (#​2344) by @​dependabot - build(deps): bump actions/checkout from 2 to 4 (#​2352) by @​dependabot - build(deps): bump checkouts/data-schemas from `ebc77d3` to `68def1e` (#​2351) by @​dependabot ``` ### [`v1.30.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1300) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.29.2...1.30.0) ##### Various fixes & improvements - Officially support Python 3.11 ([#​2300](https://togithub.com/getsentry/sentry-python/issues/2300)) by [@​sentrivana](https://togithub.com/sentrivana) - Context manager monitor ([#​2290](https://togithub.com/getsentry/sentry-python/issues/2290)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Set response status code in transaction `response` context. ([#​2312](https://togithub.com/getsentry/sentry-python/issues/2312)) by [@​antonpirker](https://togithub.com/antonpirker) - Add missing context kwarg to `_sentry_task_factory` ([#​2267](https://togithub.com/getsentry/sentry-python/issues/2267)) by [@​JohnnyDeuss](https://togithub.com/JohnnyDeuss) - In Postgres take the connection params from the connection ([#​2308](https://togithub.com/getsentry/sentry-python/issues/2308)) by [@​antonpirker](https://togithub.com/antonpirker) - Experimental: Allow using OTel for performance instrumentation ([#​2272](https://togithub.com/getsentry/sentry-python/issues/2272)) by [@​sentrivana](https://togithub.com/sentrivana) This release includes experimental support for replacing Sentry's default performance monitoring solution with one powered by OpenTelemetry without having to do any manual setup. Try it out by installing `pip install sentry-sdk[opentelemetry-experimental]` and then initializing the SDK with: ```python sentry_sdk.init( ``` ### ...your usual options... _experiments={"otel_powered_performance": True}, ) ``` This enables OpenTelemetry performance monitoring support for some of the most popular frameworks and libraries (Flask, Django, FastAPI, requests...). We're looking forward to your feedback! Please let us know about your experience in this discussion: https://github.com/getsentry/sentry/discussions/55023 **Important note:** Please note that this feature is experimental and in a proof-of-concept stage and is not meant for production use. It may be changed or removed at any point. - Enable backpressure handling by default ([#​2298](https://togithub.com/getsentry/sentry-python/issues/2298)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) The SDK now dynamically downsamples transactions to reduce backpressure in high throughput systems. It starts a new `Monitor` thread to perform some health checks which decide to downsample (halved each time) in 10 second intervals till the system is healthy again. To disable this behavior, use: ```python sentry_sdk.init( ``` ### ...your usual options... enable_backpressure_handling=False, ) ``` If your system serves heavy load, please let us know how this feature works for you! Check out the [documentation](https://docs.sentry.io/platforms/python/configuration/options/#enable-backpressure-handling) for more information. - Stop recording spans for internal web requests to Sentry ([#​2297](https://togithub.com/getsentry/sentry-python/issues/2297)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Add test for `ThreadPoolExecutor` ([#​2259](https://togithub.com/getsentry/sentry-python/issues/2259)) by [@​gggritso](https://togithub.com/gggritso) - Add docstrings for `Scope.update_from_*` ([#​2311](https://togithub.com/getsentry/sentry-python/issues/2311)) by [@​sentrivana](https://togithub.com/sentrivana) - Moved `is_sentry_url` to utils ([#​2304](https://togithub.com/getsentry/sentry-python/issues/2304)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Fix: arq attribute error on settings, support worker args ([#​2260](https://togithub.com/getsentry/sentry-python/issues/2260)) by [@​rossmacarthur](https://togithub.com/rossmacarthur) - Fix: Exceptions include detail property for their value ([#​2193](https://togithub.com/getsentry/sentry-python/issues/2193)) by [@​nicolassanmar](https://togithub.com/nicolassanmar) - build(deps): bump mypy from 1.4.1 to 1.5.1 ([#​2319](https://togithub.com/getsentry/sentry-python/issues/2319)) by [@​dependabot](https://togithub.com/dependabot) - build(deps): bump sphinx from 7.1.2 to 7.2.4 ([#​2322](https://togithub.com/getsentry/sentry-python/issues/2322)) by [@​dependabot](https://togithub.com/dependabot) - build(deps): bump sphinx from 7.0.1 to 7.1.2 ([#​2296](https://togithub.com/getsentry/sentry-python/issues/2296)) by [@​dependabot](https://togithub.com/dependabot) - build(deps): bump checkouts/data-schemas from `1b85152` to `ebc77d3` ([#​2254](https://togithub.com/getsentry/sentry-python/issues/2254)) by [@​dependabot](https://togithub.com/dependabot)

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.



This PR has been generated by Mend Renovate. View repository job log here.

codecov[bot] commented 1 year ago

Codecov Report

Merging #804 (a8c9ebc) into master (cf6257f) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #804   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines          834       834           
  Branches        62        62           
=========================================
  Hits           834       834           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more