Skip to content

Conversation

@simolus3
Copy link
Contributor

@simolus3 simolus3 commented Oct 17, 2025

This migrates the Swift helpers to use the :common package instead of :core, meaning that sqlite3 will no longer be linked into the created framework.

This adds helpers to :common making it easier to replicate the default connection factory from :core. This is now used in the Swift helper to add a function returning such as a connection factory. The connection factory can be customized with statements to run when the connection is initialized. This is useful to e.g. set a PRAGMA key = .

This will be used in the Swift SDK like shown in this PR: powersync-ja/powersync-swift#82. To unblock Swift after these changes, see powersync-ja/powersync-swift#83.

Base automatically changed from common-module to main October 23, 2025 14:33
@simolus3 simolus3 force-pushed the swift-sdk-common branch 2 times, most recently from 60e2acb to 49352a6 Compare October 23, 2025 15:02
@simolus3 simolus3 marked this pull request as ready for review October 23, 2025 15:12
Copy link
Contributor

@stevensJourney stevensJourney left a comment

Choose a reason for hiding this comment

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

This looks good to me :D

@simolus3 simolus3 merged commit 6bbfc78 into main Oct 23, 2025
8 checks passed
@simolus3 simolus3 deleted the swift-sdk-common branch October 23, 2025 18:26
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