Skip to content

Commit 9029b5b

Browse files
authored
v8.4.0 is released (#1040)
* Duplicate sidekiq gem entry is removed Declared in both Gemfile and gemfiles/base.gemfile, triggering Bundler's "listed more than once" warning. * Explicit nil check in bulk builder field guard, rather than safe navigation * v8.4.0 is released
1 parent ef4ec3d commit 9029b5b

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
### New Features
66

7+
### Bug Fixes
8+
9+
### Changes
10+
11+
## 8.4.0 (2026-06-17)
12+
13+
### New Features
14+
715
* [#1036](https://github.com/toptal/chewy/issues/1036): Add `Chewy.close_client` and `Chewy::ElasticClient#close` to explicitly close connections to Elasticsearch, avoiding file descriptor leaks in long-lived multi-threaded processes (e.g. Sidekiq). ([@AlfonsoUceda][])
816

917
### Bug Fixes
@@ -12,7 +20,7 @@
1220

1321
### Changes
1422

15-
## 8.3.0 (2026-06-05)
23+
## 8.3.1 (2026-06-05)
1624

1725
### New Features
1826

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ source 'https://rubygems.org', cooldown: 7
33
gem 'activerecord'
44

55
gem 'activejob', require: false
6-
gem 'sidekiq', require: false
76

87
gem 'ruby-progressbar', require: false
98

lib/chewy/index/import/bulk_builder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def crutches_for_index
4747
end
4848

4949
def index_entry(object)
50-
return [] if @fields&.empty?
50+
return [] if @fields && @fields.empty?
5151

5252
entry = {}
5353
entry[:_id] = index_object_ids[object] if index_object_ids[object]

lib/chewy/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Chewy
2-
VERSION = '8.3.1'.freeze
2+
VERSION = '8.4.0'.freeze
33
end

0 commit comments

Comments
 (0)