274 Commits
Author SHA1 Message Date
Nick Cooke f4a19a3c31 infra: bump podspecs for 2.4.1 release (#244)
* infra: bump podspecs for 2.4.1 release

* Update ci.yaml
2.4.1
2026-06-09 11:48:00 -05:00
Nick Cooke b898aa377c fix: add explicit platform versions to Package.swift (#243) 2026-06-09 11:15:30 -05:00
Joseph Chen d6d659a6cb Merge pull request #236 from ncooke3/patch-1
[Docs] Update Promise+Wrap.swift to address DocC warnings
2024-11-05 10:26:00 -08:00
Nick Cooke a6fb071eb9 [Docs] Update Promise+Wrap.swift to address DocC warnings 2024-11-05 12:51:18 -05:00
ykjchen 540318eced Bump version to 2.4.0. 2.4.0 2024-02-21 10:11:36 -08:00
Joseph Chen f28d58ab84 Merge pull request #226 from ykjchen/privacy
Add privacy manifest.
2024-02-21 09:41:14 -08:00
Joseph Chen 00a45ec88e Merge pull request #2 from ncooke3/nc/add-cocoapods-version-req
Add a cocoapods_version requirement
2024-01-29 12:23:41 -08:00
Joseph Chen 503173265d Merge pull request #227 from ncooke3/nc/add-ci
[Infra] Add GHA workflow
2024-01-29 12:20:36 -08:00
Nick Cooke 1ae8e6d3b2 Add regression test 2024-01-27 11:25:18 -05:00
Nick Cooke d51c7abaef Add SPM test job and reformat workflow file 2024-01-27 11:05:43 -05:00
Nick Cooke 745eefdba2 Fix SPM tet failures 2024-01-27 11:02:25 -05:00
Nick Cooke 1302fa4e69 Fix SPM build of test targets 2024-01-27 11:02:09 -05:00
Nick Cooke 6f44829f24 [Infra] Add GHA workflow 2024-01-27 10:59:49 -05:00
Nick Cooke 7919b9f1da Add a cocoapods_version requirement 2024-01-26 15:13:45 -05:00
Joseph Chen 5b6daa4c80 Merge pull request #163 from ykjchen/document-all
Add documentation to +all: that clarifies the order in which promises…
2024-01-18 12:38:00 -08:00
Joseph Chen 027c9feaf9 Merge pull request #224 from KrzysztofMoch/chore/add-visionos-support
feat: add visionOS support
2024-01-18 12:36:47 -08:00
Joseph Chen d992d4d1b4 Merge pull request #1 from ncooke3/nc/privacy
[Privacy Manifest] Adjust resource layout for SPM and CocoaPods
2024-01-16 11:27:02 -08:00
Nick Cooke 7ff62ae1c4 Adjust resource layout for CocoaPods 2024-01-12 18:30:10 -05:00
Nick Cooke bfee047851 Adjust resource layout for SPM 2024-01-12 17:54:38 -05:00
ykjchen d17b198a84 Bump swift-tools-version to 5.3 to support resources attribute. 2024-01-11 10:48:34 -08:00
ykjchen e9d33eae14 Add privacy manifest as a resource to Promises target in Package.swift. 2024-01-10 12:17:22 -08:00
Joseph ChenandNick Cooke 00c66553b5 Use resource_bundle instead of resource to include privacy manifest.
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-01-10 11:49:16 -08:00
Joseph ChenandNick Cooke 81ebda2a78 Use .process instead of .copy to include privacy manifest in Package.swift.
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-01-10 11:47:58 -08:00
Joseph ChenandNick Cooke edcbab4762 Include privacy manifest using resource_bundle rather than resource.
Co-authored-by: Nick Cooke <36927374+ncooke3@users.noreply.github.com>
2024-01-10 11:46:29 -08:00
ykjchen 57c16a820a Add privacy manifest. 2024-01-09 20:17:56 -08:00
Krzysztof Moch a709aefccb feat: add visionos support 2023-12-14 09:39:13 +01:00
ykjchen e70e889c01 Bump version to 2.3.1. 2.3.1 2023-07-21 07:51:44 -07:00
ykjchen d8a65c5ab2 Update PromisesSwift deployment targets to match PromisesObjc.
I'm getting this error while attempting to push PromisesSwift to trunk:
"Specs satisfying the `PromisesObjC (= 2.3.0)` dependency were found, but they required a higher minimum deployment target.) during validation."
2023-07-21 07:50:14 -07:00
ykjchen c22f76b709 Bump version to 2.3.0. 2.3.0 2023-07-20 22:10:06 -07:00
Joseph Chen 7b710f823f Merge pull request #222 from ncooke3/nc/promises-fix
[Promises] Force-link 'FBLPromises+Testing.m'
2023-07-20 15:41:44 -07:00
Nick Cooke 6592eea30d Review 2023-07-20 18:09:55 -04:00
Nick Cooke 35a4648677 [Promises] Force-link 'FBLPromises+Testing.m' 2023-07-20 18:03:57 -04:00
Joseph Chen a5a669d5a4 Merge pull request #221 from google/swift-ui-previews
Fix SwiftUI previews crashes when Promises is statically linked.
2023-07-20 14:35:44 -07:00
ykjchen c610e6410b Fix SwiftUI previews crashes when Promises is statically linked. 2023-07-19 21:27:53 -07:00
Joseph Chen a0ddeb6653 Merge pull request #220 from google/209-build-fails-for-macos-with-xcode-143
Bump supported osx target version to 10.11
2023-07-19 07:23:27 -07:00
Chuck Hays 5d65df8125 Bump supported osx target version to 10.11 2023-07-19 08:28:35 -05:00
Ellis Hoag 6a7716da4b Rename generic to avoid shadowing (#219) 2023-07-12 14:57:01 -05:00
Joseph Chen b7de3eec21 Merge pull request #218 from google/updateDeallocTest
Make dealloc test pass when compiled in opt mode
2023-07-11 11:02:52 -07:00
Chuck Hays 577ed9e73f Make dealloc test pass when compiled in opt mode
This reverts a change to the test made in https://github.com/google/promises/commit/0e9e9e39d83f7a479188240d381fd25b5834627c 

The original change appears to have been intended as a cleanup for another type of dealloc test and may have still passed in dbg mode, but would not pass in opt mode.
2023-07-11 12:53:42 -05:00
Chuck Hays cc95810791 Fix swift test compile error (#217) 2023-07-10 13:15:35 -05:00
Chuck Hays 94e24b7e6b Update return type to work around kotlin compiler error. (#216)
* Update return type to work around kotlin compiler error.

See https://youtrack.jetbrains.com/issue/KT-59597/KN-Usage-of-instancetype-in-block-return-type-crashes for context.

When a method has a return type which is a block that returns instancetype, the compiler fails.
2023-06-28 19:03:04 +02:00
Chuck Hays 922f2e1de7 Merge pull request #213 from shingzhao/patch-2
Update Promise.swift with convenience init to create pending promise
2023-05-24 08:51:30 -05:00
shingzhao 62136241ee Update Promise.swift with convenience init to create pending promise
Created convenience init to initiate a pending promise. 
This will make fake gens easier without having to create a new Default Value anymore.
2023-05-24 06:50:32 -07:00
ykjchen ec957ccddb Bump version to 2.2.0. 2.2.0 2023-02-12 21:32:12 -08:00
Chuck Hays 308ed911c1 Merge pull request #198 from noahric-at-google/noahric-promises-self
Use `self`/`[self class]` in more places
2022-12-08 12:27:33 -06:00
noahric-at-google 894db2ad8c Use self/[self class] to reference FBLPromise in more places 2022-12-08 09:07:59 -08:00
Joseph Chen ae2a31e0ad Merge pull request #193 from pranjalmd/master
Changing podspec files license from Apache to Apache-2.0
2022-09-06 21:33:36 -07:00
Pranjal Dhawale 92b1e12bf7 Changing podspec files license from Apache to Apache-2.0 2022-09-06 12:41:02 -07:00
ykjchen 3e4e743631 Bump version to 2.1.1. 2.1.1 2022-06-23 17:16:52 -07:00
Joseph Chen 86f48dc07d Merge pull request #188 from dmace2/improvedErrorHandling
Update error checking to use type(of:) rather than typecasting
2022-06-23 16:21:31 -07:00