searchkick 4.6.3 → 5.0.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: 5ebb326348913a8532f1f4e7771bcdb57dda1abe4cc668e4f5bf8fe44bdbc85b
4
+ data.tar.gz: 57b63c4444b9dbe26bb8decc4ab4dca81e4e037e6642d5728b96549aea0b2131
5
5
  SHA512:
6
- metadata.gz: 0e7e41267464a8d32641edf6a578a6c65a97170f40e2f129effc8ff1da4144c30f00b88e52ddf6c51ffba366ec3cdfb263890e1539165ad47581c1723bf6b992
7
- data.tar.gz: 49511b973a2fb7dce8d7952c0e5ccd676db357d2d965f46321e1b56bd5213f9f0c44f461f0010344f585e799dcbb13d9c4482772e20ab996462be86430c040cf
6
+ metadata.gz: f901dfae13328bb168e60cc72559ee2fd624f801456fee1628272c83ed402c4d00a83d3cac2ba978e6ce67c76853ca2dc5c1c0048b11ac34d74bb2b18bc3b974
7
+ data.tar.gz: '086eb84edef491f27c254cb09ee5bce9ec07bcec46f79b2ca65404041e67bfccd877e30e92e6393ca2117c353ec71e8c632c50615c71e481e89c30c071934dd5'
data/CHANGELOG.md CHANGED
@@ -1,7 +1,41 @@
1
+ ## 5.0.2 (2022-03-03)
2
+
3
+ - Fixed index name for inherited models
4
+
5
+ ## 5.0.1 (2022-02-27)
6
+
7
+ - Prefer `mode: :async` over `async: true` for full reindex
8
+ - Fixed instance method overriding with concerns
9
+
10
+ ## 5.0.0 (2022-02-21)
11
+
12
+ - Searches now use lazy loading (similar to Active Record)
13
+ - Added `unscope` option to better support working with default scopes
14
+ - Added support for `:async` and `:queue` modes for `reindex` on relation
15
+ - Added basic protection from unfiltered parameters to `where` option
16
+ - Added `models` option to `similar` method
17
+ - Changed async full reindex to fetch ids instead of using ranges for numeric primary keys with Active Record
18
+ - Changed `searchkick_index_options` to return symbol keys (instead of mix of strings and symbols)
19
+ - Changed non-anchored regular expressions to match expected results (previously warned)
20
+ - Changed record reindex to return `true` to match model and relation reindex
21
+ - Updated async reindex job to call `search_import` for nested associations
22
+ - Fixed removing records when `should_index?` is `false` when `reindex` called on relation
23
+ - Fixed issue with `merge_mappings` for fields that use `searchkick` options
24
+ - Raise error when `search` called on relations
25
+ - Raise `ArgumentError` (instead of warning) for invalid regular expression modifiers
26
+ - Raise `ArgumentError` instead of `RuntimeError` for unknown operators
27
+ - Removed mapping of `id` to `_id` with `order` option (not supported in Elasticsearch 8)
28
+ - Removed `wordnet` option (no longer worked)
29
+ - Removed dependency on `elasticsearch` gem (can use `elasticsearch` or `opensearch-ruby`)
30
+ - Dropped support for Elasticsearch 6
31
+ - Dropped support for Ruby < 2.6 and Active Record < 5.2
32
+ - Dropped support for NoBrainer and Cequel
33
+ - Dropped support for `faraday_middleware-aws-signers-v4` (use `faraday_middleware-aws-sigv4` instead)
34
+
1
35
  ## 4.6.3 (2021-11-19)
2
36
 
3
37
  - Added support for reloadable synonyms for OpenSearch
4
- - Added experimental support for `opensearch` gem
38
+ - Added experimental support for `opensearch-ruby` gem
5
39
  - Removed `elasticsearch-xpack` dependency for reloadable synonyms
6
40
 
7
41
  ## 4.6.2 (2021-11-15)