Skip to content

Releases: netreconlab/Parse-Swift

Release for Cocoapods

16 Mar 14:51
4eb872d
Compare
Choose a tag to compare

Full Changelog, Documentation

Fixes

  • Release as ParseSwiftOG on cocoapods (#82), thanks to @cbaker6.

5.3.0

16 Mar 01:01
6e81c2f
Compare
Choose a tag to compare

Full Changelog, Documentation

New features

  • Add ParseUser.loginAs(objectId: String) method to allow impersonating a user. This method requires the server primaryKey and is intended to run server-side (#79), thanks to @cbaker6.

Fixes

  • Fix ParseUser.become(), ParseUser.linkCommand, and other calls that depend on a specific endpoint for specialized ParseObjects such as ParseUser, ParseInstallation, ParseRole, etc. (#80), thanks to @cbaker6.

5.2.0

13 Mar 16:21
8140c4d
Compare
Choose a tag to compare

Full Changelog, Documentation

New features

  • All Parse-Swift view models now update on the MainActor to make view changes more predictable (#75), thanks to @cbaker6.

5.1.1

12 Mar 23:49
01c0b20
Compare
Choose a tag to compare

Full Changelog, Documentation

Fixes

  • Instead of a possible inifinite loop, throw an error if the Swift SDK is used, but not initialized within 5 seconds of first use (#73), thanks to @cbaker6.

5.1.0

10 Mar 21:43
7fe4872
Compare
Choose a tag to compare

Full Changelog, Documentation

New features

  • Add ParseConfigCodable type that allows access to the Parse Server Config as a dictionary. ParseConfigCodable and types that conform to ParseConfig are interoperable (#68), thanks to @cbaker6.
  • Make it easier to login with email or authData (#67), thanks to @cbaker6.
  • Add missing async/await and Combine ParseUser.become() type methods (#66), thanks to @cbaker6.

5.0.1

09 Mar 17:40
ed55608
Compare
Choose a tag to compare

Full Changelog, Documentation

Fixes

  • Access to all ParseStorage (.current() objects) yields until SDK has completed initialization (#65), thanks to @cbaker6.

Modernized and Optimized

08 Mar 01:25
6fca92c
Compare
Choose a tag to compare

Full Changelog, Documentation

Be sure to check the updated Playgrounds for examples of how to use the latest version of the Swift SDK

Breaking Changes

  • Current objects such as ParseObject, ParseUser, ParseVersion, etc. now require try async/await. All synchronous networking and local storage calls have been removed. Please look at the updated Swift Playgrounds for examples (#62), thanks to @cbaker6.
  • ParseHookTriggerRequest has been renamed to ParseHookTriggerObjectRequest as it is used for decoding triggers related to ParseObjects. The new ParseHookTriggerRequest is similar but used for decoding requests that are not related to ParseObject types, like ParseFile (#53), thanks to @cbaker6.
  • Added a new ParseHealth.Status enum to support new feature in Parse Server 6.0.0. Developers can now receive intermediate status updates (Status.initialized, Status.starting) using the ParseHealth.check callback or Combine methods. Status.initialized and Status.starting will only show for async/await and synchronous methods if they are the last value reported from the server after maxConnectionAttempts. Connecting to Parse Servers < 6.0.0 only returns Status.ok or a ParseError
    (#43), thanks to @cbaker6.
  • Add and update ParseError codes. unknownError has been renamed to otherCause. invalidImageData now has the correct error code of 150. webhookError has the correct error code of 143 (#23), thanks to @cbaker6.
  • Remove all deprecated code. Be sure to follow the suggestions of all deprecation warnings when building your app in Xcode before upgrading (#23), thanks
    to @cbaker6.

New features

  • ParseError now has a new property called "swift" which is of type Swift.Error. This property will not be nil when the ParseError is really an OS error. This is intented to help developers improve error handeling by propagating the complete error (#64), thanks to @cbaker6.
  • Add user login related attempts to ParseCloudUser. This allows developers to decode login related information when using Parse-Swift for Cloud Code (#51), thanks to @cbaker6.
  • Add option to set the serverURL for a particular call. This is useful when using the Swift SDK for Cloud Code in a multi-server environment (#50), thanks to @cbaker6.
  • ParseVersion now supports pre-release versions of the SDK (#49), thanks to @cbaker6.
  • Adds the the ability to watch particular keys with LiveQueries. Requires Parse-Server 6.0.0 (#48), thanks to @cbaker6.
  • The Swift SDK can now properly handle HTTP Status codes 429 and 503 and will retry after the delay specified in the respective header (#43), thanks to @cbaker6.
  • The max connection attempts for LiveQuery can now be changed when initializing the SDK (#43), thanks to @cbaker6.

Fixes

  • Fixed "Duplicate request" error when resending requests related to idempotency (#63), thanks to @cbaker6.
  • Fixed query count and withCount returning 0 when the SDK is configured to use GET for queries (#61), thanks to @cbaker6.
  • Fixed ambiguous ParseAnalytics trackAppOpenned (#55), thanks to @cbaker6.
  • Refactored playground mount to be "/parse" instead "/1". Also do not require url when decoding a ParseFile (#52), thanks to @cbaker6.
  • Fixed issues that can cause cache misses when querying (#46), thanks to @cbaker6.
  • Fixed a threading issue with .current objects that can cause apps to crash (#45), thanks to @cbaker6.

5.0.0-beta.9

02 Mar 17:44
fd28500
Compare
Choose a tag to compare
5.0.0-beta.9 Pre-release
Pre-release

Documentation

What's Changed

  • fix: update requestId for Idempotency when resending by @cbaker6 in #63

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

5.0.0-beta.8

24 Feb 16:01
9c8f139
Compare
Choose a tag to compare
5.0.0-beta.8 Pre-release
Pre-release

What's Changed

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

5.0.0-beta.7

30 Jan 21:30
9e7f393
Compare
Choose a tag to compare
5.0.0-beta.7 Pre-release
Pre-release

What's Changed

  • fix: ParseAnalytics trackAppOpened had ambiguous inits by @cbaker6 in #55

Full Changelog: 5.0.0-beta.6...5.0.0-beta.7