Skip to content

Commit 7e0c992

Browse files
committed
add changelog
1 parent e700097 commit 7e0c992

File tree

5 files changed

+7
-14
lines changed

5 files changed

+7
-14
lines changed

.codecov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ coverage:
66
status:
77
patch:
88
default:
9-
target: auto
9+
target: 79
1010
changes: false
1111
project:
1212
default:
13-
target: 87
13+
target: 89
1414
comment:
1515
require_changes: true

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
branches: '*'
77
env:
88
CI_XCODE_VER: '/Applications/Xcode_12.5.1.app/Contents/Developer'
9-
CI_XCODE_13: '/Applications/Xcode_13.4.app/Contents/Developer'
9+
CI_XCODE_13: '/Applications/Xcode_13.4.1.app/Contents/Developer'
1010

1111
jobs:
1212
xcode-test-ios:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
release:
44
types: [published]
55
env:
6-
CI_XCODE_13: '/Applications/Xcode_13.4.app/Contents/Developer'
6+
CI_XCODE_13: '/Applications/Xcode_13.4.1.app/Contents/Developer'
77

88
jobs:
99
cocoapods:

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
### main
44

5+
__New features__
6+
- Enable query caching by using GET instead of POST. GET is now used by default. To switch back to POST, set usingPostForQuery = true when initializing the SDK which will automatically disable all query caching ([#386](https://github.com/parse-community/Parse-Swift/pull/386)), thanks to [Corey Baker](https://github.com/cbaker6).
7+
58
__Improvements__
69
- Added discardableResult to allow developers to choose whether or not certain functions should return a result ([#385](https://github.com/parse-community/Parse-Swift/pull/385)), thanks to [Damian Van de Kauter](https://github.com/vdkdamian).
710

Sources/ParseSwift/Types/Query.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@ public struct Query<T>: ParseTypeable where T: ParseObject {
7474
let encoded = try ParseCoding.jsonEncoder().encode(value)
7575
return String(data: encoded, encoding: .utf8)
7676
}
77-
78-
func encodeAsString<W>(_ key: KeyPath<Self, W>) throws -> String? where W: Encodable {
79-
let encoded = try ParseCoding.jsonEncoder().encode(self[keyPath: key])
80-
return String(data: encoded, encoding: .utf8)
81-
}
8277
}
8378

8479
struct DistinctBody<T>: Codable where T: ParseObject {
@@ -110,11 +105,6 @@ public struct Query<T>: ParseTypeable where T: ParseObject {
110105
let encoded = try ParseCoding.jsonEncoder().encode(value)
111106
return String(data: encoded, encoding: .utf8)
112107
}
113-
114-
func encodeAsString<W>(_ key: KeyPath<Self, W>) throws -> String? where W: Encodable {
115-
let encoded = try ParseCoding.jsonEncoder().encode(self[keyPath: key])
116-
return String(data: encoded, encoding: .utf8)
117-
}
118108
}
119109

120110
enum CodingKeys: String, CodingKey {

0 commit comments

Comments
 (0)