Skip to content

Conversation

n3rdc4ptn
Copy link
Member

This pull request removes the sendDefaultPii option from Sentry initialization in both the server and client codebases, ensuring that default Personally Identifiable Information (PII) is no longer sent to Sentry.

Changes related to Sentry configuration:

  • server.js: Removed the sendDefaultPii option from the Sentry initialization, which previously allowed automatic PII data collection, such as IP addresses, when enabled.
  • src/mount.ts: Removed the sendDefaultPii option from the Sentry initialization in the client-side setup, aligning it with the updated privacy policy.

@n3rdc4ptn n3rdc4ptn requested a review from Copilot July 25, 2025 09:38
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request enhances privacy by removing the sendDefaultPii option from Sentry configurations across both client-side and server-side code, preventing automatic collection of personally identifiable information such as IP addresses.

  • Removed sendDefaultPii: true from client-side Sentry initialization in TypeScript
  • Removed sendDefaultPii: true from server-side Sentry initialization in JavaScript
  • Eliminated associated comments explaining the PII collection behavior

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/mount.ts Removed sendDefaultPii option from client-side Sentry configuration
server.js Removed sendDefaultPii option from server-side Sentry configuration

Copy link
Contributor

@andreaskienle andreaskienle left a comment

Choose a reason for hiding this comment

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

👍🏻

@n3rdc4ptn n3rdc4ptn merged commit be8a8b6 into main Jul 25, 2025
5 checks passed
@n3rdc4ptn n3rdc4ptn deleted the improve-sentry-privacy branch July 25, 2025 12:41
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.

2 participants