Skip to content

Commit 5860abd

Browse files
authored
fix: async/await methods should be available for watchOS 8+ (#265)
* Async/await methods should be available for watchOS8+ * Updare changelog
1 parent d6be35b commit 5860abd

37 files changed

+52
-46
lines changed

.codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ coverage:
66
status:
77
patch:
88
default:
9-
target: 0
9+
target: auto
1010
changes: false
1111
project:
1212
default:

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22

33
### main
44

5-
[Full Changelog](https://github.com/parse-community/Parse-Swift/compare/2.0.2...main)
5+
[Full Changelog](https://github.com/parse-community/Parse-Swift/compare/2.0.3...main)
66
* _Contributing to this repo? Add info about your change here to be included in the next release_
77

8+
### 2.0.3
9+
[Full Changelog](https://github.com/parse-community/Parse-Swift/compare/2.0.2...2.0.3)
10+
11+
__Fixes__
12+
- Async/await methods should be available for watchOS 8+ ([#265](https://github.com/parse-community/Parse-Swift/pull/265)), thanks to [Corey Baker](https://github.com/cbaker6).
13+
814
### 2.0.2
915
[Full Changelog](https://github.com/parse-community/Parse-Swift/compare/2.0.1...2.0.2)
1016

Sources/ParseSwift/Authentication/3rd Party/ParseApple/ParseApple+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if swift(>=5.5) && canImport(_Concurrency)
1010
import Foundation
1111

12-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
12+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
1313
public extension ParseApple {
1414
// MARK: Login - Async/Await
1515

@@ -49,7 +49,7 @@ public extension ParseApple {
4949
}
5050
}
5151

52-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
52+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
5353
public extension ParseApple {
5454
// MARK: Link - Async/Await
5555

Sources/ParseSwift/Authentication/3rd Party/ParseFacebook/ParseFacebook+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if swift(>=5.5) && canImport(_Concurrency)
1010
import Foundation
1111

12-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
12+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
1313
public extension ParseFacebook {
1414
// MARK: Login - Async/Await
1515

@@ -73,7 +73,7 @@ public extension ParseFacebook {
7373
}
7474
}
7575

76-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
76+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
7777
public extension ParseFacebook {
7878
// MARK: Link - Async/Await
7979
/**

Sources/ParseSwift/Authentication/3rd Party/ParseLDAP/ParseLDAP+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if swift(>=5.5) && canImport(_Concurrency)
1010
import Foundation
1111

12-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
12+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
1313
public extension ParseLDAP {
1414
// MARK: Login - Async/Await
1515
/**
@@ -48,7 +48,7 @@ public extension ParseLDAP {
4848
}
4949
}
5050

51-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
51+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
5252
public extension ParseLDAP {
5353
// MARK: Link - Async/Await
5454
/**

Sources/ParseSwift/Authentication/3rd Party/ParseTwitter/ParseTwitter+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if swift(>=5.5) && canImport(_Concurrency)
1010
import Foundation
1111

12-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
12+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
1313
public extension ParseTwitter {
1414
// MARK: Login - Async/Await
1515

@@ -61,7 +61,7 @@ public extension ParseTwitter {
6161
}
6262
}
6363

64-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
64+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
6565
public extension ParseTwitter {
6666
// MARK: Link - Async/Await
6767

Sources/ParseSwift/Authentication/Internal/ParseAnonymous+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if swift(>=5.5) && canImport(_Concurrency)
1010
import Foundation
1111

12-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
12+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
1313
public extension ParseAnonymous {
1414

1515
// MARK: Login - Async/Await
@@ -45,7 +45,7 @@ public extension ParseAnonymous {
4545
}
4646
}
4747

48-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
48+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
4949
public extension ParseAnonymous {
5050

5151
// MARK: Link - Async/Await

Sources/ParseSwift/Authentication/Protocols/ParseAuthentication+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if swift(>=5.5) && canImport(_Concurrency)
1010
import Foundation
1111

12-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
12+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
1313
public extension ParseAuthentication {
1414

1515
// MARK: Convenience Implementations - Async/Await
@@ -30,7 +30,7 @@ public extension ParseAuthentication {
3030
}
3131
}
3232

33-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
33+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
3434
public extension ParseUser {
3535

3636
// MARK: 3rd Party Authentication - Login Async/Await

Sources/ParseSwift/LiveQuery/ParseLiveQuery+async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if swift(>=5.5) && canImport(_Concurrency) && !os(Linux) && !os(Android)
1010
import Foundation
1111

12-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
12+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
1313
extension ParseLiveQuery {
1414
// MARK: Async/Await
1515

Sources/ParseSwift/Objects/ParseInstallation+async.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if swift(>=5.5) && canImport(_Concurrency)
1010
import Foundation
1111

12-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
12+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
1313
public extension ParseInstallation {
1414

1515
// MARK: Fetchable - Async/Await
@@ -70,7 +70,7 @@ public extension ParseInstallation {
7070
}
7171

7272
// MARK: Batch Support - Async/Await
73-
@available(macOS 12.0, iOS 15.0, macCatalyst 15.0, watchOS 9.0, tvOS 15.0, *)
73+
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
7474
public extension Sequence where Element: ParseInstallation {
7575
/**
7676
Fetches a collection of installations *aynchronously* with the current data from the server and sets

0 commit comments

Comments
 (0)