Closed renovate[bot] closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
1d77b62
) 100.00% compared to head (34f7213
) 100.00%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR contains the following updates:
==1.32.0
->==1.39.1
Release Notes
getsentry/sentry-python (sentry-sdk)
### [`v1.39.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1391) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.39.0...1.39.1) ##### Various fixes & improvements - Fix psycopg2 detection in the Django integration ([#2593](https://togithub.com/getsentry/sentry-python/issues/2593)) by [@sentrivana](https://togithub.com/sentrivana) - Filter out empty string releases ([#2591](https://togithub.com/getsentry/sentry-python/issues/2591)) by [@sentrivana](https://togithub.com/sentrivana) - Fixed local var not present when there is an error in a user's `error_sampler` function ([#2511](https://togithub.com/getsentry/sentry-python/issues/2511)) by [@antonpirker](https://togithub.com/antonpirker) - Fixed typing in `aiohttp` ([#2590](https://togithub.com/getsentry/sentry-python/issues/2590)) by [@antonpirker](https://togithub.com/antonpirker) ### [`v1.39.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1390) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.38.0...1.39.0) ##### Various fixes & improvements - Add support for cluster clients from Redis SDK ([#2394](https://togithub.com/getsentry/sentry-python/issues/2394)) by [@md384](https://togithub.com/md384) - Improve location reporting for timer metrics ([#2552](https://togithub.com/getsentry/sentry-python/issues/2552)) by [@mitsuhiko](https://togithub.com/mitsuhiko) - Fix Celery `TypeError` with no-argument `apply_async` ([#2575](https://togithub.com/getsentry/sentry-python/issues/2575)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Fix Lambda integration with EventBridge source ([#2546](https://togithub.com/getsentry/sentry-python/issues/2546)) by [@davidcroda](https://togithub.com/davidcroda) - Add max tries to Spotlight ([#2571](https://togithub.com/getsentry/sentry-python/issues/2571)) by [@hazAT](https://togithub.com/hazAT) - Handle `os.path.devnull` access issues ([#2579](https://togithub.com/getsentry/sentry-python/issues/2579)) by [@sentrivana](https://togithub.com/sentrivana) - Change `code.filepath` frame picking logic ([#2568](https://togithub.com/getsentry/sentry-python/issues/2568)) by [@sentrivana](https://togithub.com/sentrivana) - Trigger AWS Lambda tests on label ([#2538](https://togithub.com/getsentry/sentry-python/issues/2538)) by [@sentrivana](https://togithub.com/sentrivana) - Run permissions step on pull_request_target but not push ([#2548](https://togithub.com/getsentry/sentry-python/issues/2548)) by [@sentrivana](https://togithub.com/sentrivana) - Hash AWS Lambda test functions based on current revision ([#2557](https://togithub.com/getsentry/sentry-python/issues/2557)) by [@sentrivana](https://togithub.com/sentrivana) - Update Django version in tests ([#2562](https://togithub.com/getsentry/sentry-python/issues/2562)) by [@sentrivana](https://togithub.com/sentrivana) - Make metrics tests non-flaky ([#2572](https://togithub.com/getsentry/sentry-python/issues/2572)) by [@antonpirker](https://togithub.com/antonpirker) ### [`v1.38.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1380) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.37.1...1.38.0) ##### Various fixes & improvements - Only add trace context to checkins and do not run `event_processors` for checkins ([#2536](https://togithub.com/getsentry/sentry-python/issues/2536)) by [@antonpirker](https://togithub.com/antonpirker) - Metric span summaries ([#2522](https://togithub.com/getsentry/sentry-python/issues/2522)) by [@mitsuhiko](https://togithub.com/mitsuhiko) - Add source context to code locations ([#2539](https://togithub.com/getsentry/sentry-python/issues/2539)) by [@jan-auer](https://togithub.com/jan-auer) - Use in-app filepath instead of absolute path ([#2541](https://togithub.com/getsentry/sentry-python/issues/2541)) by [@antonpirker](https://togithub.com/antonpirker) - Switch to `jinja2` for generating CI yamls ([#2534](https://togithub.com/getsentry/sentry-python/issues/2534)) by [@sentrivana](https://togithub.com/sentrivana) ### [`v1.37.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1371) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.37.0...1.37.1) ##### Various fixes & improvements - Fix `NameError` on `parse_version` with eventlet ([#2532](https://togithub.com/getsentry/sentry-python/issues/2532)) by [@sentrivana](https://togithub.com/sentrivana) - build(deps): bump checkouts/data-schemas from `68def1e` to `e9f7d58` ([#2501](https://togithub.com/getsentry/sentry-python/issues/2501)) by [@dependabot](https://togithub.com/dependabot) ### [`v1.37.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1370) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.36.0...1.37.0) ##### Various fixes & improvements - Move installed modules code to utils ([#2429](https://togithub.com/getsentry/sentry-python/issues/2429)) by [@sentrivana](https://togithub.com/sentrivana) Note: We moved the internal function `_get_installed_modules` from `sentry_sdk.integrations.modules` to `sentry_sdk.utils`. So if you use this function you have to update your imports - Add code locations for metrics ([#2526](https://togithub.com/getsentry/sentry-python/issues/2526)) by [@jan-auer](https://togithub.com/jan-auer) - Add query source to DB spans ([#2521](https://togithub.com/getsentry/sentry-python/issues/2521)) by [@antonpirker](https://togithub.com/antonpirker) - Send events to Spotlight sidecar ([#2524](https://togithub.com/getsentry/sentry-python/issues/2524)) by [@HazAT](https://togithub.com/HazAT) - Run integration tests with newest `pytest` ([#2518](https://togithub.com/getsentry/sentry-python/issues/2518)) by [@sentrivana](https://togithub.com/sentrivana) - Bring tests up to date ([#2512](https://togithub.com/getsentry/sentry-python/issues/2512)) by [@sentrivana](https://togithub.com/sentrivana) - Fix: Prevent global var from being discarded at shutdown ([#2530](https://togithub.com/getsentry/sentry-python/issues/2530)) by [@antonpirker](https://togithub.com/antonpirker) - Fix: Scope transaction source not being updated in scope.span setter ([#2519](https://togithub.com/getsentry/sentry-python/issues/2519)) by [@sl0thentr0py](https://togithub.com/sl0thentr0py) ### [`v1.36.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1360) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.35.0...1.36.0) ##### Various fixes & improvements - Django: Support Django 5.0 ([#2490](https://togithub.com/getsentry/sentry-python/issues/2490)) by [@sentrivana](https://togithub.com/sentrivana) - Django: Handling ASGI body in the right way. ([#2513](https://togithub.com/getsentry/sentry-python/issues/2513)) by [@antonpirker](https://togithub.com/antonpirker) - Flask: Test with Flask 3.0 ([#2506](https://togithub.com/getsentry/sentry-python/issues/2506)) by [@sentrivana](https://togithub.com/sentrivana) - Celery: Do not create a span when task is triggered by Celery Beat ([#2510](https://togithub.com/getsentry/sentry-python/issues/2510)) by [@antonpirker](https://togithub.com/antonpirker) - Redis: Ensure `RedisIntegration` is disabled, unless `redis` is installed ([#2504](https://togithub.com/getsentry/sentry-python/issues/2504)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Quart: Fix Quart integration for Quart 0.19.4 ([#2516](https://togithub.com/getsentry/sentry-python/issues/2516)) by [@antonpirker](https://togithub.com/antonpirker) - gRPC: Make async gRPC less noisy ([#2507](https://togithub.com/getsentry/sentry-python/issues/2507)) by [@jyggen](https://togithub.com/jyggen) ### [`v1.35.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1350) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.34.0...1.35.0) ##### Various fixes & improvements - **Updated gRPC integration:** Asyncio interceptors and easier setup ([#2369](https://togithub.com/getsentry/sentry-python/issues/2369)) by [@fdellekart](https://togithub.com/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](https://docs.sentry.io/platforms/python/integrations/grpc/) for more information): ```python 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](https://togithub.com/getsentry/sentry-python/issues/2502)) by [@sentrivana](https://togithub.com/sentrivana) - Metrics: Unify datetime format ([#2409](https://togithub.com/getsentry/sentry-python/issues/2409)) by [@mitsuhiko](https://togithub.com/mitsuhiko) - Celery: Set correct data in `check_in`s ([#2500](https://togithub.com/getsentry/sentry-python/issues/2500)) by [@antonpirker](https://togithub.com/antonpirker) - Celery: Read timezone for Crons monitors from `celery_schedule` if existing ([#2497](https://togithub.com/getsentry/sentry-python/issues/2497)) by [@antonpirker](https://togithub.com/antonpirker) - Django: Removing redundant code in Django tests ([#2491](https://togithub.com/getsentry/sentry-python/issues/2491)) by [@vagi8](https://togithub.com/vagi8) - Django: Make reading the request body work in Django ASGI apps. ([#2495](https://togithub.com/getsentry/sentry-python/issues/2495)) by [@antonpirker](https://togithub.com/antonpirker) - FastAPI: Use wraps on fastapi request call wrapper ([#2476](https://togithub.com/getsentry/sentry-python/issues/2476)) by [@nkaras](https://togithub.com/nkaras) - Fix: Probe for psycopg2 and psycopg3 parameters function. ([#2492](https://togithub.com/getsentry/sentry-python/issues/2492)) by [@antonpirker](https://togithub.com/antonpirker) - Fix: Remove unnecessary TYPE_CHECKING alias ([#2467](https://togithub.com/getsentry/sentry-python/issues/2467)) by [@rafrafek](https://togithub.com/rafrafek) ### [`v1.34.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1340) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.33.1...1.34.0) ##### Various fixes & improvements - Added Python 3.12 support ([#2471](https://togithub.com/getsentry/sentry-python/issues/2471), [#2483](https://togithub.com/getsentry/sentry-python/issues/2483)) - Handle missing `connection_kwargs` in `patch_redis_client` ([#2482](https://togithub.com/getsentry/sentry-python/issues/2482)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Run common test suite on Python 3.12 ([#2479](https://togithub.com/getsentry/sentry-python/issues/2479)) by [@sentrivana](https://togithub.com/sentrivana) ### [`v1.33.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1331) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.33.0...1.33.1) ##### Various fixes & improvements - Make parse_version work in utils.py itself. ([#2474](https://togithub.com/getsentry/sentry-python/issues/2474)) by [@antonpirker](https://togithub.com/antonpirker) ### [`v1.33.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1330) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.32.0...1.33.0) ##### Various fixes & improvements - New: Added `error_sampler` option ([#2456](https://togithub.com/getsentry/sentry-python/issues/2456)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Python 3.12: Detect interpreter in shutdown state on thread spawn ([#2468](https://togithub.com/getsentry/sentry-python/issues/2468)) by [@mitsuhiko](https://togithub.com/mitsuhiko) - Patch eventlet under Sentry SDK ([#2464](https://togithub.com/getsentry/sentry-python/issues/2464)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Mitigate CPU spikes when sending lots of events with lots of data ([#2449](https://togithub.com/getsentry/sentry-python/issues/2449)) by [@antonpirker](https://togithub.com/antonpirker) - Make `debug` option also configurable via environment ([#2450](https://togithub.com/getsentry/sentry-python/issues/2450)) by [@antonpirker](https://togithub.com/antonpirker) - Make sure `get_dsn_parameters` is an actual function ([#2441](https://togithub.com/getsentry/sentry-python/issues/2441)) by [@sentrivana](https://togithub.com/sentrivana) - Bump pytest-localserver, add compat comment ([#2448](https://togithub.com/getsentry/sentry-python/issues/2448)) by [@sentrivana](https://togithub.com/sentrivana) - AWS Lambda: Update compatible runtimes for AWS Lambda layer ([#2453](https://togithub.com/getsentry/sentry-python/issues/2453)) by [@antonpirker](https://togithub.com/antonpirker) - AWS Lambda: Load AWS Lambda secrets in Github CI ([#2153](https://togithub.com/getsentry/sentry-python/issues/2153)) by [@antonpirker](https://togithub.com/antonpirker) - Redis: Connection attributes in `redis` database spans ([#2398](https://togithub.com/getsentry/sentry-python/issues/2398)) by [@antonpirker](https://togithub.com/antonpirker) - Falcon: Falcon integration checks response status before reporting error ([#2465](https://togithub.com/getsentry/sentry-python/issues/2465)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Quart: Support Quart 0.19 onwards ([#2403](https://togithub.com/getsentry/sentry-python/issues/2403)) by [@pgjones](https://togithub.com/pgjones) - Sanic: Sanic integration initial version ([#2419](https://togithub.com/getsentry/sentry-python/issues/2419)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Django: Fix parsing of Django `path` patterns ([#2452](https://togithub.com/getsentry/sentry-python/issues/2452)) by [@sentrivana](https://togithub.com/sentrivana) - Django: Add Django 4.2 to test suite ([#2462](https://togithub.com/getsentry/sentry-python/issues/2462)) by [@sentrivana](https://togithub.com/sentrivana) - Polish changelog ([#2434](https://togithub.com/getsentry/sentry-python/issues/2434)) by [@sentrivana](https://togithub.com/sentrivana) - Update CONTRIBUTING.md ([#2443](https://togithub.com/getsentry/sentry-python/issues/2443)) by [@krishvsoni](https://togithub.com/krishvsoni) - Update README.md ([#2435](https://togithub.com/getsentry/sentry-python/issues/2435)) by [@sentrivana](https://togithub.com/sentrivana)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.