Skip to content

Releases: netreconlab/Parse-Swift

6.1.0

05 Feb 22:54
d9e4453

Choose a tag to compare

Full Changelog, Documentation, Tutorial Documentation

New features

  • Add privacy manifest to project (#261), thanks to @cbaker6.

6.0.6

01 Feb 05:11
1074dd0

Choose a tag to compare

Full Changelog, API Documentation, Tutorial Documentation

What's Changed

  • docs: Enhance cohesiveness of Parse-Swift tutorial documentation by @Copilot in #259

6.0.5

29 Jan 00:08
9444226

Choose a tag to compare

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

21 Jan 06:15
4e63049

Choose a tag to compare

Full Changelog, Documentation

Fixes

  • Do not allow developers to change the query property in QueryObservable and QuerySubscribable (#230), thanks to @cbaker6.

6.0.3

20 Jan 22:08
78067b6

Choose a tag to compare

Full Changelog, Documentation

Fixes

  • All view models run on the @MainActor (#229), thanks to @cbaker6.

Documents Release (no updates)

20 Jan 03:27
41a3ccb

Choose a tag to compare

6.0.1

19 Jan 16:17
a61d5e4

Choose a tag to compare

Full Changelog, Documentation

Fixes

  • Fix SubscriptionCallback causing issue in Swift 6.1 because of missing @unchecked Sendable (#226), thanks to [
    @cbaker6.

6.0.0

18 Jan 04:02
8baacc9

Choose a tag to compare

Full Changelog, Documentation

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 Sendable and 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

  • Add missing hook triggers: beforePasswordResetRequest for ParseUser, and beforeFind and afterFind for ParseFile (#224), thanks to @cbaker6.

6.0.0-beta.9

11 Jan 22:52
107098a

Choose a tag to compare

6.0.0-beta.9 Pre-release
Pre-release

What's Changed

  • feat: Add backwards compatability to Swift 5.10 by @cbaker6 in #221

Full Changelog: 6.0.0-beta.8...6.0.0-beta.9

6.0.0-beta.8

11 Jan 07:58
26fbee4

Choose a tag to compare

6.0.0-beta.8 Pre-release
Pre-release

What's Changed

  • fix: Remove ParseHookTriggerable init that won't work with server by @cbaker6 in #220

Full Changelog: 6.0.0-beta.7...6.0.0-beta.8