Refactored networking#500
Merged
mpretty-cyro merged 99 commits intosession-foundation:devfrom Mar 5, 2026
Merged
Conversation
9f39a5c to
f4f479b
Compare
• Started work on integrating refactored libSession networking • Fixed a couple of issues with the libSession build script
• Fixed some duplicate content in Logging • Fixed broken service node batch requests • Fixed a crash which could occur when using the storage publisher functions
05ffd72 to
cb6b5aa
Compare
• Added some convenience functions • Removed the database requirement to get some AuthenticationMethods
• Cleaned up the AppDelegate setup process a bit • Updated the LibSessionNetwork to be an actor (no more cache + singleton) • Updated LibSessionNetwork to support async/await (also supports Combine, but that is now deprecated) • Updated network observation to use async/await • Refactored IP2Country to be an actor and use async/await • Refactored the pollers to use async/await • Refactored the getSessionId API call to use async/await • Refactored the AppSetup and database migrations to be async/await
• Added the network resilience tests • Cleaned up some code • Fixed broken unit tests • Fixed an issue where some migrations would try to get the network offset time before it could possibly be retrieved • Fixed a crash when exporting the database • Fixed a crash when uploading files (unbalanced pointer release)
• Updated the code to use libSession to parse and generate FileServer and SOGS download urls • Fixed what should be a bug with pending reactions (but can't see an impact of the fix...?) • Fixed a streaming download & upload memory crashes
…etworking # Conflicts: # SessionMessagingKit/Database/Models/MessageDeduplication.swift
• Fixed an issue where replacing theme values wasn't working correctly in all cases • Fixed an issue where fetching log levels from user defaults due to it not being completely thread safe
RyanRory
approved these changes
Mar 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note: This is based on #501