Skip to content

Commit ee3d107

Browse files
authored
Merge pull request #595 from splitio/master
update release
2 parents 58d0304 + 7cd64b1 commit ee3d107

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
CHANGES
22

3+
8.9.0 (Oct 8, 2025)
4+
- Added new configuration for Fallback Treatments, which allows setting a treatment value and optional config to be returned in place of "control", either globally or by flag. Read more in our docs.
5+
36
8.8.0 (Sep 26, 2025)
47
- Added a maximum size payload when posting unique keys telemetry in batches
58

lib/splitclient-rb/validators.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,12 @@ def valid_flag_sets(method, flag_sets)
5757
end
5858
without_nil = Array.new
5959
flag_sets.each { |flag_set|
60-
without_nil.push(flag_set) if !flag_set.nil?
61-
log_nil("flag set", method) if flag_set.nil?
60+
if !flag_set.nil?
61+
without_nil.push(flag_set)
62+
next
63+
end
64+
65+
log_nil("flag set", method)
6266
}
6367
if without_nil.length() == 0
6468
log_invalid_flag_set_type(method)

lib/splitclient-rb/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module SplitIoClient
2-
VERSION = '8.9.0-rc1'
2+
VERSION = '8.9.0'
33
end

spec/integrations/push_client_spec.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
expect(a_request(:get, 'https://sdk.split.io/api/splitChanges?s=1.3&since=-1&rbSince=-1')).to have_been_made.times(1)
141141
expect(a_request(:get, 'https://sdk.split.io/api/splitChanges?s=1.3&since=1585948850109&rbSince=-1')).to have_been_made.times(1)
142142
expect(a_request(:get, 'https://sdk.split.io/api/splitChanges?s=1.3&since=1585948850110&rbSince=-1')).to have_been_made.times(0)
143+
client.destroy
143144
end
144145
end
145146

@@ -177,6 +178,7 @@
177178
end
178179

179180
expect(treatment).to eq('off')
181+
client.destroy
180182
end
181183
end
182184

@@ -206,6 +208,7 @@
206208
sleep(2)
207209
expect(client.get_treatment('admin', 'bilal_split')).to eq('control')
208210
expect(client.get_treatment('admin', 'push_test')).to eq('after_fetch')
211+
client.destroy
209212
end
210213
end
211214

@@ -235,6 +238,7 @@
235238
sleep(2)
236239
expect(client.get_treatment('admin', 'bilal_split')).to eq('control')
237240
expect(client.get_treatment('admin', 'push_test')).to eq('after_fetch')
241+
client.destroy
238242
end
239243
end
240244

@@ -264,6 +268,7 @@
264268
sleep(2)
265269
expect(client.get_treatment('admin', 'bilal_split')).to eq('control')
266270
expect(client.get_treatment('admin', 'push_test')).to eq('after_fetch')
271+
client.destroy
267272
end
268273
end
269274
end

0 commit comments

Comments
 (0)