Skip to content

Commit e373bde

Browse files
authored
chore: kickoff release
2 parents c13d7b7 + 39de25d commit e373bde

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

Diff for: .github/workflows/issue_comment.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121

2222
adjust-labels:
2323
runs-on: ubuntu-latest
24+
if: ${{ github.event.issue.state == 'open' }}
2425
permissions:
2526
issues: write
2627
env:

Diff for: Amplify/Categories/Storage/StorageCategory+ClientBehavior.swift

+7
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import Foundation
99

1010
extension StorageCategory: StorageCategoryBehavior {
1111

12+
@available(*, deprecated, message: "Use getURL(path:options:)")
1213
@discardableResult
1314
public func getURL(
1415
key: String,
@@ -25,6 +26,7 @@ extension StorageCategory: StorageCategoryBehavior {
2526
try await plugin.getURL(path: path, options: options)
2627
}
2728

29+
@available(*, deprecated, message: "Use downloadData(path:options:)")
2830
@discardableResult
2931
public func downloadData(
3032
key: String,
@@ -41,6 +43,7 @@ extension StorageCategory: StorageCategoryBehavior {
4143
plugin.downloadData(path: path, options: options)
4244
}
4345

46+
@available(*, deprecated, message: "Use downloadFile(path:options:)")
4447
@discardableResult
4548
public func downloadFile(
4649
key: String,
@@ -59,6 +62,7 @@ extension StorageCategory: StorageCategoryBehavior {
5962
plugin.downloadFile(path: path, local: local, options: options)
6063
}
6164

65+
@available(*, deprecated, message: "Use uploadData(path:options:)")
6266
@discardableResult
6367
public func uploadData(
6468
key: String,
@@ -77,6 +81,7 @@ extension StorageCategory: StorageCategoryBehavior {
7781
plugin.uploadData(path: path, data: data, options: options)
7882
}
7983

84+
@available(*, deprecated, message: "Use uploadFile(path:options:)")
8085
@discardableResult
8186
public func uploadFile(
8287
key: String,
@@ -95,6 +100,7 @@ extension StorageCategory: StorageCategoryBehavior {
95100
plugin.uploadFile(path: path, local: local, options: options)
96101
}
97102

103+
@available(*, deprecated, message: "Use remove(path:options:)")
98104
@discardableResult
99105
public func remove(
100106
key: String,
@@ -111,6 +117,7 @@ extension StorageCategory: StorageCategoryBehavior {
111117
try await plugin.remove(path: path, options: options)
112118
}
113119

120+
@available(*, deprecated, message: "Use list(path:options:)")
114121
@discardableResult
115122
public func list(
116123
options: StorageListOperation.Request.Options? = nil

Diff for: AmplifyPlugins/Internal/Sources/InternalAWSPinpoint/Analytics/LocalStorage/AnalyticsEventSQLStorage.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ class AnalyticsEventSQLStorage: AnalyticsEventStorage {
142142
ORDER BY timestamp ASC
143143
LIMIT ?
144144
"""
145-
let rows = try dbAdapter.executeQuery(queryStatement, [limit])
145+
let rows = try dbAdapter.executeQuery(queryStatement, [limit]).makeIterator()
146146
var result = [PinpointEvent]()
147-
for element in rows {
147+
while let element = try rows.failableNext() {
148148
if let event = PinpointEvent.convertToEvent(element) {
149149
result.append(event)
150150
}

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Amplify requires Xcode 15.0 or later for all the supported platforms.
136136

137137
## Escape Hatch
138138

139-
All services and features not listed in the [**Features/API sectios**](#featuresapis) are supported via the [Swift SDK](https://github.com/awslabs/aws-sdk-swift) or if supported by a category can be accessed via the Escape Hatch like below:
139+
All services and features not listed in the [**Features/API sections**](#featuresapis) are supported via the [Swift SDK](https://github.com/awslabs/aws-sdk-swift) or if supported by a category can be accessed via the Escape Hatch like below:
140140

141141
```swift
142142
import Amplify

0 commit comments

Comments
 (0)