Swiftpack.co - Package - google/promises

Github

link
Stars: 3074

Dependencies

Releases

1.2.8 - 2019-05-09 23:24:22

  • Adds pending promise to FBLPromise's Dot Syntax API and updates parameter type for fulfill:.
  • Updates Promises to Swift 5.

1.2.7 - 2019-03-11 16:11:09

  • Disables Whole Module Optimization (#98).

1.2.6 - 2019-01-30 18:10:44

  • Updates Promises to Xcode 10.2 and integrates with latest SwiftLint checks.

1.2.5 - 2019-01-09 16:18:20

Updates Promises to Swift 4.2.

1.2.4 - 2019-01-09 07:35:45

  • Fixes issue 81 where NSError was not being converted to a PromiseError properly.

1.2.3 - 2018-07-26 15:11:53

  • Adds retry operator that enables reattempting a task if the promise for that task is initially rejected.
  • Sets the APPLICATION_EXTENSION_API_ONLY to YES on the project level and defaults the APPLICATION_EXTENSION_API_ONLY flag on targets.
  • Moves SWIFT_VERSION flag from Promise/PromiseTests targets to the Xcode project.
  • Applies extension-safe flag for framework targets.

1.2.2 - 2018-06-08 22:54:28

- 2018-05-22 21:13:42

  • FBLPromiseCatchBlock renamed to FBLPromiseCatchWorkBlock
  • Introduced FBLPromiseErrorIsTimedOut() and FBLPromiseErrorIsValidationFailure() for easier check for predefined FBLPromiseErrorCodes

- 2018-05-16 05:16:54

Swift convenience constructor that accepts a work block and eventually resolves the newly created promise with its return value (aka do operator in Objective-C) is now overloaded and can return another promise, not only a value.

- 2018-05-10 22:55:56

Introducing await and delay operators.

- 2018-04-27 23:14:43

Breaking changes:

  • any renamed to race
  • when renamed to any
  • resolve renamed to wrap