searchkick 4.6.3 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6937cc5456846216a4ea52c2274dfc43220e7f848dde276f0102ce48de3184a6
4
- data.tar.gz: 0bfcc6a4e5a893629f9cac734498efba357dbd19e6641c21af7ea8e82f94f1ba
3
+ metadata.gz: 4f8772937f9490975f3e21a5dbd7e2ddc18da42959a42a991875e4d04caca549
4
+ data.tar.gz: c10ee19a6feb618cc6d84da994053ed3996b97aaeac85d2c6510246ba4dfd7cf
5
5
  SHA512:
6
- metadata.gz: 0e7e41267464a8d32641edf6a578a6c65a97170f40e2f129effc8ff1da4144c30f00b88e52ddf6c51ffba366ec3cdfb263890e1539165ad47581c1723bf6b992
7
- data.tar.gz: 49511b973a2fb7dce8d7952c0e5ccd676db357d2d965f46321e1b56bd5213f9f0c44f461f0010344f585e799dcbb13d9c4482772e20ab996462be86430c040cf
6
+ metadata.gz: d6e13f2d84a1869b912732befa604da472a020a5862e8387916bc1c8fb57e24f23a899d774d043f5af2a93856b25278f618e16ffd177a7fe035844660dfc1723
7
+ data.tar.gz: 53b5c913f753a9f8c0ef2d2de3c7f1c2fd21c5a456919a453d0f48f8a891b73e57e0746d30d669c0d0d0f89c4cd174559a616d715aee4b6dc55aa627a420963e
data/CHANGELOG.md CHANGED
@@ -1,7 +1,63 @@
1
+ ## 5.1.0 (2022-10-12)
2
+
3
+ - Added support for fractional search timeout
4
+ - Fixed search timeout with `elasticsearch` 8+ and `opensearch-ruby` gems
5
+ - Fixed search timeout not applying to `multi_search`
6
+
7
+ ## 5.0.5 (2022-10-09)
8
+
9
+ - Added `model` method to `Searchkick::Relation`
10
+ - Fixed deprecation warning with `redis` gem
11
+ - Fixed `respond_to?` method on relation loading relation
12
+ - Fixed `Relation loaded` error for non-mutating methods on relation
13
+
14
+ ## 5.0.4 (2022-06-16)
15
+
16
+ - Added `max_result_window` option
17
+ - Improved error message for unsupported versions of Elasticsearch
18
+
19
+ ## 5.0.3 (2022-03-13)
20
+
21
+ - Fixed context for index name for inherited models
22
+
23
+ ## 5.0.2 (2022-03-03)
24
+
25
+ - Fixed index name for inherited models
26
+
27
+ ## 5.0.1 (2022-02-27)
28
+
29
+ - Prefer `mode: :async` over `async: true` for full reindex
30
+ - Fixed instance method overriding with concerns
31
+
32
+ ## 5.0.0 (2022-02-21)
33
+
34
+ - Searches now use lazy loading (similar to Active Record)
35
+ - Added `unscope` option to better support working with default scopes
36
+ - Added support for `:async` and `:queue` modes for `reindex` on relation
37
+ - Added basic protection from unfiltered parameters to `where` option
38
+ - Added `models` option to `similar` method
39
+ - Changed async full reindex to fetch ids instead of using ranges for numeric primary keys with Active Record
40
+ - Changed `searchkick_index_options` to return symbol keys (instead of mix of strings and symbols)
41
+ - Changed non-anchored regular expressions to match expected results (previously warned)
42
+ - Changed record reindex to return `true` to match model and relation reindex
43
+ - Updated async reindex job to call `search_import` for nested associations
44
+ - Fixed removing records when `should_index?` is `false` when `reindex` called on relation
45
+ - Fixed issue with `merge_mappings` for fields that use `searchkick` options
46
+ - Raise error when `search` called on relations
47
+ - Raise `ArgumentError` (instead of warning) for invalid regular expression modifiers
48
+ - Raise `ArgumentError` instead of `RuntimeError` for unknown operators
49
+ - Removed mapping of `id` to `_id` with `order` option (not supported in Elasticsearch 8)
50
+ - Removed `wordnet` option (no longer worked)
51
+ - Removed dependency on `elasticsearch` gem (can use `elasticsearch` or `opensearch-ruby`)
52
+ - Dropped support for Elasticsearch 6
53
+ - Dropped support for Ruby < 2.6 and Active Record < 5.2
54
+ - Dropped support for NoBrainer and Cequel
55
+ - Dropped support for `faraday_middleware-aws-signers-v4` (use `faraday_middleware-aws-sigv4` instead)
56
+
1
57
  ## 4.6.3 (2021-11-19)
2
58
 
3
59
  - Added support for reloadable synonyms for OpenSearch
4
- - Added experimental support for `opensearch` gem
60
+ - Added experimental support for `opensearch-ruby` gem
5
61
  - Removed `elasticsearch-xpack` dependency for reloadable synonyms
6
62
 
7
63
  ## 4.6.2 (2021-11-15)