Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

Commit

Permalink
Version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spinach committed Jul 17, 2017
1 parent ed34481 commit 5eda76b
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
14 changes: 14 additions & 0 deletions ChangeLog.md
@@ -1,6 +1,20 @@
Change Log
==========

## 2.0.0 (2017-07-17)

This new major release has been made to adapt this core library to the needs of the [InstantSearch iOS library](https://github.com/algolia/instantsearch-ios).

### New Features

- Add more extensibility to the Searcher result handler methods. This brings changes in the signature of the `SearcherDelegate` method and the `searcher.resultHandlers`:
- For the `SearcherDelegate`: From `searcher(_:didReceive:error:params:)` to `searcher(_:didReceive:error:userInfo:)`
- For the `searcher.resultHandlers`: From `(results:error:)` to `(results:error:userInfo:)`
- Notifications sent when refinement changes through the `RefinementChangeNotification` notification name. You can use the `userInfoNumericRefinementChangeKey` and `userInfoFacetRefinementChangeKey` to listen to numeric and facet refinement changes.
- FacetResults class added that can be used for searchForFacetValues
- The Searcher now keeps the latest `hits` and `results` in its state
- Add helper to reverse highlights in a text
- Library's deployment iOS target moved from 9.3 to 8.0.

## 1.0.1 (2017-04-03)

Expand Down
2 changes: 1 addition & 1 deletion InstantSearch-Core-Offline-Swift.podspec
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |s|
# ------------
s.name = 'InstantSearch-Core-Offline-Swift'
s.module_name = 'InstantSearchCore'
s.version = '2.0.0-beta2'
s.version = '2.0.0'
s.license = 'MIT'
s.summary = 'Instant Search library for Swift by Algolia'
s.homepage = 'https://github.com/algolia/instantsearch-core-swift'
Expand Down
2 changes: 1 addition & 1 deletion InstantSearch-Core-Swift.podspec
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |s|
# ------------
s.name = 'InstantSearch-Core-Swift'
s.module_name = 'InstantSearchCore'
s.version = '2.0.0-beta2'
s.version = '2.0.0'
s.license = 'MIT'
s.summary = 'Instant Search library for Swift by Algolia'
s.homepage = 'https://github.com/algolia/instantsearch-core-swift'
Expand Down
2 changes: 1 addition & 1 deletion Sources/Info.plist
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0.1</string>
<string>2.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion doc/maintenance.md
Expand Up @@ -27,7 +27,7 @@ Because we must guarantee that every feature is usable from Objective-C, and bec

- `Sources/Info.plist` (or via Xcode, in the project settings)

- Update the **change log** (`ChangeLog.md`)
- Update the **change log** (`ChangeLog.md`) and [draft a new release](https://github.com/algolia/instantsearch-core-swift/releases).

- **Dry-run the pod spec**: `pod lib lint` to check that everything's fine.

Expand Down

0 comments on commit 5eda76b

Please sign in to comment.