Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for the sliding sync proxy. #3801

Merged
merged 1 commit into from
Feb 18, 2025
Merged

Remove support for the sliding sync proxy. #3801

merged 1 commit into from
Feb 18, 2025

Conversation

pixlwave
Copy link
Member

The SDK no longer supports a sliding sync proxy, so this update will force logout anyone using a sliding sync proxy:

migration.mp4

Handles changes that removed support for the sliding sync proxy.
@pixlwave pixlwave added the pr-api for an api break label Feb 18, 2025
@pixlwave pixlwave requested a review from a team as a code owner February 18, 2025 10:58
@pixlwave pixlwave requested review from Velin92 and stefanceriu and removed request for a team and Velin92 February 18, 2025 10:58
@@ -75,9 +75,11 @@ protocol ClientProxyProtocol: AnyObject, MediaLoaderProtocol {
var deviceID: String? { get }

var homeserver: String { get }


// TODO: This is a temporary value, in the future we should throw a migration error

Choose a reason for hiding this comment

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

  • ⚠️ TODOs should be resolved (This is a temporary value, in ...) (todo)

let container = try decoder.container(keyedBy: MatrixRustSDK.Session.CodingKeys.self)
session = try Session(from: decoder)

// TODO: In the future we should decode this in the Session and throw a migration error if it contains a value.

Choose a reason for hiding this comment

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

  • ⚠️ TODOs should be resolved (In the future we should decode...) (todo)

Copy link

codecov bot commented Feb 18, 2025

Codecov Report

Attention: Patch coverage is 71.11111% with 39 lines in your changes missing coverage. Please review.

Please upload report for BASE (develop@f77faee). Learn more about missing BASE report.
Report is 1 commits behind head on develop.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
UnitTests/Sources/RestorationTokenTests.swift 84.28% 11 Missing ⚠️
...urces/Screens/HomeScreen/HomeScreenViewModel.swift 11.11% 8 Missing ⚠️
...s/Authentication/AuthenticationClientBuilder.swift 0.00% 6 Missing ⚠️
...ources/Services/UserSession/UserSessionStore.swift 0.00% 6 Missing ⚠️
...ionsScreen/DeveloperOptionsScreenCoordinator.swift 0.00% 2 Missing ⚠️
...ptionsScreen/DeveloperOptionsScreenViewModel.swift 0.00% 2 Missing ⚠️
...Sources/Services/Keychain/KeychainController.swift 0.00% 2 Missing ⚠️
...ces/FlowCoordinators/SettingsFlowCoordinator.swift 0.00% 1 Missing ⚠️
...mentX/Sources/Other/Extensions/ClientBuilder.swift 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #3801   +/-   ##
==========================================
  Coverage           ?   78.68%           
==========================================
  Files              ?      794           
  Lines              ?    69483           
  Branches           ?        0           
==========================================
  Hits               ?    54674           
  Misses             ?    14809           
  Partials           ?        0           
Flag Coverage Δ
unittests 70.52% <71.11%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@stefanceriu stefanceriu left a comment

Choose a reason for hiding this comment

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

Love a good (almost) spring cleanup!

@pixlwave pixlwave merged commit 8c07ee3 into develop Feb 18, 2025
15 checks passed
@pixlwave pixlwave deleted the doug/sdk branch February 18, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-api for an api break
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants