algolia 3.36.1 → 3.37.0

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: 1e508e18e233030b8a952305e808430e77ffae2806df0b98d74f1bb1ca5e9206
4
- data.tar.gz: c774b7ffe0a502df62406e74556375f3200ff5aa79f24ff65b16a708d42eb863
3
+ metadata.gz: c897e9c9e8d22e1fe88226157ba3aedc2d591eb491f026957d5b181167733f5f
4
+ data.tar.gz: 136ae22c63b6a2f9cd5a8494cdb8846f49c3a74a3bbaaf2c65fe4c255307c5a2
5
5
  SHA512:
6
- metadata.gz: 182001191af6c15e4d4aa88ad175cde7d8e90d16b83209fb86401b33ef362a159437ce5aebb995c7a9cf70b3772469e87893dc773ceb503b0b2497655be6c656
7
- data.tar.gz: e5bd0ee1d22fcecbd075e2803cc66781664affe17891800588baa4665d15b61b446dc46343ed830eca38dc6f1864a9ec17cccdb4e4c2dc3713f7273e753b4f21
6
+ metadata.gz: b59cd8b93347edeb848e575bd63c4d2a79fccd2fb73265bb17fd3eb03133632d3ec710068761174968497de1be1d5d27109a12e5f2c509236ffff459d88d0ea9
7
+ data.tar.gz: 65503f33ab952ca51d78a1faf4888e733c85da2d123b7e3740d047e61acb098fabc7d43bec7fab061f39dff3fb210b29b589aab0e89d310281a4a152a62790f4
@@ -21,9 +21,9 @@ jobs:
21
21
  - name: Install Ruby
22
22
  uses: ruby/setup-ruby@v1
23
23
  with:
24
- ruby-version: 4.0.1
24
+ ruby-version: 4.0.2
25
25
  bundler-cache: true
26
26
 
27
- - uses: rubygems/release-gem@1c162a739e8b4cb21a676e97b087e8268d8fc40b
27
+ - uses: rubygems/release-gem@e9a6361a0b14562539327c2a02373edc56dd3169
28
28
  with:
29
29
  await-release: false
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [3.37.0](https://github.com/algolia/algoliasearch-client-ruby/compare/3.36.1...3.37.0)
2
+
3
+ - [a196c9cf73](https://github.com/algolia/api-clients-automation/commit/a196c9cf73) feat(clients): response decompression ([#6095](https://github.com/algolia/api-clients-automation/pull/6095)) by [@eric-zaharia](https://github.com/eric-zaharia/)
4
+ - [600f157a13](https://github.com/algolia/api-clients-automation/commit/600f157a13) fix(specs): remove query parameter that are not accepted by the Composition API ([#6128](https://github.com/algolia/api-clients-automation/pull/6128)) by [@ClaraMuller](https://github.com/ClaraMuller/)
5
+ - [90d96d575a](https://github.com/algolia/api-clients-automation/commit/90d96d575a) chore(deps): dependencies 2026-03-16 ([#6102](https://github.com/algolia/api-clients-automation/pull/6102)) by [@algolia-bot](https://github.com/algolia-bot/)
6
+
1
7
  ## [3.36.1](https://github.com/algolia/algoliasearch-client-ruby/compare/3.36.0...3.36.1)
2
8
 
3
9
  - [505136c9d](https://github.com/algolia/api-clients-automation/commit/505136c9d) fix(specs): add deprecated field `condition` in rule schemas ([#5983](https://github.com/algolia/api-clients-automation/pull/5983)) by [@MarioAlexandruDan](https://github.com/MarioAlexandruDan/)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- algolia (3.36.1)
4
+ algolia (3.37.0)
5
5
  base64 (>= 0.2.0, < 1)
6
6
  faraday (>= 1.0.1, < 3.0)
7
7
  faraday-net_http_persistent (>= 0.15, < 3)
@@ -21,7 +21,7 @@ GEM
21
21
  faraday-net_http_persistent (2.3.1)
22
22
  faraday (~> 2.5)
23
23
  net-http-persistent (>= 4.0.4, < 5)
24
- json (2.18.1)
24
+ json (2.19.2)
25
25
  logger (1.7.0)
26
26
  net-http (0.9.1)
27
27
  uri (>= 0.11.1)
@@ -20,9 +20,6 @@ module Algolia
20
20
  # Determine which plurals and synonyms should be considered an exact matches By default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching. For example - \"swimsuit\" and \"swimsuits\" are treated the same - \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)) - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches - `singleWordSynonym`. Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches - `multiWordsSynonym`. Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.
21
21
  attr_accessor :alternatives_as_exact
22
22
 
23
- # Whether this search will be included in Analytics.
24
- attr_accessor :analytics
25
-
26
23
  # Whether the best matching attribute should be determined by minimum proximity This setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting. If true, the best matching attribute is selected based on the minimum proximity of multiple matches. Otherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.
27
24
  attr_accessor :attribute_criteria_computed_by_min_proximity
28
25
 
@@ -38,9 +35,6 @@ module Algolia
38
35
  # Whether to include a `queryID` attribute in the response The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).
39
36
  attr_accessor :click_analytics
40
37
 
41
- # Whether to split compound words in the query into their building blocks For more information, see [Word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words). Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and Norwegian. Decompounding doesn't work for words with [non-spacing mark Unicode characters](https://www.charactercodes.net/category/non-spacing_mark). For example, `Gartenstühle` won't be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
42
- attr_accessor :decompound_query
43
-
44
38
  # Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes). Attribute names are case-sensitive This can be useful for attributes with long values, where the likelihood of an exact match is high, such as product descriptions. Turning off the Exact ranking criterion for these attributes favors exact matching on other attributes. This reduces the impact of individual attributes with a lot of content on ranking.
45
39
  attr_accessor :disable_exact_on_attributes
46
40
 
@@ -79,9 +73,6 @@ module Algolia
79
73
 
80
74
  attr_accessor :ignore_plurals
81
75
 
82
- # Maximum number of facet values to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
83
- attr_accessor :max_facet_hits
84
-
85
76
  # Minimum proximity score for two matching words This adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity) by equally scoring matches that are farther apart For example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.
86
77
  attr_accessor :min_proximity
87
78
 
@@ -145,13 +136,11 @@ module Algolia
145
136
  :advanced_syntax_features => :advancedSyntaxFeatures,
146
137
  :allow_typos_on_numeric_tokens => :allowTyposOnNumericTokens,
147
138
  :alternatives_as_exact => :alternativesAsExact,
148
- :analytics => :analytics,
149
139
  :attribute_criteria_computed_by_min_proximity => :attributeCriteriaComputedByMinProximity,
150
140
  :attributes_to_highlight => :attributesToHighlight,
151
141
  :attributes_to_retrieve => :attributesToRetrieve,
152
142
  :attributes_to_snippet => :attributesToSnippet,
153
143
  :click_analytics => :clickAnalytics,
154
- :decompound_query => :decompoundQuery,
155
144
  :disable_exact_on_attributes => :disableExactOnAttributes,
156
145
  :disable_typo_tolerance_on_attributes => :disableTypoToleranceOnAttributes,
157
146
  :distinct => :distinct,
@@ -166,7 +155,6 @@ module Algolia
166
155
  :highlight_post_tag => :highlightPostTag,
167
156
  :highlight_pre_tag => :highlightPreTag,
168
157
  :ignore_plurals => :ignorePlurals,
169
- :max_facet_hits => :maxFacetHits,
170
158
  :min_proximity => :minProximity,
171
159
  :min_word_sizefor1_typo => :minWordSizefor1Typo,
172
160
  :min_word_sizefor2_typos => :minWordSizefor2Typos,
@@ -198,13 +186,11 @@ module Algolia
198
186
  :advanced_syntax_features => :"Array<AdvancedSyntaxFeatures>",
199
187
  :allow_typos_on_numeric_tokens => :"Boolean",
200
188
  :alternatives_as_exact => :"Array<AlternativesAsExact>",
201
- :analytics => :"Boolean",
202
189
  :attribute_criteria_computed_by_min_proximity => :"Boolean",
203
190
  :attributes_to_highlight => :"Array<String>",
204
191
  :attributes_to_retrieve => :"Array<String>",
205
192
  :attributes_to_snippet => :"Array<String>",
206
193
  :click_analytics => :"Boolean",
207
- :decompound_query => :"Boolean",
208
194
  :disable_exact_on_attributes => :"Array<String>",
209
195
  :disable_typo_tolerance_on_attributes => :"Array<String>",
210
196
  :distinct => :"Distinct",
@@ -219,7 +205,6 @@ module Algolia
219
205
  :highlight_post_tag => :"String",
220
206
  :highlight_pre_tag => :"String",
221
207
  :ignore_plurals => :"IgnorePlurals",
222
- :max_facet_hits => :"Integer",
223
208
  :min_proximity => :"Integer",
224
209
  :min_word_sizefor1_typo => :"Integer",
225
210
  :min_word_sizefor2_typos => :"Integer",
@@ -296,10 +281,6 @@ module Algolia
296
281
  end
297
282
  end
298
283
 
299
- if attributes.key?(:analytics)
300
- self.analytics = attributes[:analytics]
301
- end
302
-
303
284
  if attributes.key?(:attribute_criteria_computed_by_min_proximity)
304
285
  self.attribute_criteria_computed_by_min_proximity = attributes[:attribute_criteria_computed_by_min_proximity]
305
286
  end
@@ -326,10 +307,6 @@ module Algolia
326
307
  self.click_analytics = attributes[:click_analytics]
327
308
  end
328
309
 
329
- if attributes.key?(:decompound_query)
330
- self.decompound_query = attributes[:decompound_query]
331
- end
332
-
333
310
  if attributes.key?(:disable_exact_on_attributes)
334
311
  if (value = attributes[:disable_exact_on_attributes]).is_a?(Array)
335
312
  self.disable_exact_on_attributes = value
@@ -390,10 +367,6 @@ module Algolia
390
367
  self.ignore_plurals = attributes[:ignore_plurals]
391
368
  end
392
369
 
393
- if attributes.key?(:max_facet_hits)
394
- self.max_facet_hits = attributes[:max_facet_hits]
395
- end
396
-
397
370
  if attributes.key?(:min_proximity)
398
371
  self.min_proximity = attributes[:min_proximity]
399
372
  end
@@ -498,13 +471,11 @@ module Algolia
498
471
  advanced_syntax_features == other.advanced_syntax_features &&
499
472
  allow_typos_on_numeric_tokens == other.allow_typos_on_numeric_tokens &&
500
473
  alternatives_as_exact == other.alternatives_as_exact &&
501
- analytics == other.analytics &&
502
474
  attribute_criteria_computed_by_min_proximity == other.attribute_criteria_computed_by_min_proximity &&
503
475
  attributes_to_highlight == other.attributes_to_highlight &&
504
476
  attributes_to_retrieve == other.attributes_to_retrieve &&
505
477
  attributes_to_snippet == other.attributes_to_snippet &&
506
478
  click_analytics == other.click_analytics &&
507
- decompound_query == other.decompound_query &&
508
479
  disable_exact_on_attributes == other.disable_exact_on_attributes &&
509
480
  disable_typo_tolerance_on_attributes == other.disable_typo_tolerance_on_attributes &&
510
481
  distinct == other.distinct &&
@@ -519,7 +490,6 @@ module Algolia
519
490
  highlight_post_tag == other.highlight_post_tag &&
520
491
  highlight_pre_tag == other.highlight_pre_tag &&
521
492
  ignore_plurals == other.ignore_plurals &&
522
- max_facet_hits == other.max_facet_hits &&
523
493
  min_proximity == other.min_proximity &&
524
494
  min_word_sizefor1_typo == other.min_word_sizefor1_typo &&
525
495
  min_word_sizefor2_typos == other.min_word_sizefor2_typos &&
@@ -557,13 +527,11 @@ module Algolia
557
527
  advanced_syntax_features,
558
528
  allow_typos_on_numeric_tokens,
559
529
  alternatives_as_exact,
560
- analytics,
561
530
  attribute_criteria_computed_by_min_proximity,
562
531
  attributes_to_highlight,
563
532
  attributes_to_retrieve,
564
533
  attributes_to_snippet,
565
534
  click_analytics,
566
- decompound_query,
567
535
  disable_exact_on_attributes,
568
536
  disable_typo_tolerance_on_attributes,
569
537
  distinct,
@@ -578,7 +546,6 @@ module Algolia
578
546
  highlight_post_tag,
579
547
  highlight_pre_tag,
580
548
  ignore_plurals,
581
- max_facet_hits,
582
549
  min_proximity,
583
550
  min_word_sizefor1_typo,
584
551
  min_word_sizefor2_typos,
@@ -20,9 +20,6 @@ module Algolia
20
20
  # Determine which plurals and synonyms should be considered an exact matches By default, Algolia treats singular and plural forms of a word, and single-word synonyms, as [exact](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#exact) matches when searching. For example - \"swimsuit\" and \"swimsuits\" are treated the same - \"swimsuit\" and \"swimwear\" are treated the same (if they are [synonyms](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/#regular-synonyms)) - `ignorePlurals`. Plurals and similar declensions added by the `ignorePlurals` setting are considered exact matches - `singleWordSynonym`. Single-word synonyms, such as \"NY\" = \"NYC\", are considered exact matches - `multiWordsSynonym`. Multi-word synonyms, such as \"NY\" = \"New York\", are considered exact matches.
21
21
  attr_accessor :alternatives_as_exact
22
22
 
23
- # Whether this search will be included in Analytics.
24
- attr_accessor :analytics
25
-
26
23
  # Whether the best matching attribute should be determined by minimum proximity This setting only affects ranking if the Attribute ranking criterion comes before Proximity in the `ranking` setting. If true, the best matching attribute is selected based on the minimum proximity of multiple matches. Otherwise, the best matching attribute is determined by the order in the `searchableAttributes` setting.
27
24
  attr_accessor :attribute_criteria_computed_by_min_proximity
28
25
 
@@ -38,9 +35,6 @@ module Algolia
38
35
  # Whether to include a `queryID` attribute in the response The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).
39
36
  attr_accessor :click_analytics
40
37
 
41
- # Whether to split compound words in the query into their building blocks For more information, see [Word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words). Word segmentation is supported for these languages: German, Dutch, Finnish, Swedish, and Norwegian. Decompounding doesn't work for words with [non-spacing mark Unicode characters](https://www.charactercodes.net/category/non-spacing_mark). For example, `Gartenstühle` won't be decompounded if the `ü` consists of `u` (U+0075) and `◌̈` (U+0308).
42
- attr_accessor :decompound_query
43
-
44
38
  # Searchable attributes for which you want to [turn off the Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes). Attribute names are case-sensitive This can be useful for attributes with long values, where the likelihood of an exact match is high, such as product descriptions. Turning off the Exact ranking criterion for these attributes favors exact matching on other attributes. This reduces the impact of individual attributes with a lot of content on ranking.
45
39
  attr_accessor :disable_exact_on_attributes
46
40
 
@@ -79,9 +73,6 @@ module Algolia
79
73
 
80
74
  attr_accessor :ignore_plurals
81
75
 
82
- # Maximum number of facet values to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).
83
- attr_accessor :max_facet_hits
84
-
85
76
  # Minimum proximity score for two matching words This adjusts the [Proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity) by equally scoring matches that are farther apart For example, if `minProximity` is 2, neighboring matches and matches with one word between them would have the same score.
86
77
  attr_accessor :min_proximity
87
78
 
@@ -165,13 +156,11 @@ module Algolia
165
156
  :advanced_syntax_features => :advancedSyntaxFeatures,
166
157
  :allow_typos_on_numeric_tokens => :allowTyposOnNumericTokens,
167
158
  :alternatives_as_exact => :alternativesAsExact,
168
- :analytics => :analytics,
169
159
  :attribute_criteria_computed_by_min_proximity => :attributeCriteriaComputedByMinProximity,
170
160
  :attributes_to_highlight => :attributesToHighlight,
171
161
  :attributes_to_retrieve => :attributesToRetrieve,
172
162
  :attributes_to_snippet => :attributesToSnippet,
173
163
  :click_analytics => :clickAnalytics,
174
- :decompound_query => :decompoundQuery,
175
164
  :disable_exact_on_attributes => :disableExactOnAttributes,
176
165
  :disable_typo_tolerance_on_attributes => :disableTypoToleranceOnAttributes,
177
166
  :distinct => :distinct,
@@ -186,7 +175,6 @@ module Algolia
186
175
  :highlight_post_tag => :highlightPostTag,
187
176
  :highlight_pre_tag => :highlightPreTag,
188
177
  :ignore_plurals => :ignorePlurals,
189
- :max_facet_hits => :maxFacetHits,
190
178
  :min_proximity => :minProximity,
191
179
  :min_word_sizefor1_typo => :minWordSizefor1Typo,
192
180
  :min_word_sizefor2_typos => :minWordSizefor2Typos,
@@ -225,13 +213,11 @@ module Algolia
225
213
  :advanced_syntax_features => :"Array<AdvancedSyntaxFeatures>",
226
214
  :allow_typos_on_numeric_tokens => :"Boolean",
227
215
  :alternatives_as_exact => :"Array<AlternativesAsExact>",
228
- :analytics => :"Boolean",
229
216
  :attribute_criteria_computed_by_min_proximity => :"Boolean",
230
217
  :attributes_to_highlight => :"Array<String>",
231
218
  :attributes_to_retrieve => :"Array<String>",
232
219
  :attributes_to_snippet => :"Array<String>",
233
220
  :click_analytics => :"Boolean",
234
- :decompound_query => :"Boolean",
235
221
  :disable_exact_on_attributes => :"Array<String>",
236
222
  :disable_typo_tolerance_on_attributes => :"Array<String>",
237
223
  :distinct => :"Distinct",
@@ -246,7 +232,6 @@ module Algolia
246
232
  :highlight_post_tag => :"String",
247
233
  :highlight_pre_tag => :"String",
248
234
  :ignore_plurals => :"IgnorePlurals",
249
- :max_facet_hits => :"Integer",
250
235
  :min_proximity => :"Integer",
251
236
  :min_word_sizefor1_typo => :"Integer",
252
237
  :min_word_sizefor2_typos => :"Integer",
@@ -337,10 +322,6 @@ module Algolia
337
322
  end
338
323
  end
339
324
 
340
- if attributes.key?(:analytics)
341
- self.analytics = attributes[:analytics]
342
- end
343
-
344
325
  if attributes.key?(:attribute_criteria_computed_by_min_proximity)
345
326
  self.attribute_criteria_computed_by_min_proximity = attributes[:attribute_criteria_computed_by_min_proximity]
346
327
  end
@@ -367,10 +348,6 @@ module Algolia
367
348
  self.click_analytics = attributes[:click_analytics]
368
349
  end
369
350
 
370
- if attributes.key?(:decompound_query)
371
- self.decompound_query = attributes[:decompound_query]
372
- end
373
-
374
351
  if attributes.key?(:disable_exact_on_attributes)
375
352
  if (value = attributes[:disable_exact_on_attributes]).is_a?(Array)
376
353
  self.disable_exact_on_attributes = value
@@ -431,10 +408,6 @@ module Algolia
431
408
  self.ignore_plurals = attributes[:ignore_plurals]
432
409
  end
433
410
 
434
- if attributes.key?(:max_facet_hits)
435
- self.max_facet_hits = attributes[:max_facet_hits]
436
- end
437
-
438
411
  if attributes.key?(:min_proximity)
439
412
  self.min_proximity = attributes[:min_proximity]
440
413
  end
@@ -569,13 +542,11 @@ module Algolia
569
542
  advanced_syntax_features == other.advanced_syntax_features &&
570
543
  allow_typos_on_numeric_tokens == other.allow_typos_on_numeric_tokens &&
571
544
  alternatives_as_exact == other.alternatives_as_exact &&
572
- analytics == other.analytics &&
573
545
  attribute_criteria_computed_by_min_proximity == other.attribute_criteria_computed_by_min_proximity &&
574
546
  attributes_to_highlight == other.attributes_to_highlight &&
575
547
  attributes_to_retrieve == other.attributes_to_retrieve &&
576
548
  attributes_to_snippet == other.attributes_to_snippet &&
577
549
  click_analytics == other.click_analytics &&
578
- decompound_query == other.decompound_query &&
579
550
  disable_exact_on_attributes == other.disable_exact_on_attributes &&
580
551
  disable_typo_tolerance_on_attributes == other.disable_typo_tolerance_on_attributes &&
581
552
  distinct == other.distinct &&
@@ -590,7 +561,6 @@ module Algolia
590
561
  highlight_post_tag == other.highlight_post_tag &&
591
562
  highlight_pre_tag == other.highlight_pre_tag &&
592
563
  ignore_plurals == other.ignore_plurals &&
593
- max_facet_hits == other.max_facet_hits &&
594
564
  min_proximity == other.min_proximity &&
595
565
  min_word_sizefor1_typo == other.min_word_sizefor1_typo &&
596
566
  min_word_sizefor2_typos == other.min_word_sizefor2_typos &&
@@ -635,13 +605,11 @@ module Algolia
635
605
  advanced_syntax_features,
636
606
  allow_typos_on_numeric_tokens,
637
607
  alternatives_as_exact,
638
- analytics,
639
608
  attribute_criteria_computed_by_min_proximity,
640
609
  attributes_to_highlight,
641
610
  attributes_to_retrieve,
642
611
  attributes_to_snippet,
643
612
  click_analytics,
644
- decompound_query,
645
613
  disable_exact_on_attributes,
646
614
  disable_typo_tolerance_on_attributes,
647
615
  distinct,
@@ -656,7 +624,6 @@ module Algolia
656
624
  highlight_post_tag,
657
625
  highlight_pre_tag,
658
626
  ignore_plurals,
659
- max_facet_hits,
660
627
  min_proximity,
661
628
  min_word_sizefor1_typo,
662
629
  min_word_sizefor2_typos,
@@ -136,7 +136,6 @@ module Algolia
136
136
  def generate_header_params(body, request_options)
137
137
  header_params = request_options.header_params.transform_keys(&:downcase)
138
138
  header_params = @config.header_params.merge(header_params)
139
- header_params["accept-encoding"] = "gzip" if request_options.compression_type == "gzip"
140
139
  if request_options.compression_type == "gzip" && body.is_a?(String) && !body.to_s.strip.empty?
141
140
  header_params["content-encoding"] = "gzip"
142
141
  end
@@ -3,5 +3,5 @@
3
3
  # Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
4
4
 
5
5
  module Algolia
6
- VERSION = "3.36.1"
6
+ VERSION = "3.37.0"
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: algolia
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.36.1
4
+ version: 3.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - https://alg.li/support
@@ -867,7 +867,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
867
867
  - !ruby/object:Gem::Version
868
868
  version: '0'
869
869
  requirements: []
870
- rubygems_version: 4.0.3
870
+ rubygems_version: 4.0.6
871
871
  specification_version: 4
872
872
  summary: A simple Ruby client for the algolia.com REST API
873
873
  test_files: []