searchkick 4.6.3 → 5.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6937cc5456846216a4ea52c2274dfc43220e7f848dde276f0102ce48de3184a6
4
- data.tar.gz: 0bfcc6a4e5a893629f9cac734498efba357dbd19e6641c21af7ea8e82f94f1ba
3
+ metadata.gz: d3ada9c260b4ad16858d70480fafdc92d6bcbbeea240a628d832e5aaba4fea10
4
+ data.tar.gz: b9e48dc70ddfd83b10eeb1c02d572b6aaba66075c494c94fb8dd8450f7e39e7e
5
5
  SHA512:
6
- metadata.gz: 0e7e41267464a8d32641edf6a578a6c65a97170f40e2f129effc8ff1da4144c30f00b88e52ddf6c51ffba366ec3cdfb263890e1539165ad47581c1723bf6b992
7
- data.tar.gz: 49511b973a2fb7dce8d7952c0e5ccd676db357d2d965f46321e1b56bd5213f9f0c44f461f0010344f585e799dcbb13d9c4482772e20ab996462be86430c040cf
6
+ metadata.gz: a9509e82eb6257fd25334e0527bb3bd890e5a40edc6710354700ebb826048888b1549756b3b34089de434f38517a53b648ae896ad1478e688a93a886a70d7675
7
+ data.tar.gz: 9b79d9dfad68255deccf6af74586ce877026652091b37baeeb60ec56f3af6b4923525846a68b7d3d008ed3baa81b1f765b76d2b6f68e6d014bcfa5ac413b4ad0
data/CHANGELOG.md CHANGED
@@ -1,7 +1,85 @@
1
+ ## 5.2.2 (2023-04-01)
2
+
3
+ - Fixed `total_docs` method
4
+ - Fixed deprecation warning with Active Support 7.1
5
+
6
+ ## 5.2.1 (2023-02-21)
7
+
8
+ - Added support for `redis-client` gem
9
+
10
+ ## 5.2.0 (2023-02-08)
11
+
12
+ - Added model name to warning about missing records
13
+ - Fixed unnecessary data loading when reindexing relations with `:async` and `:queue` modes
14
+
15
+ ## 5.1.2 (2023-01-29)
16
+
17
+ - Fixed error with missing point in time
18
+
19
+ ## 5.1.1 (2022-12-05)
20
+
21
+ - Added support for strings for `offset` and `per_page`
22
+
23
+ ## 5.1.0 (2022-10-12)
24
+
25
+ - Added support for fractional search timeout
26
+ - Fixed search timeout with `elasticsearch` 8+ and `opensearch-ruby` gems
27
+ - Fixed search timeout not applying to `multi_search`
28
+
29
+ ## 5.0.5 (2022-10-09)
30
+
31
+ - Added `model` method to `Searchkick::Relation`
32
+ - Fixed deprecation warning with `redis` gem
33
+ - Fixed `respond_to?` method on relation loading relation
34
+ - Fixed `Relation loaded` error for non-mutating methods on relation
35
+
36
+ ## 5.0.4 (2022-06-16)
37
+
38
+ - Added `max_result_window` option
39
+ - Improved error message for unsupported versions of Elasticsearch
40
+
41
+ ## 5.0.3 (2022-03-13)
42
+
43
+ - Fixed context for index name for inherited models
44
+
45
+ ## 5.0.2 (2022-03-03)
46
+
47
+ - Fixed index name for inherited models
48
+
49
+ ## 5.0.1 (2022-02-27)
50
+
51
+ - Prefer `mode: :async` over `async: true` for full reindex
52
+ - Fixed instance method overriding with concerns
53
+
54
+ ## 5.0.0 (2022-02-21)
55
+
56
+ - Searches now use lazy loading (similar to Active Record)
57
+ - Added `unscope` option to better support working with default scopes
58
+ - Added support for `:async` and `:queue` modes for `reindex` on relation
59
+ - Added basic protection from unfiltered parameters to `where` option
60
+ - Added `models` option to `similar` method
61
+ - Changed async full reindex to fetch ids instead of using ranges for numeric primary keys with Active Record
62
+ - Changed `searchkick_index_options` to return symbol keys (instead of mix of strings and symbols)
63
+ - Changed non-anchored regular expressions to match expected results (previously warned)
64
+ - Changed record reindex to return `true` to match model and relation reindex
65
+ - Updated async reindex job to call `search_import` for nested associations
66
+ - Fixed removing records when `should_index?` is `false` when `reindex` called on relation
67
+ - Fixed issue with `merge_mappings` for fields that use `searchkick` options
68
+ - Raise error when `search` called on relations
69
+ - Raise `ArgumentError` (instead of warning) for invalid regular expression modifiers
70
+ - Raise `ArgumentError` instead of `RuntimeError` for unknown operators
71
+ - Removed mapping of `id` to `_id` with `order` option (not supported in Elasticsearch 8)
72
+ - Removed `wordnet` option (no longer worked)
73
+ - Removed dependency on `elasticsearch` gem (can use `elasticsearch` or `opensearch-ruby`)
74
+ - Dropped support for Elasticsearch 6
75
+ - Dropped support for Ruby < 2.6 and Active Record < 5.2
76
+ - Dropped support for NoBrainer and Cequel
77
+ - Dropped support for `faraday_middleware-aws-signers-v4` (use `faraday_middleware-aws-sigv4` instead)
78
+
1
79
  ## 4.6.3 (2021-11-19)
2
80
 
3
81
  - Added support for reloadable synonyms for OpenSearch
4
- - Added experimental support for `opensearch` gem
82
+ - Added experimental support for `opensearch-ruby` gem
5
83
  - Removed `elasticsearch-xpack` dependency for reloadable synonyms
6
84
 
7
85
  ## 4.6.2 (2021-11-15)