chewy 8.3.0 → 8.3.1

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: 34d773f10bf67d60eca51ff91a6d668186eea74515bb5b31a5fd5ce814dac3c7
4
- data.tar.gz: 334c6e92185369170b9f4d534029b69c218bb3c0cabfe6e4c11fd79268c19587
3
+ metadata.gz: 810cfb80d064f5c95c437069ca5bed0813f7d443c1e0b229b8454b740f915028
4
+ data.tar.gz: 6966b7c2cc643031a5194882924bb590d07196bd3e64e3fd885ea6f50a5919ee
5
5
  SHA512:
6
- metadata.gz: 24bde735bcfc4f1bfec8b146cdcc5024d049e1405ccfbbae5e6f57f53a89aa9a6951063b00251a2f87fafac3632e1640fddc64038c7337e9147a0b9d6740f984
7
- data.tar.gz: d2d84b1d2d3b07bde52699dfc54ed3b9ac8b9b71c5d79ca204851abab06bf53a41f0591ded6cdab59be5bf87522374dc10ff01d180891bcf81d73d33b009e180
6
+ metadata.gz: ab138cd69c7e7207cae2e505e7cbf7f8e70b8577a98214d9e23cfff3b9d0b5578de022012b3f35790a6fced795b2974560684ef82590d3947acba0306b1e6151
7
+ data.tar.gz: f571e4199f796015d2257c21451456085ca3ccb78ca868e2a26f3f636c2f90f0b2ac478bef2d558d03c45bac1e95af185caa08a2ea5e240bc8608fed0cffc4f6
data/CHANGELOG.md CHANGED
@@ -8,6 +8,16 @@
8
8
 
9
9
  ### Changes
10
10
 
11
+ ## 8.3.0 (2026-06-05)
12
+
13
+ ### New Features
14
+
15
+ ### Bug Fixes
16
+
17
+ * [#1037](https://github.com/toptal/chewy/pull/1037): `#scroll_batches` now clears the scroll context opened for an empty result. The `_scroll_id` was only captured while iterating batches, so a zero-hit scope (which still opens a context on the initial request) leaked it until the scroll keepalive expired, contributing to `search.max_open_scroll_context` exhaustion.
18
+
19
+ ### Changes
20
+
11
21
  ## 8.3.0 (2026-06-03)
12
22
 
13
23
  ### New Features
@@ -35,7 +35,7 @@ module Chewy
35
35
 
36
36
  total_batches += 1 if last_batch_size != 0
37
37
 
38
- scroll_id = nil
38
+ scroll_id = result['_scroll_id']
39
39
 
40
40
  total_batches.times do |batch_counter|
41
41
  last_run = total_batches - 1 == batch_counter
data/lib/chewy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Chewy
2
- VERSION = '8.3.0'.freeze
2
+ VERSION = '8.3.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chewy
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.3.0
4
+ version: 8.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toptal, LLC