Skip to content

Releases: netreconlab/Parse-Swift

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

5.0.0-beta.6

24 Jan 15:49
2494b3f
Compare
Choose a tag to compare
5.0.0-beta.6 Pre-release
Pre-release

What's Changed

  • feat: Add a type for decoding Hook Triggers without Objects by @cbaker6 in #53

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

5.0.0-beta.5

24 Jan 04:11
de696cc
Compare
Choose a tag to compare
5.0.0-beta.5 Pre-release
Pre-release

What's Changed

  • refactor: Switch mounting point for Playgrounds by @cbaker6 in #52

Full Changelog: 5.0.0-beta.4...5.0.0-beta.5

5.0.0-beta.4

22 Jan 15:30
cbfed65
Compare
Choose a tag to compare
5.0.0-beta.4 Pre-release
Pre-release

What's Changed

  • feat: Add user login related attempts to ParseCloudUser by @cbaker6 in #51

Full Changelog: 5.0.0-beta.3...5.0.0-beta.4

5.0.0-beta.3

20 Jan 17:27
6cca2ff
Compare
Choose a tag to compare
5.0.0-beta.3 Pre-release
Pre-release

What's Changed

  • feat: Add option to connect to a specific server by @cbaker6 in #50

Full Changelog: 5.0.0-beta.2...5.0.0-beta.3