Skip to content

fix(account)!: make product analytics opt-in and drop support_widget_enabled - #87

Merged
altaywtf merged 1 commit into
mainfrom
feat/privacy-settings-defaults
Oct 10, 2026
Merged

altaywtf merged 1 commit into
mainfrom
feat/privacy-settings-defaults

Conversation

@altaywtf

Copy link
Copy Markdown
Member

Summary

Account settings match the backend privacy defaults from putio#4841, like putio-sdk-typescript#208.

AccountSettings field Before After
productAnalyticsEnabled (absent key) true false
diagnosticsEnabled (absent key) true true
supportWidgetEnabled true removed, also from AccountSettingsPatch
  • Breaking: merging publishes 2.0.0. A support_widget_enabled key in responses is ignored.
  • putio-android breaks only when it upgrades while still using supportWidgetEnabled.

Validation

  • ./gradlew verify

Risk

  • request or response contract

Notes

Live test skipped: the backend change hasn't shipped.


Written by an agent (Claude Code, Claude Opus 5.5)

…enabled

BREAKING CHANGE: AccountSettings.productAnalyticsEnabled now defaults to false
when the response omits it, and AccountSettings and AccountSettingsPatch no
longer have supportWidgetEnabled. Responses that still carry
support_widget_enabled decode fine; the key is ignored.

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Capy found no issues.

Open in Capy

@altaywtf
altaywtf merged commit 42b5d73 into main Oct 10, 2026
@altaywtf
altaywtf deleted the feat/privacy-settings-defaults branch October 10, 2026 07:07
@putio-ci

putio-ci Bot commented Oct 10, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant