Commit Graph

82 Commits

Author SHA256 Message Date
Ana Guerrero
3252d63911 Accepting request 1194964 from devel:languages:python
- Update to 2.13.0:
  * New integration: Ray
  * New integration: Litestar
  * Profiling: Add client SDK info to profile chunk (#3386)
  * Serialize vars early to avoid living references (#3409)
  * Deprecate hub-based `sessions.py` logic (#3419)
  * Deprecate `is_auto_session_tracking_enabled` (#3428)
  * API: `push_scope` deprecation warning (#3355) (#3355)
  * API: Replace `push_scope` (#3353, #3354)
  * OTel: Remove experimental autoinstrumentation (#3239)
  * Graphene: Add span for grapqhl operation (#2788)
  * AI: Add async support for `ai_track` decorator (#3376)
  * CI: Workaround bug preventing Django test runs (#3371)
  * CI: Remove Django setuptools pin (#3378)
  * Tests: Test with Django 5.1 RC (#3370)
  * Broaden `add_attachment` type (#3342)
  * Add span data to the transactions trace context (#3374)
  * Gracefully fail attachment path not found case (#3337)
  * Document attachment parameters (#3342)
  * Add `disabled_integrations` (#3328)
  * Use operation name as transaction name in Strawberry (#3294)
  * WSGI integrations respect `SCRIPT_NAME` env variable (#2622)
  * Make Django DB spans have origin `auto.db.django` (#3319)
  * Sort breadcrumbs by time before sending (#3307)
  * Fix `KeyError('sentry-monitor-start-timestamp-s')` (#3278)
  * Set MongoDB tags directly on span data (#3290)
  * Lower logger level for some messages (#3305)
  * Emit deprecation warnings from `Hub` API (#3280)
  * Clarify that `instrumenter` is internal-only (#3299)
  * Support Django 5.1 (#3207)

OBS-URL: https://build.opensuse.org/request/show/1194964
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=35
2024-08-21 21:25:56 +00:00
Steve Kowalik
0091b28ebd - Update to 2.13.0:
* New integration: Ray
  * New integration: Litestar
  * Profiling: Add client SDK info to profile chunk (#3386)
  * Serialize vars early to avoid living references (#3409)
  * Deprecate hub-based `sessions.py` logic (#3419)
  * Deprecate `is_auto_session_tracking_enabled` (#3428)
  * API: `push_scope` deprecation warning (#3355) (#3355)
  * API: Replace `push_scope` (#3353, #3354)
  * OTel: Remove experimental autoinstrumentation (#3239)
  * Graphene: Add span for grapqhl operation (#2788)
  * AI: Add async support for `ai_track` decorator (#3376)
  * CI: Workaround bug preventing Django test runs (#3371)
  * CI: Remove Django setuptools pin (#3378)
  * Tests: Test with Django 5.1 RC (#3370)
  * Broaden `add_attachment` type (#3342)
  * Add span data to the transactions trace context (#3374)
  * Gracefully fail attachment path not found case (#3337)
  * Document attachment parameters (#3342)
  * Add `disabled_integrations` (#3328)
  * Use operation name as transaction name in Strawberry (#3294)
  * WSGI integrations respect `SCRIPT_NAME` env variable (#2622)
  * Make Django DB spans have origin `auto.db.django` (#3319)
  * Sort breadcrumbs by time before sending (#3307)
  * Fix `KeyError('sentry-monitor-start-timestamp-s')` (#3278)
  * Set MongoDB tags directly on span data (#3290)
  * Lower logger level for some messages (#3305)
  * Emit deprecation warnings from `Hub` API (#3280)
  * Clarify that `instrumenter` is internal-only (#3299)
  * Support Django 5.1 (#3207)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=77
2024-08-21 03:59:59 +00:00
Ana Guerrero
f462d571a6 Accepting request 1188499 from devel:languages:python
- Update to 2.10.0
  * refactored a big part of the foundation of the SDK
  * Additional integrations will now be activated automatically if 
    the SDK detects the respective package is installed
  * Added new API for custom instrumentation: new_scope, isolation_scope
  * Many breaking changes, see CHANGELOG.md
  * Removed support for Python 2 and Python 3.5
  * Removed support for Celery 3.*
  * Removed support for Django 1.8, 1.9, 1.10
  * Removed support for Flask 0.*
  * Removed support for gRPC < 1.39
  * Removed support for Tornado < 6
  * few deprecations
  * fix(integrations): don't send full env to subprocess
    (bsc#1228128, CVE-2024-40647)
  * many more changes, see CHANGELOG.md
- Revised tests

- update to 1.45.0:
  * Allow to upsert monitors
  * It's now possible to provide `monitor_config` to the
    `monitor` decorator/context manager directly:
  * Add Django `signals_denylist` to filter signals that are
    attached to by `signals_spans`
  * `increment` for metrics
  * Add `value`, `unit` to `before_emit_metric`
  * New normalization rules for metric keys, names, units, tags
  * Change `data_category` from `statsd` to `metric_bucket`
  * Accessing `__mro__` might throw a `ValueError`
  * Suppress prompt spawned by subprocess when using `pythonw`

OBS-URL: https://build.opensuse.org/request/show/1188499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=34
2024-07-19 13:27:06 +00:00
Steve Kowalik
5290a6143a Note CVE fix and bug reference in changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=75
2024-07-19 00:38:50 +00:00
c9c22c1aa0 - Update to 2.10.0
* refactored a big part of the foundation of the SDK
  * Additional integrations will now be activated automatically if 
    the SDK detects the respective package is installed
  * Added new API for custom instrumentation: new_scope, isolation_scope
  * Many breaking changes, see CHANGELOG.md
  * Removed support for Python 2 and Python 3.5
  * Removed support for Celery 3.*
  * Removed support for Django 1.8, 1.9, 1.10
  * Removed support for Flask 0.*
  * Removed support for gRPC < 1.39
  * Removed support for Tornado < 6
  * few deprecations
  * many more changes, see CHANGELOG.md
- Revised tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=74
2024-07-18 06:45:21 +00:00
525a8ed69a - update to 1.45.0:
* Allow to upsert monitors
  * It's now possible to provide `monitor_config` to the
    `monitor` decorator/context manager directly:
  * Add Django `signals_denylist` to filter signals that are
    attached to by `signals_spans`
  * `increment` for metrics
  * Add `value`, `unit` to `before_emit_metric`
  * New normalization rules for metric keys, names, units, tags
  * Change `data_category` from `statsd` to `metric_bucket`
  * Accessing `__mro__` might throw a `ValueError`
  * Suppress prompt spawned by subprocess when using `pythonw`
  * Handle `None` in GraphQL query
  * Do not send "quiet" Sanic exceptions to Sentry
  * Implement `metric_bucket` rate limits
  * Fix type hints for `monitor` decorator
  * Remove deprecated `typing` imports in crons
  * Make `monitor_config` a `TypedDict`
  * Make `monitor` async friendly
  * Fixed `Event | None` runtime `TypeError`
  * ref: Define types at runtime
  * Explicit reexport of types
  * Add optional `keep_alive`
  * Add support for Celery Redbeat cron tasks
  * `aws_event` can be an empty list
  * Re-export `Event` in `types.py`
  * We added an integration for OpenAI to capture errors and also
    performance data when using the OpenAI Python SDK.
  * Discard open OpenTelemetry spans after 10 minutes
  * Propagate sentry-trace and baggage headers to Huey tasks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=73
2024-06-29 19:27:25 +00:00
Ana Guerrero
a75f01bc27 Accepting request 1183486 from devel:languages:python
Forwarded request #1181071 from Vogtinator

Reduce dependencies from 260MiB to 14MiB.

  - Only require install requirements. The extra requirements are
    mostly for integrations and not meant to be dependencies.

OBS-URL: https://build.opensuse.org/request/show/1183486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=33
2024-06-27 14:03:44 +00:00
fb1c94987f Reduce dependencies from 260MiB to 14MiB.
- Only require install requirements. The extra requirements are
  mostly for integrations and not meant to be dependencies.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=71
2024-06-26 20:19:43 +00:00
Ana Guerrero
66449479a3 Accepting request 1157751 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1157751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=32
2024-03-13 21:21:37 +00:00
ae2c97260d Accepting request 1157750 from home:dirkmueller:Factory
- disable build for python39 as ipdb is no longer available

OBS-URL: https://build.opensuse.org/request/show/1157750
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=69
2024-03-13 19:02:07 +00:00
888cdcc631 Accepting request 1157651 from devel:languages:python
rollback

OBS-URL: https://build.opensuse.org/request/show/1157651
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=68
2024-03-13 15:09:27 +00:00
7633802f34 - remove optional ipbd dependency as it no longer exists for 3.9
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=67
2024-03-13 13:57:23 +00:00
Ana Guerrero
32b5c9003c Accepting request 1146460 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1146460
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=31
2024-02-13 21:44:41 +00:00
23cdd095f0 Accepting request 1146459 from home:ecsos:python
Little change for Factory

OBS-URL: https://build.opensuse.org/request/show/1146459
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=65
2024-02-13 17:02:28 +00:00
f0883093d1 Accepting request 1146407 from home:ecsos:python
- Update to 1.40.4
  - Only start metrics flusher thread on demand (#2727)
  - Bump checkouts/data-schemas from aa7058c to 6121fd3 (#2724)
- Changes from 1.40.3
  - Turn off metrics for uWSGI (#2720)
  - Minor improvements (#2714)
- Changes from 1.40.2
  - test: Fix pytest error (#2712)
  - build(deps): bump types-protobuf from 4.24.0.4 to 4.24.0.20240129 (#2691)
- Changes from 1.40.1
  - Fix uWSGI workers hanging (#2694)
  - Make metrics work with gevent (#2694)
  - Guard against engine.url being None (#2708)
  - Fix performance regression in sentry_sdk.utils._generate_installed_modules (#2703)
  - Guard against Sentry initialization mid SQLAlchemy cursor (#2702)
  - Fix yaml generation script (#2695)
  - Fix AWS Lambda workflow (#2710)
  - Bump codecov/codecov-action from 3 to 4 (#2706)
  - Bump actions/cache from 3 to 4 (#2661)
  - Bump actions/checkout from 3.1.0 to 4.1.1 (#2561)
  - Bump github/codeql-action from 2 to 3 (#2603)
  - Bump actions/setup-python from 4 to 5 (#2577)
- Changes from 1.40.0
  - Enable metrics related settings by default (#2685)
  - Fix UnicodeDecodeError on Python 2 (#2657)
  - Enable DB query source by default (#2629)
  - Fix query source duration check (#2675)
  - Reformat with black==24.1.0 (#2680)
  - Cleaning up existing code to prepare for new Scopes API (#2611)
  - Moved redis related tests to databases (#2674)
  - Improve sentry_sdk.trace type hints (#2633)
  - Bump checkouts/data-schemas from e9f7d58 to aa7058c (#2639)

OBS-URL: https://build.opensuse.org/request/show/1146407
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=64
2024-02-13 13:39:45 +00:00
Ana Guerrero
0f7fb585c7 Accepting request 1137937 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1137937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=30
2024-01-10 20:53:14 +00:00
bf8778a69b Accepting request 1137936 from home:ecsos:python
- Update to 1.39.2
  - Fix timestamp in transaction created by OTel (#2627)
  - Fix relative path in DB query source (#2624)
  - Run more CI checks on 2.0 branch (#2625)
  - Fix tracing TypeError for static and class methods (#2559)
  - Fix missing ctx in Arq integration (#2600)
  - Change data_category from check_in to monitor (#2598)
- Changes from 1.39.1
  - Fix psycopg2 detection in the Django integration (#2593)
  - Filter out empty string releases (#2591)
  - Fixed local var not present when there is an error in a user's
    error_sampler function (#2511)
  - Fixed typing in aiohttp (#2590)
- Changes from 1.39.0
  - Add support for cluster clients from Redis SDK (#2394)
  - Improve location reporting for timer metrics (#2552)
  - Fix Celery TypeError with no-argument apply_async (#2575)
  - Fix Lambda integration with EventBridge source (#2546)
  - Add max tries to Spotlight (#2571)
  - Handle os.path.devnull access issues (#2579)
  - Change code.filepath frame picking logic (#2568)
  - Trigger AWS Lambda tests on label (#2538)
  - Run permissions step on pull_request_target but not push (#2548)
  - Hash AWS Lambda test functions based on current revision (#2557)
  - Update Django version in tests (#2562)
  - Make metrics tests non-flaky (#2572)

OBS-URL: https://build.opensuse.org/request/show/1137936
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=62
2024-01-10 13:01:01 +00:00
Ana Guerrero
f7c9e29454 Accepting request 1133476 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1133476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=29
2023-12-15 20:50:52 +00:00
31c5559eed - update to 1.38.0:
* Only add trace context to checkins and do not run
    `event_processors` for checkins (#2536) by @antonpirker
  * Metric span summaries (#2522) by @mitsuhiko
  * Add source context to code locations (#2539) by @jan-auer
  * Use in-app filepath instead of absolute path (#2541) by
    @antonpirker
  * Switch to `jinja2` for generating CI yamls (#2534) by
    @sentrivana
  * Fix `NameError` on `parse_version` with eventlet (#2532) by
    @sentrivana
  * build(deps): bump checkouts/data-schemas from `68def1e` to
    `e9f7d58` (#2501) by @dependabot
  * Move installed modules code to utils (#2429) by @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) by @jan-auer
  * Add query source to DB spans (#2521) by @antonpirker
  * Send events to Spotlight sidecar (#2524) by @HazAT
  * Fix: Prevent global var from being discarded at shutdown
    (#2530) by @antonpirker
  * Fix: Scope transaction source not being updated in scope.span
    setter (#2519) by @sl0thentr0py
- add mock.patch to use mock from stdlib
  - Expose proxy_headers as top level config and use in ProxyManager:
  - Fix django legacy url resolver regex substitution due to
    experimental session_mode in favor of auto detecting its value,
  - Fixed Django transaction name by setting the name to
  - Fix for worker that logs data dropping of events with level

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=60
2023-12-08 16:04:03 +00:00
Ana Guerrero
30a6c0f4e8 Accepting request 1128032 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1128032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=28
2023-11-22 17:54:49 +00:00
7b1da306b3 Accepting request 1128031 from home:ecsos:python
- Update to 1.36.0
  - Django: Support Django 5.0 (#2490)
  - Django: Handling ASGI body in the right way. (#2513)
  - Flask: Test with Flask 3.0 (#2506)
  - Celery: Do not create a span when task is triggered by Celery Beat (#2510)
  - Redis: Ensure RedisIntegration is disabled, unless redis is installed (#2504)
  - Quart: Fix Quart integration for Quart 0.19.4 (#2516)
  - gRPC: Make async gRPC less noisy (#2507)
- Update to 1.35.0
  - Updated gRPC integration: Asyncio interceptors and easier setup (#2369)
  - Python 3.12: Replace deprecated datetime functions (#2502)
  - Metrics: Unify datetime format (#2409)
  - Celery: Set correct data in check_ins (#2500)
  - Celery: Read timezone for Crons monitors from celery_schedule if existing (#2497)
  - Django: Removing redundant code in Django tests (#2491)
  - Django: Make reading the request body work in Django ASGI apps. (#2495)
  - FastAPI: Use wraps on fastapi request call wrapper (#2476)
  - Fix: Probe for psycopg2 and psycopg3 parameters function. (#2492)
  - Fix: Remove unnecessary TYPE_CHECKING alias (#2467)

OBS-URL: https://build.opensuse.org/request/show/1128031
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=58
2023-11-22 08:20:19 +00:00
Ana Guerrero
87ddf20e09 Accepting request 1122940 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1122940
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=27
2023-11-02 19:23:22 +00:00
c6b0a6eed7 Accepting request 1122939 from home:ecsos:python
- Update to 1.34.0
  - Added Python 3.12 support (#2471, #2483)
  - Handle missing connection_kwargs in patch_redis_client (#2482)
  - Run common test suite on Python 3.12 (#2479)
- Update to 1.33.1
  - Make parse_version work in utils.py itself. (#2474)
- Update to 1.33.0
  - New: Added error_sampler option (#2456)
  - Python 3.12: Detect interpreter in shutdown state on thread spawn (#2468)
  - Patch eventlet under Sentry SDK (#2464)
  - Mitigate CPU spikes when sending lots of events with lots of data (#2449)
  - Make debug option also configurable via environment (#2450)
  - Make sure get_dsn_parameters is an actual function (#2441)
  - Bump pytest-localserver, add compat comment (#2448)
  - AWS Lambda: Update compatible runtimes for AWS Lambda layer (#2453)
  - AWS Lambda: Load AWS Lambda secrets in Github CI (#2153)
  - Redis: Connection attributes in redis database spans (#2398)
  - Falcon: Falcon integration checks response status before reporting error (#2465)
  - Quart: Support Quart 0.19 onwards (#2403)
  - Sanic: Sanic integration initial version (#2419)
  - Django: Fix parsing of Django path patterns (#2452)
  - Django: Add Django 4.2 to test suite (#2462)
  - Polish changelog (#2434)
  - Update CONTRIBUTING.md (#2443)
  - Update README.md (#2435)
- Update to 1.32.0
  https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md#1320
- Update to 1.31.0
  https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md#1310
- Update to 1.30.0
  https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md#1300
- Update to 1.29.2
  https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md#1292
- Update to 1.29.1
  https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md#1291
- Update to 1.29.0
  https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md#1290

OBS-URL: https://build.opensuse.org/request/show/1122939
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=56
2023-11-02 18:21:11 +00:00
Ana Guerrero
ed8b508b16 Accepting request 1099404 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1099404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=26
2023-07-19 17:11:01 +00:00
c99cf7c406 Accepting request 1099403 from home:ecsos:python
- Update to 1.28.1
  - Redis: Add support for redis.asyncio (#1933)
  - Make sure each task that is started by Celery Beat has its own trace. (#2249)
  - Add Sampling Decision to Trace Envelope Header (#2239)
  - Do not add trace headers (sentry-trace and baggage) to HTTP requests to Sentry (#2240)
  - Prevent adding sentry-trace header multiple times (#2235)
  - Skip distributions with incomplete metadata (#2231)
  - Remove stale.yml (#2245)
  - Django: Fix 404 Handler handler being labeled as "generic ASGI request" (#1277)
- Update to 1.28.0
  - Add support for cron jobs in ARQ integration (#2088)
  - Backpressure handling prototype (#2189)
  - Add "replay" context to event payload (#2234)
  - Update test Django app to be compatible for Django 4.x (#1794)
- Update to 1.27.1
  + Add Starlette/FastAPI template tag for adding Sentry tracing information (#2225)
    - By adding {{ sentry_trace_meta }} to your Starlette/FastAPI Jinja2 templates
      we will include   Sentry trace information as a meta tag in the rendered HTML
      to allow your frontend to pick up and continue the trace started in the backend.
  - Fixed generation of baggage when a DSC is already in propagation context (#2232)
  - Handle explicitly passing None for trace_configs in aiohttp (#2230)
  - Support newest Starlette versions (#2227)
- Update to 1.27.0
  - Support for SQLAlchemy 2.0 (#2200)
  - Add instrumentation of aiohttp client requests (#1761)
  + Add Django template tag for adding Sentry tracing information (#2222)
    - By adding {{ sentry_trace_meta }} to your Django templates we will include Sentry trace
      information as a meta tag in the rendered HTML to allow your frontend to pick up and
      continue the trace started in the backend.
  - Update Flask HTML meta helper (#2203)
  - Take trace ID always from propagation context (#2209)
  - Fix trace context in event payload (#2205)
  - Use new top level API in trace_propagation_meta (#2202)
  - Do not overwrite existing baggage on outgoing requests (#2191, #2214)
  - Set the transaction/span status from an OTel span (#2115)
  - Fix propagation of OTel NonRecordingSpan (#2187)
  - Fix TaskLockedException handling in Huey integration (#2206)
  - Add message format configuration arguments to Loguru integration (#2208)
  - Profiling: Add client reports for profiles (#2207)
  - CI: Fix CI (#2220)
  - Dependencies: Bump checkouts/data-schemas from 7fdde87 to 1b85152 (#2218)
  - Dependencies: Bump mypy from 1.3.0 to 1.4.1 (#2194)
  - Docs: Change API doc theme (#2210)
  - Docs: Allow (some) autocompletion for top-level API (#2213)
  - Docs: Revert autocomplete hack (#2224)
- Update to 1.26.0
  - Tracing without performance (#2136)
  - Load tracing information from environment (#2176)
  - Auto-enable HTTPX integration if HTTPX installed (#2177)
  - Support for SOCKS proxies (#1050)
  - Wrap parse_url calls in capture_internal_exceptions (#2162)
  - Run 2.7 tests in CI again (#2181)
  - Crons: Do not support sub-minute cron intervals (#2172)
  - Profile: Add function name to profiler frame cache (#2164)
  - Dependencies: bump checkouts/data-schemas from 0ed3357 to 7fdde87 (#2165)
  - Update changelog (#2163)
- Update to 1.25.1
  - Fix parse_url (#2161)
    Our URL sanitization used in multiple integrations broke with the recent Python security update.
    If you started seeing ValueErrors with "'Filtered' does not appear to be an IPv4 or IPv6
    address", this release fixes that. See the original issue for more context.
  - Better version parsing in integrations (#2152)
    We now properly support all integration versions that conform to PEP 440.
    This replaces our naïve version parsing that wouldn't accept versions
    such as 2.0.0rc1 or 2.0.5.post1.
  - Align HTTP status code as span data field http.response.status_code (#2113)
  - Do not encode cached value to determine size (#2143)
  - Fix using unittest.mock whenever available (#1926)
  - Fix 2.7 common tests (#2145)
  - Bump actions/stale from 6 to 8 (#1978)
  - Bump black from 22.12.0 to 23.3.0 (#1984)
  - Bump mypy from 1.2.0 to 1.3.0 (#2110)
  - Bump sphinx from 5.3.0 to 7.0.1 (#2112)
- Update to 1.25.0
  - Support urllib3>=2.0.0 (#2148)
    We're now supporting urllib3's new major version, 2.0.0.
    If you encounter issues (e.g. some of your dependencies not supporting
    the new urllib3 version yet) you might consider pinning the urllib3 version
    to <2.0.0 manually in your project. Check out the the urllib3 migration guide for details.
  - Auto-retry tests on failure (#2134)
  - Correct importlib.metadata check in test_modules (#2149)
  - Fix distribution name normalization (PEP-0503) (#2144)
  - Fix functions_to_trace typing (#2141)
- Drop mock.patch beecause no more need.

OBS-URL: https://build.opensuse.org/request/show/1099403
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=54
2023-07-19 07:24:29 +00:00
Dominique Leuenberger
7f14ec6efc Accepting request 1092370 from devel:languages:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=25
2023-06-12 13:26:14 +00:00
a3b8aa4795 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=52 2023-06-11 20:07:00 +00:00
869a2d6341 Accepting request 1092330 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092330
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=51
2023-06-11 20:06:28 +00:00
Dominique Leuenberger
d411fd700a Accepting request 1089576 from devel:languages:python
- add mock.patch to use mock from stdlib 

- Update to 1.24.0
  - New: Celery Beat exclude tasks option (#2130)
  - New: Add support for ExceptionGroups (#2025)
  - Prefer importlib.metadata over pkg_resources if available (#2081)
  - Work with a copy of request, vars in the event (#2125)
  - Pinned version of dependency that broke the build (#2133)
- Changes from 1.23.1
  - Disable Django Cache spans by default. (#2120)
- Changes from 1.23.0
  - New: Add loguru integration (#1994)
  - Do not truncate request body if request_bodies is "always" (#2092)
  - Fixed Celery headers for Beat auto-instrumentation (#2102)
  - Add db.operation to Redis and MongoDB spans (#2089)
  - Make sure we're importing redis the library (#2106)
  - Add include_source_context option (#2020)
  - Import Markup from markupsafe (#2047)
  - Fix __qualname__ missing attribute in asyncio integration (#2105)
  - Remove relay extension from AWS Layer (#2068)
  - Add a note about pip freeze to the bug template (#2103)
- Changes from 1.22.2
  - Fix: Django caching spans when using keyword arguments (#2086)
  - Fix: Duration in Celery Beat tasks monitoring (#2087)
  - Fix: Docstrings of SPANDATA (#2084) by @antonpirker
- Changes from 1.22.1
  - Fix: Handle a list of keys (not just a single key) in Django cache spans (#2082)
- Changes from 1.22.0
  - Add cache.hit and cache.item_size to Django (#2057)
  - Use http.method instead of method (#2054)

OBS-URL: https://build.opensuse.org/request/show/1089576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=24
2023-05-29 20:47:38 +00:00
852b673dcf - add mock.patch to use mock from stdlib
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=49
2023-05-29 13:31:53 +00:00
ace847fdba Accepting request 1089155 from home:ecsos:messenger:matrix
- Update to 1.24.0
  - New: Celery Beat exclude tasks option (#2130)
  - New: Add support for ExceptionGroups (#2025)
  - Prefer importlib.metadata over pkg_resources if available (#2081)
  - Work with a copy of request, vars in the event (#2125)
  - Pinned version of dependency that broke the build (#2133)
- Changes from 1.23.1
  - Disable Django Cache spans by default. (#2120)
- Changes from 1.23.0
  - New: Add loguru integration (#1994)
  - Do not truncate request body if request_bodies is "always" (#2092)
  - Fixed Celery headers for Beat auto-instrumentation (#2102)
  - Add db.operation to Redis and MongoDB spans (#2089)
  - Make sure we're importing redis the library (#2106)
  - Add include_source_context option (#2020)
  - Import Markup from markupsafe (#2047)
  - Fix __qualname__ missing attribute in asyncio integration (#2105)
  - Remove relay extension from AWS Layer (#2068)
  - Add a note about pip freeze to the bug template (#2103)
- Changes from 1.22.2
  - Fix: Django caching spans when using keyword arguments (#2086)
  - Fix: Duration in Celery Beat tasks monitoring (#2087)
  - Fix: Docstrings of SPANDATA (#2084) by @antonpirker
- Changes from 1.22.1
  - Fix: Handle a list of keys (not just a single key) in Django cache spans (#2082)
- Changes from 1.22.0
  - Add cache.hit and cache.item_size to Django (#2057)
  - Use http.method instead of method (#2054)
  - Handle non-int exc.status_code in Starlette (#2075)
  - Handle SQLAlchemy engine.name being bytes (#2074)
  - Fix KeyError in capture_checkin if SDK is not initialized (#2073)
  - Use functools.wrap for ThreadingIntegration patches to fix attributes (#2080)
  - Pin urllib3 to <2.0.0 for now (#2069)
- Changes from 1.21.1
  - Do not send monitor_config when unset (#2058)
  - Add db.system span data (#2040, #2042)
  - Fix memory leak in profiling (#2049)
  - Fix crash loop when returning none in before_send (#2045)

OBS-URL: https://build.opensuse.org/request/show/1089155
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=48
2023-05-26 08:18:22 +00:00
ae91ea1269 Accepting request 1082874 from home:ecsos:messenger:matrix
- Update to 1.21.0
  - Better handling of redis span/breadcrumb data (#2033)
  - Add db.system to redis and SQLAlchemy db spans (#2037, #2038, #2039) (#2037)
  - Upgraded linting tooling (#2026)
  - Made code more resilient. (#2031)
- Changes from 1.20.0
  - Send all events to /envelope endpoint when tracing is enabled (#2009)
  - Note: If you’re self-hosting Sentry 9, you need to stay in the
    previous version of the SDK or update your self-hosted to at least 20.6.0
  - Profiling: Remove profile context from SDK (#2013)
  - Profiling: Additionl performance improvements to the profiler (#1991)
  - Fix: Celery Beat monitoring without restarting the Beat process (#2001)
  - Fix: Using the Codecov uploader instead of deprecated python package (#2011)
  - Fix: Support for Quart (#2003)` (#2003)
- Changes from 1.19.1
  - Make auto monitoring beat update support Celery 4 and 5 (#1989)
- Changes from 1.19.0
  - New: Celery Beat auto monitoring (#1967)
  - New: gRPC integration (#1911)
  - New: socket integration (#1911)
  - Fix: Do not trim span descriptions. (#1983)
- Changes from 1.18.0
  - New: Implement EventScrubber (#1943)
  - New: Added new functions_to_trace option for central way of performance instrumentation (#1960)
  - Updated denylist to include other widely used cookies/headers (#1972)
  - Forward all sentry- baggage items (#1970)
  - Update OSS licensing (#1973)
  - Profiling: Handle non frame types in profiler (#1965)
  - Tests: Bad arq dependency in tests (#1966)
  - Better naming (#1962)
- Changes from 1.17.0
  - New: Monitor Celery Beat tasks with Sentry Cron Monitoring.
  - New: Add decorator for Sentry tracing (#1089)
  - Make Django signals tracing optional (#1929)
  - See the Django Guide to learn more.
  - Deprecated with_locals in favor of include_local_variables (#1924)
  - Added top level API to get current span (#1954)
  - Profiling: Add profiler options to init (#1947)
  - Profiling: Set active thread id for quart (#1830)
  - Fix: Update get_json function call for werkzeug 2.1.0+ (#1939)
  - Fix: Returning the tasks result. (#1931)
  - Fix: Rename MYPY to TYPE_CHECKING (#1934)
  - Fix: Fix type annotation for ignore_errors in sentry_sdk.init() (#1928)
  - Tests: Start a real http server instead of mocking libs (#1938)
- Changes from 1.16.0
  - New: Add arq Integration (#1872)
  - Update of Falcon Integration (#1733)
  - Adding Cloud Resource Context integration (#1882)
  - Profiling: Use the transaction timestamps to anchor the profile (#1898)
  - Profiling: Add debug logs to profiling (#1883)
  - Profiling: Start profiler thread lazily (#1903)
  - Fixed checks for structured http data (#1905)
  - Make set_measurement public api and remove experimental status (#1909)
  - Add trace_propagation_targets option (#1916)
  - Add enable_tracing to default traces_sample_rate to 1.0 (#1900)
  - Remove deprecated tracestate (#1907)
  - Sanitize URLs in Span description and breadcrumbs (#1876)
  - Mechanism should default to true unless set explicitly (#1889)
  - Better setting of in-app in stack frames (#1894)
  - Add workflow to test gevent (#1870)
  - Updated outdated HTTPX test matrix (#1917)
  - Switch to MIT license (#1908)

OBS-URL: https://build.opensuse.org/request/show/1082874
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=47
2023-04-26 06:19:04 +00:00
Dominique Leuenberger
32542b5c12 Accepting request 1063615 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1063615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=23
2023-02-07 17:50:40 +00:00
e7006fecc2 Accepting request 1063614 from home:ecsos:messenger:matrix
update to 1.15.0

OBS-URL: https://build.opensuse.org/request/show/1063614
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=45
2023-02-07 12:30:08 +00:00
Dominique Leuenberger
141b2e561f Accepting request 1035693 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1035693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=22
2022-11-15 12:18:49 +00:00
640f4e912c Accepting request 1035692 from home:ecsos:messenger:matrix
Update to 1.11.0

OBS-URL: https://build.opensuse.org/request/show/1035692
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=43
2022-11-14 15:33:39 +00:00
Dominique Leuenberger
02c832902a Accepting request 1030656 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1030656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=21
2022-10-24 09:13:16 +00:00
8e158de167 Accepting request 1030593 from home:jayvdb:branches:devel:languages:python
- Update to v1.10.1

OBS-URL: https://build.opensuse.org/request/show/1030593
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=41
2022-10-24 06:33:39 +00:00
Dominique Leuenberger
e32610c354 Accepting request 986447 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/986447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=20
2022-07-03 16:26:59 +00:00
3e0d404ae4 Accepting request 986446 from home:ecsos:messenger:matrix
Update to 1.6.0

OBS-URL: https://build.opensuse.org/request/show/986446
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=39
2022-07-03 10:24:53 +00:00
Dominique Leuenberger
8433d3f10b Accepting request 949979 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/949979
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=19
2022-01-31 21:57:02 +00:00
a8c3d12493 Accepting request 949978 from home:ecsos:messenger:matrix
Update to 1.5.4
Fix also CVE-2021-44420

OBS-URL: https://build.opensuse.org/request/show/949978
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=38
2022-01-30 11:57:54 +00:00
Dominique Leuenberger
00b442d08f Accepting request 932485 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/932485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=18
2021-11-20 01:39:16 +00:00
5567e3ed5a Accepting request 932475 from home:ecsos:messenger:matrix
Update to 1.5.0

OBS-URL: https://build.opensuse.org/request/show/932475
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=37
2021-11-19 11:00:33 +00:00
Dominique Leuenberger
f3ad1bb35e Accepting request 927730 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/927730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=17
2021-10-27 20:21:15 +00:00
6ee55c3986 Accepting request 927372 from home:mnhauke:gns3
- Update to 1.4.3
  * Turned client reports on by default.
- Update to 1.4.2
  * Made envelope modifications in the HTTP transport non
    observable.
- Update to 1.4.1
  * Fix race condition between finish and start_child in tracing.
- Update to 1.4.0
  * No longer set the last event id for transactions.
  * Added support for client reports (disabled by default for now).
  * Added tracestate header handling.
  * Added real ip detection to asgi integration.

OBS-URL: https://build.opensuse.org/request/show/927372
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=36
2021-10-27 09:02:33 +00:00
Dominique Leuenberger
fc93d3f681 Accepting request 914559 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/914559
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=16
2021-08-27 19:44:03 +00:00
09026e98cd Accepting request 914227 from home:mnhauke:gns3
- Update to 1.3.1
  * Fix detection of contextvars compatibility with Gevent
    versions >=20.9.0 .
- Update to 1.3.0
  * Add support for Sanic versions 20 and 21 .
- Update to 1.2.0
  * Fix for AWSLambda Integration to handle other path formats
    for function initial handler #1139
  * Fix for worker to set deamon attribute instead of deprecated
    setDaemon method #1093
  * Fix for bottle Integration that discards -dev for version
    extraction #1085
  * Fix for transport that adds a unified hook for capturing
    metrics about dropped events #1100
  * Add Httpx Integration #1119
  * Add support for china domains in AWSLambda Integration #1051

OBS-URL: https://build.opensuse.org/request/show/914227
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=35
2021-08-27 09:48:15 +00:00
Dominique Leuenberger
d4545a833f Accepting request 891161 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/891161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sentry-sdk?expand=0&rev=15
2021-05-07 14:45:44 +00:00
59b34a7dde Accepting request 891160 from home:ecsos:messenger:matrix
Update to 1.1.0

OBS-URL: https://build.opensuse.org/request/show/891160
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sentry-sdk?expand=0&rev=33
2021-05-07 05:50:17 +00:00