Releases: netreconlab/Parse-Swift
6.1.0
Full Changelog, Documentation, Tutorial Documentation
New features
6.0.6
Full Changelog, API Documentation, Tutorial Documentation
What's Changed
- docs: Enhance cohesiveness of Parse-Swift tutorial documentation by @Copilot in #259
6.0.5
Full Changelog, API Documentation, Tutorial Documentation
What's Changed
- docs: Update Parse-Swift dependency version to 6.0.4 by @cbaker6 in #231
- docs: fix spelling and grammar errors in documentation and code comments by @Copilot in #234
- docs: convert "Your First Object" playground to DocC tutorial by @Copilot in #235
- docs: Address all document warnings by @cbaker6 in #240
- docs: convert "Finding Objects" playground to DocC tutorial by @Copilot in #236
- docs: convert "3 - User - Sign Up" playground to DocC tutorial by @Copilot in #237
- docs: convert "User - Continued" playground to DocC tutorial by @Copilot in #238
- docs: convert 5 - ACL playground to DocC interactive tutorial by @Copilot in #239
- docs: convert GeoPoint playground to DocC interactive tutorial by @Copilot in #242
- docs: convert 8 - Pointers playground to DocC interactive tutorial by @Copilot in #243
- docs: convert 9 - Files playground to DocC interactive tutorial by @Copilot in #244
- docs: convert 6 - Installation playground to DocC interactive tutorial by @Copilot in #241
- docs: convert Operations playground to DocC interactive tutorial by @Copilot in #247
- docs: convert Roles and Relations playground to DocC tutorial by @Copilot in #246
- docs: convert Cloud Code playground to DocC interactive tutorial by @Copilot in #245
- docs: convert Config playground to DocC tutorial by @Copilot in #248
- docs: convert LiveQuery playground to DocC tutorial by @Copilot in #249
- docs: convert Custom ObjectId playground to DocC tutorial by @Copilot in #250
- docs: convert Analytics playground to DocC tutorial by @Copilot in #251
- docs: convert SwiftUI - Finding Objects playground to DocC tutorial by @Copilot in #252
- docs: convert SwiftUI custom viewmodel playground to DocC tutorial by @Copilot in #253
- docs: convert SwiftUI - LiveQuery playground to DocC tutorial by @Copilot in #254
- docs: convert Cloud Schemas playground to DocC tutorial by @Copilot in #255
- docs: convert Cloud Hook Triggers playground to DocC tutorial by @Copilot in #258
- docs: convert Cloud Hook Functions playground to DocC tutorial by @Copilot in #257
- docs: convert Cloud Push Notifications playground to DocC tutorial by @Copilot in #256
New Contributors
- @Copilot made their first contribution in #234
Full Changelog: 6.0.4...6.0.5
6.0.4
Fixes
6.0.3
Fixes
Documents Release (no updates)
6.0.1
Fixes
6.0.0
More details about the release are discussed in #225, feel free to join the discussion.
Breaking Changes
- Update SDK to be Swift 6.0+ compliant. This includes making all objects
Sendableand reducing the possibility of data races. Added WASM support. Multiple batches now perform asynchronously (#208), thanks to @cbaker6. - Remove all deprecated code and warnings (#211), thanks to @cbaker6.
Almost every object in the SDK is either Sendable or nonisolated(unsafe) with mutating properties protected with NSLock's. Only View Models in the SDK use @MainActor with all other calls running on the queue they were called on (this is the same as ParseSwift 5.x). All completion handlers default to returning to the main queue unless specified as an argument when calling the respective method (this is the same as ParseSwift 5.x). To migrate, you can remove any @preconcurrency imports related to ParseSwift, since the SDK is now under strict concurrency. Most of the changes you will need to make will be related to ensuring you have Sendable closures. Example below:
// ParseSwift 5.x
func exampleFunction(completion: @escaping ([ExampleParseObject]?, Error?) -> Void)
// ParseSwift 6.0.0+
func exampleFunction(completion: @escaping @Sendable ([ExampleParseObject]?, Error?) -> Void)In addition, any class that subclasses ParseLiveQueryDelegate needs to also subclass NSObject and should be a final class. LiveQuery subscription classes such as Subscription and SubscriptionCallback are @unchecked Sendable and use NSLock under the hood to manage state internally in the SDK. If you subclass Subscription and SubscriptionCallback, you are responsible for maintaining the state of all added mutable properties using NSLock, Mutex, etc. Please see Hacking With Swift's post to learn more about Swift 6 complete concurrency.
New features
6.0.0-beta.9
What's Changed
Full Changelog: 6.0.0-beta.8...6.0.0-beta.9
6.0.0-beta.8
What's Changed
Full Changelog: 6.0.0-beta.7...6.0.0-beta.8