Bump sentry-sdk[flask] from 1.23.1 to 1.24.0
Created by: dependabot[bot]
Bumps sentry-sdk[flask] from 1.23.1 to 1.24.0.
Release notes
Sourced from sentry-sdk[flask]'s releases.
1.24.0
Various fixes & improvements
New: Celery Beat exclude tasks option (#2130) by
@antonpirkerYou can exclude Celery Beat tasks from being auto-instrumented. To do this, add a list of tasks you want to exclude as option
exclude_beat_taskswhen creatingCeleryIntegration. The list can contain simple strings with the full task name, as specified in the Celery Beat schedule, or regular expressions to match multiple tasks.For more information, see the documentation for Crons for more information.
Usage:
exclude_beat_tasks = [ "some-task-a", "payment-check-.*", ] sentry_sdk.init( dsn='___PUBLIC_DSN___', integrations=[ CeleryIntegration( monitor_beat_tasks=True, exclude_beat_tasks=exclude_beat_tasks, ), ], )In this example the task
some-task-aand all tasks with a name starting withpayment-check-will be ignored.New: Add support for ExceptionGroups (#2025) by
@antonpirkerNote: If running Self-Hosted Sentry, you should wait to adopt this SDK update until after updating to the 23.6.0 (est. June 2023) release of Sentry. Updating early will not break anything, but you will not get the full benefit of the Exception Groups improvements to issue grouping that were added to the Sentry backend.
Prefer
importlib.metadataoverpkg_resourcesif available (#2081) by@sentrivanaWork with a copy of request, vars in the event (#2125) by
@sentrivanaPinned version of dependency that broke the build (#2133) by
@antonpirker
Changelog
Sourced from sentry-sdk[flask]'s changelog.
1.24.0
Various fixes & improvements
New: Celery Beat exclude tasks option (#2130) by
@antonpirkerYou can exclude Celery Beat tasks from being auto-instrumented. To do this, add a list of tasks you want to exclude as option
exclude_beat_taskswhen creatingCeleryIntegration. The list can contain simple strings with the full task name, as specified in the Celery Beat schedule, or regular expressions to match multiple tasks.For more information, see the documentation for Crons for more information.
Usage:
exclude_beat_tasks = [ "some-task-a", "payment-check-.*", ] sentry_sdk.init( dsn='___PUBLIC_DSN___', integrations=[ CeleryIntegration( monitor_beat_tasks=True, exclude_beat_tasks=exclude_beat_tasks, ), ], )In this example the task
some-task-aand all tasks with a name starting withpayment-check-will be ignored.New: Add support for ExceptionGroups (#2025) by
@antonpirkerNote: If running Self-Hosted Sentry, you should wait to adopt this SDK update until after updating to the 23.6.0 (est. June 2023) release of Sentry. Updating early will not break anything, but you will not get the full benefit of the Exception Groups improvements to issue grouping that were added to the Sentry backend.
Prefer
importlib.metadataoverpkg_resourcesif available (#2081) by@sentrivanaWork with a copy of request, vars in the event (#2125) by
@sentrivanaPinned version of dependency that broke the build (#2133) by
@antonpirker
Commits
-
39b3770Updated changelog -
c6a8be7release: 1.24.0 -
4bffa98Pinned version of dependency that broke the build (#2133) -
5564011Add support for ExceptionGroups (#2025) -
1d9effeCelery beat exclude option (#2130) -
443b7b9Work with a copy of request, vars in the event (#2125) -
8c24d33Prefer importlib.metadata over pkg_resources if available (#2081) -
565567fMerge branch 'release/1.23.1' - See full diff in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)