Skip to content

feat: add sentry_clear_attachments()#1290

Merged
jpnurmi merged 8 commits intomasterfrom
feat/attachments-clear
Jun 30, 2025
Merged

feat: add sentry_clear_attachments()#1290
jpnurmi merged 8 commits intomasterfrom
feat/attachments-clear

Conversation

@jpnurmi
Copy link
Copy Markdown
Collaborator

@jpnurmi jpnurmi commented Jun 30, 2025

This PR complements the newly introduced attachments API with a function to allow clearing all previously added attachments in the global scope.

Close: #1289

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 30, 2025

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 0c80d64

@jpnurmi jpnurmi marked this pull request as ready for review June 30, 2025 09:33
@jpnurmi jpnurmi requested a review from supervacuus June 30, 2025 09:33
Copy link
Copy Markdown
Collaborator

@supervacuus supervacuus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except for lock order.

@jpnurmi jpnurmi merged commit b24a2ef into master Jun 30, 2025
35 checks passed
@jpnurmi jpnurmi deleted the feat/attachments-clear branch June 30, 2025 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: allow clearing attachments in the global scope

2 participants