|
1 |
| -Changelog |
2 |
| -========= |
| 1 | +Change Log |
| 2 | +========== |
3 | 3 |
|
4 |
| -2.6.1 (2016-01-28) |
5 |
| -- Add snippetEllipsisText method |
| 4 | +## 3.0 (FIXME) |
| 5 | + |
| 6 | +This major version brings new features as well as bug fixes. In addition, a lot of refactoring has been performed |
| 7 | +to achieve better maintainability and to align the Android client with the other Algolia API clients. |
| 8 | + |
| 9 | +As a consequence, the public interface has changed in an incompatible way. Please refer to our |
| 10 | +[Migration guide](https://github.com/algolia/algoliasearch-client-android/wiki/Migration-guide-to-version-3.x) for |
| 11 | +detailed instructions. |
| 12 | + |
| 13 | +### New features |
| 14 | + |
| 15 | +- In-memory search cache: disabled by default, can be enabled per index. |
| 16 | +- Allow arbitrary query parameters to be specified: the `Query` class provides low-level, untyped accessors in addition |
| 17 | + to the higher-level, typed accessors. |
| 18 | +- Allow arbitrary HTTP headers to be specified (`Client.setHeader`) |
| 19 | +- Asynchronous requests are cancellable: asynchronous methods return a `Request` instance with a `cancel` method. |
| 20 | +- Low-level browse methods (`Index.browse` and `Index.browseFrom`) |
| 21 | +- New browse helper (`BrowseIterator`) |
| 22 | +- New method to clear an index (`Index.clearIndexAsync`) |
| 23 | + |
| 24 | +### Changes |
| 25 | + |
| 26 | +- Now only one type of asynchronous listener (`CompletionHandler`) with an interface containing only one method, |
| 27 | + used for both success and error cases. In addition to simplifying the code and aligning the Android client with other |
| 28 | + languages, this makes it possible to use Java 8 **lambda expressions**. |
| 29 | +- Remove operations requiring an admin API key. (The admin key should *never* be used on the client side.) |
| 30 | +- Align `Query` class parameters with the [REST API](https://www.algolia.com/doc/rest) |
| 31 | +- Improve the type safety of many `Query` parameters, especially the geo search-related parameters and the filters |
| 32 | +- Remove obsolete (and unused) `enableDsn` and `dsnHost` initialization parameters |
| 33 | +- Remove accessors to deprecated HTTP headers |
| 34 | +- Space character is now URL-encoded as `%20` instead of `+` |
| 35 | +- Better naming convention: |
| 36 | + - Rename `APIClient` class to `Client` |
| 37 | + - Rename `*ASync` to `*Async` |
| 38 | + - Remove prefix on enum values |
| 39 | + |
| 40 | +### Fixes |
| 41 | + |
| 42 | +- Search queries now use POST instead of GET, working around any potential hard-coded limit to the URL string. |
| 43 | +- Delete by query uses browse instead of search, for both better performance and to work around any index settings |
| 44 | + (like `distinct`) that would silently prevent the query from selecting all objects. |
| 45 | +- More consistent error handling |
| 46 | +- Fix retry logic in case of host failure |
| 47 | +- Alleviate critical section on internal request methods |
| 48 | + |
| 49 | +### Misc. improvements |
| 50 | + |
| 51 | +- Use `@NonNull` annotations to document mandatory parameters and return values |
| 52 | +- Asynchronous methods no longer throw (declared) exceptions |
| 53 | +- Update documentation (a lot!) |
| 54 | +- Add test cases |
| 55 | + |
| 56 | +## 2.6.1 (2016-01-28) |
| 57 | + |
| 58 | +- Add `snippetEllipsisText` query parameter |
| 59 | + |
| 60 | +## 2.6.0 (2016-01-07) |
6 | 61 |
|
7 |
| -2.6.0 (2016-01-07) |
8 | 62 | - Add disjunctive faceting method
|
9 | 63 |
|
10 |
| -2.5.1 (2016-01-07) |
| 64 | +## 2.5.1 (2016-01-07) |
| 65 | + |
11 | 66 | - Fixed method used to generate the query parameters of multiqueries
|
12 | 67 |
|
13 |
| -2.5.0 (2015-12-01) |
| 68 | +## 2.5.0 (2015-12-01) |
| 69 | + |
14 | 70 | - Added support of Android SDK >= 14
|
15 | 71 |
|
16 |
| -2.4.0 (2015-10-12) |
| 72 | +## 2.4.0 (2015-10-12) |
17 | 73 |
|
18 | 74 | - Added remove stop words query parameter
|
19 | 75 | - Added support of similar queries
|
20 | 76 |
|
21 |
| -2.3.0 (2015-10-01) |
| 77 | +## 2.3.0 (2015-10-01) |
22 | 78 |
|
23 | 79 | - Added support of multiple bounding box for geo-search
|
24 | 80 | - Added support of polygon for geo-search
|
25 | 81 | - Added support of automatic radius computation for geo-search
|
26 | 82 | - Added support of disableTypoToleranceOnAttributes
|
27 | 83 |
|
28 |
| -2.2.0 (2015-09-29) |
| 84 | +## 2.2.0 (2015-09-29) |
29 | 85 |
|
30 | 86 | - Ensure all requests accept the GZIP encoding to reduce the JSON payloads size
|
31 | 87 |
|
32 |
| -2.1.0 (2015-08-24) |
| 88 | +## 2.1.0 (2015-08-24) |
33 | 89 |
|
34 | 90 | - Publish on MavenCentral
|
35 | 91 |
|
36 |
| -2.0.0 (2015-08-01) |
| 92 | +## 2.0.0 (2015-08-01) |
37 | 93 |
|
38 | 94 | - Rewrite the API Client as a Android package
|
39 | 95 | - Split the async listeners/interfaces
|
40 | 96 |
|
41 | 97 | 1.6.7 (2015-07-14)
|
42 | 98 | ------------------
|
43 | 99 |
|
44 |
| -- Added support of grouping (distinct=3 to keep the 3 best hits for a distinct key) |
| 100 | +- Added support of grouping (`distinct=3` to keep the 3 best hits for a distinct key) |
45 | 101 |
|
46 | 102 | 1.6.6 (2015-06-05)
|
47 | 103 | --------------------
|
48 | 104 |
|
49 |
| -- add new parameter on the Query: setMinProximity & setHighlightingTags |
| 105 | +- add new parameter on the Query: `setMinProximity` & `setHighlightingTags` |
50 | 106 | - new cursor-based browse implementation
|
51 | 107 |
|
52 | 108 | 1.6.5 (2015-05-26)
|
53 | 109 | ------------------
|
54 | 110 |
|
55 |
| -- Fix thread concurrency for method _request |
| 111 | +- Fix thread concurrency for method `_request` |
56 | 112 |
|
57 | 113 | 1.6.4 (2015-05-04)
|
58 | 114 | ------------------
|
|
0 commit comments