Skip to content

Commit e2a9194

Browse files
chore: Deploying new minor version 8.8.0 (#732)
* chore: update version to 8.8.0 [skip ci] * fix: add availability condition for iOS, tvOS and watchOS for support sortedKeys JSONSerialization.WritingOption * bump iOS version requirement in the podpspec to sync with Package.swift Co-authored-by: Vladislav Fitc <[email protected]>
1 parent 5a10763 commit e2a9194

File tree

5 files changed

+20
-12
lines changed

5 files changed

+20
-12
lines changed

AlgoliaSearchClient.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Pod::Spec.new do |spec|
22
spec.name = "AlgoliaSearchClient"
33
spec.module_name = 'AlgoliaSearchClient'
4-
spec.version = "8.7.0"
4+
spec.version = "8.8.0"
55
spec.summary = "Algolia Search API Client written in Swift."
66
spec.homepage = "https://github.com/algolia/algoliasearch-client-swift"
77
spec.license = { :type => "MIT", :file => "LICENSE" }
88
spec.author = { 'Algolia' => '[email protected]' }
99
spec.documentation_url = "https://www.algolia.com/doc/api-client/getting-started/what-is-the-api-client/swift/"
10-
spec.platforms = { :ios => "8.0", :osx => "10.10", :watchos => "2.0", :tvos => "9.0" }
10+
spec.platforms = { :ios => "9.0", :osx => "10.10", :watchos => "2.0", :tvos => "9.0" }
1111
spec.swift_version = "5.1"
1212
spec.source = { :git => "https://github.com/algolia/algoliasearch-client-swift.git", :tag => spec.version }
1313
spec.source_files = "Sources/AlgoliaSearchClient/**/*.swift"

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# ChangeLog
22

3+
## [8.8.0](https://github.com/algolia/algoliasearch-client-swift/compare/8.7.0...8.8.0) (2021-03-01)
4+
5+
### Refactor
6+
7+
- Transport and logging improvements (#730) ([5a10763](https://github.com/algolia/algoliasearch-client-swift/commit/5a10763))
8+
9+
10+
311
## [8.7.0](https://github.com/algolia/algoliasearch-client-swift/compare/8.6.0...8.7.0) (2021-02-15)
412

513
### Misc

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ If you're a framework author and use Swift API Client as a dependency, update yo
6060

6161
```swift
6262
let package = Package(
63-
// 8.7.0 ..< 9.0.0
63+
// 8.8.0 ..< 9.0.0
6464
dependencies: [
65-
.package(url: "https://github.com/algolia/algoliasearch-client-swift", from: "8.7.0")
65+
.package(url: "https://github.com/algolia/algoliasearch-client-swift", from: "8.8.0")
6666
],
6767
// ...
6868
)
@@ -77,9 +77,9 @@ Add `import AlgoliaSearchClient` to your source files.
7777
To install Algolia Swift Client, simply add the following line to your Podfile:
7878

7979
```ruby
80-
pod 'AlgoliaSearchClient', '~> 8.7'
81-
# pod 'InstantSearchClient', '~> 6.0'` // Swift 4.2
82-
# pod 'InstantSearchClient', '~> 5.0'` // Swift 4.1
80+
pod 'AlgoliaSearchClient', '~> 8.8'
81+
# pod 'InstantSearchClient', '~> 6.0' // Swift 4.2
82+
# pod 'InstantSearchClient', '~> 5.0' // Swift 4.1
8383
```
8484

8585
Then, run the following command:
@@ -94,9 +94,9 @@ $ pod update
9494

9595
- To install InstantSearch, simply add the following line to your Cartfile:
9696
```ruby
97-
github "algolia/algoliasearch-client-swift" ~> 8.7
98-
# github "algolia/algoliasearch-client-swift" ~> 6.0.0` // Swift 4.2
99-
# github "algolia/algoliasearch-client-swift" ~> 5.0.0` // Swift 4.1
97+
github "algolia/algoliasearch-client-swift" ~> 8.8
98+
# github "algolia/algoliasearch-client-swift" ~> 6.0.0 // Swift 4.2
99+
# github "algolia/algoliasearch-client-swift" ~> 5.0.0 // Swift 4.1
100100
```
101101

102102
- Launch the following commands from the project directory (for v.8.0+)

Sources/AlgoliaSearchClient/Helpers/FoundationConvenience/Data+JSONString.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ extension Data {
1313
return (try? JSONSerialization.jsonObject(with: self, options: .allowFragments))
1414
.flatMap {
1515
let writingOptions: JSONSerialization.WritingOptions
16-
if #available(OSX 10.13, *) {
16+
if #available(iOS 11, OSX 10.13, tvOS 11.0, watchOS 4.0, *) {
1717
writingOptions = [.prettyPrinted, .fragmentsAllowed, .sortedKeys]
1818
} else {
1919
writingOptions = [.prettyPrinted, .fragmentsAllowed]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// This is generated file. Don't modify it manually.
2-
public extension Version { static let current: Version = .init(major: 8, minor: 7, patch: 0, prereleaseIdentifier: nil) }
2+
public extension Version { static let current: Version = .init(major: 8, minor: 8, patch: 0, prereleaseIdentifier: nil) }

0 commit comments

Comments
 (0)