Consolidate a number of docs updates for upcoming Swift SDK release#444
Open
benitav wants to merge 8 commits into
Open
Consolidate a number of docs updates for upcoming Swift SDK release#444benitav wants to merge 8 commits into
benitav wants to merge 8 commits into
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
The marker on newClientImplementation was removed in Swift SDK 1.11.0. Pairing this with the broader Swift 1.14 release docs to keep all Swift SDK doc changes on the same branch.
85e496e to
68370d6
Compare
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.
This consolidates a batch of documentation updates for the Swift SDK ahead of the upcoming 1.14 release (https://github.com/powersync-ja/powersync-swift/blob/main/CHANGELOG.md). The main theme of this release is removing the Swift SDK's Kotlin dependency: the sync client, schema serialization, CRUD transactions, and the connection pool are now all implemented natively in Swift. It also replaces a few separate docs PRs (referenced below).
uploadDatasnippet to use the new typedopDataTypedproperty and simplifiedcomplete()overload. Triggered by Implement CRUD transactions in Swift instead of Kotlin powersync-swift#127. Closes Document typed CRUD values in Swift SDK #412.includeDefaultStreamsconnect option, which lets clients opt out ofauto_subscribe: truestreams at connect time and subscribe to them explicitly when needed. Originally added to document the Swift addition in Drive sync client from Swift powersync-swift#128; now covers all SDKs (JS, Dart, Kotlin, Swift, .NET) per review feedback. Closes Document Swift includeDefaultStreams option #413.@_spi(PowerSyncExperimental)marker from the Swift snippet on the Sync Streams migration page. The marker was removed in Swift SDK 1.11.0; grouped here with the other Swift-release doc updates.uploadDataexample on the Usage Examples page calling out that as of v1.14,CrudBatch,CrudEntry, andCrudTransactionare concretestructs and can no longer be constructed in user code (existing code that reads their properties continues to work). Related: Implement CRUD transactions in Swift instead of Kotlin powersync-swift#127.new ConnectOptions→new PowerSyncConnectionOptions).Closes #427
AI disclosure: this consolidation was prepared with Claude Code (and originally, the Mintlify agent). Each migrated change and the
includeDefaultStreamssemantics were verified against the source code of the respective SDKs before being applied.