Commit Graph

139 Commits

Author SHA1 Message Date
Max Howell
8a45494745 Support macOS 10.9 2018-02-13 16:24:35 -05:00
Max Howell
5db87f0792 Support macOS 10.9; Fixes #728 2018-02-13 15:40:59 -05:00
Max Howell
54a99ba7f2 Fixes for CocoaPods; --warning 2018-02-12 21:33:36 -05:00
Max Howell
17587be4ac PromiseKit 6.0.0
This because `Promise(value:)` is selected for PMK-4’s pending initializer due to trailing closure syntax and the fact that `T` could be anything. I guess this isn’t a Swift bug, but geez.

This is a real problem for people migrating to 5 from 4, such that I have decided 5 must be deprecated.

The severity is due to Swift giving a very misleading error diagnostic when it uses `Promise(value:)`, because as you can guess you end up with:

    Promise<(T->Void, Error->Void)>

As your inferred type.

Because we no longer have ambiguity between `Promise { seal in` and `Promise(value:` I have removed the `.pending` parameter for that usage which will also aid migration.

In some cases this leads to less nice code, but mostly it’s fine due to being able to do `.value(1)` where `Promise` can be inferred. The trade off is worth it though as PromiseKit should be delightful to use and as it stands, it is a pain due to how Swift is.
2018-02-10 17:23:27 -05:00
Max Howell
47367f1df6 5.0.0 2017-11-06 09:27:11 -05:00
Max Howell
191950c006 CocoaPods fixes; Exts/Social update; Tag 4.4.2 2017-10-12 20:50:11 -04:00
Max Howell
61f796319b Tag 4.3.2 2017-08-10 15:20:34 -04:00
Max Howell
6ee4867f1d Temporarily revoke Photos macOS support
See comment for explanation.
2017-07-29 14:48:56 -04:00
Max Howell
46d719ba92 Fix podspec 2017-07-29 13:32:47 -04:00
Max Howell
a44ded0332 Photos.framework exists in High Sierra 2017-07-15 17:41:28 -04:00
Max Howell
87d09c39d5 Update Alamofire and decrease its d-target to 8.0 2017-01-05 10:49:59 -05:00
Max Howell
f6989f44ea Unbreak CocoaPods
Broken by: https://github.com/PromiseKit/Foundation/pull/1

Tag 4.1.2
2017-01-04 22:33:16 -05:00
Max Howell
0bfe1d36b2 Tag 4.0.4; Fix UIImagePickerController subspec 2016-10-17 09:50:43 -04:00
Max Howell
68eb6b5854 Move UIImagePickerController usage to subspec
Since today, app store submissions that contain code that reference privacy sensitive classes like Photos, Calendar or Location cause rejection. EVEN if the code in question is never used inside a third party library.

Refs PromiseKit/UIKit#3

Tag 4.0.2
2016-09-16 09:10:28 -10:00
Max Howell
c5f8e26212 [skip ci] Alamofire 4.0 released 2016-09-11 09:38:13 -10:00
Max Howell
d8d9d9554e Workaround CocoaPods deployment target bug
Fixes #537
2016-09-11 09:21:37 -10:00
Max Howell
513a504210 SwiftPM support 2016-09-07 15:45:21 -07:00
Max Howell
67bc256992 PromiseKit 4 / Swift 3 / Xcode 8
http://promisekit.org/news/2016/09/PromiseKit-4.0-Released/
2016-09-07 15:45:21 -07:00
Max Howell
59000372d2 Fix regression for NSURLSession ext on watchOS
Refs #433
2016-08-09 11:48:08 -07:00
Ryan Schneider
71ee21826c Only import QuartzCore framework in appropriate targets.
* Specifically don't import for WatchOS, which does not include it.
2016-08-04 14:03:57 -07:00
Max Howell
2a9ac97772 Move license to its own file 2016-08-03 19:47:55 -07:00
Max Howell
eca0eba82d Add NSURLSession categories for AnyPromise/ObjC
Closes #422
2016-07-25 13:21:08 -07:00
Max Howell
bb059f8deb Tag 3.3.0
* Fixes CocoaPods lint issues.
* Attempt to fix travis failure due to xctool
2016-07-23 16:19:11 -07:00
Max Howell
12138e33b7 Add PATCH support to our NSURL* categories
Closes #251
2016-07-23 13:37:57 -07:00
Lammert Westerhoff
aa831d1e85 Add WatchConnectivity category 2016-07-22 22:23:48 -07:00
Max Howell
3528d0e2d0 Link to README for podspec license key
Closes #458
2016-07-22 22:06:25 -07:00
Alex
d1f77c76c2 Added CoreBluetooth promise category 2016-07-22 22:04:42 -07:00
Wolfgang Lutz
dfecb15e56 Update PromiseKit.podspec
Include StoreKit for tvOS
2016-05-28 15:15:52 +02:00
Lammert Westerhoff
1225736733 Remove watchos exclusion of NSURLSession extension 2016-05-26 08:21:58 +02:00
Lammert Westerhoff
a59f6296da Add EventKit Category 2016-04-13 18:00:40 -05:00
Nathan Hosselton
648c1d0e1e Fix link in podspec 2016-02-29 15:59:07 -06:00
Nathan Hosselton
5dcdf0a615 Attempt to fix Bolts lint failure
Still won’t lint with latest Bolts and CocoaPods. Notes included.
2016-01-31 15:52:17 -06:00
Nathan Hosselton
151b1671fb Update podspec for tvOS 2016-01-28 20:22:25 -06:00
Nathan Hosselton
9884732850 Remove deprecated subspecs 2015-10-14 15:53:15 -05:00
Nathan Hosselton
fa4d4a87f5 Temporarily disable Bolts subspec so lint passes 2015-10-14 15:52:52 -05:00
Nathan Hosselton
9c3eaff4e8 Update subspec platforms so lint passes 2015-10-14 15:52:22 -05:00
Nathan Hosselton
6cfd11c775 Change subspec /Foundation/Lite -> /DietFoundation 2015-09-20 23:31:44 -05:00
Nathan Hosselton
1564bc2ed8 Exclude watchOS from QuartzCore subspec 2015-09-20 19:59:19 -05:00
Nathan Hosselton
2a2a89db5e Include watchOS support for Foundation subspec 2015-09-20 19:58:53 -05:00
Nathan Hosselton
d779118381 Merge branch 'swift-2.0-beta5' of https://github.com/mxcl/PromiseKit into swift-2.0-beta5
merges an updated upstream into a topic branch.
2015-09-20 19:35:49 -05:00
Nathan Hosselton
71f0b1fa40 Add /Foundation/Lite subspec for excluding OMG 2015-09-20 19:11:36 -05:00
Sahand Nayebaziz
7da72952c3 fix formatting 2015-09-17 13:23:45 -07:00
Sahand Nayebaziz
007503ff58 add watchOS deployment target 2015-09-16 23:09:29 -07:00
Max Howell
027a5c3210 BFTask+Promise 2015-08-13 23:06:37 -07:00
Max Howell
2725b417dc Depend on OMGHTTPURLRQ 3.0.0 2015-08-12 21:20:54 -07:00
Max Howell
7a61a0f26e OMG will now maintain Swift source compat for 2.x 2015-06-22 14:31:48 -05:00
Max Howell
7eb264b588 Force OMGHTTPURLRQ 2.1.3
I added nullability to OMG which broke source compatibility for Swift PromiseKit.

Tag 2.0.4
2015-06-17 12:53:44 -05:00
Max Howell
14783b26f6 Preserve private sources for podspec 2015-05-14 10:54:33 -05:00
Max Howell
bcd80ff8f2 CocoaPods hates me
Why the fuck cannot I not name files like I want to CocoaPods? Why?

Carthage FTW :P
2015-05-14 02:52:00 -05:00
Max Howell
e96adc5fed PromiseKit 2.0
Fixes #165
Fixes #56
Closes #18
Fixes #13
2015-05-14 00:42:58 -05:00