splitclient-rb 8.1.1.pre.rc2-java → 8.1.1.pre.rc3-java
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b7267b451ab9817944e3b73014b045ede7a2bab
|
4
|
+
data.tar.gz: 24c5e8ac0e02222b5e84d1fb881df06c4cd2d881
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96bff12734a1b1a01df634285f70a0ee044efb2d3a1cb8c1adc7eb077de61acff6bfcfc1ddb0e1a40ae8ccd83ae77c8377b8e658f69fdf0ccd872b5a7819bff1
|
7
|
+
data.tar.gz: 5e1a4903c97ae774073108938fa979442543d983165e8c708335eed3b124af6351407e26bdfd3cb21049d8f1b66aa97bae3576f3f407c81945188220df28a08c
|
data/CHANGES.txt
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
CHANGES
|
2
2
|
|
3
|
+
8.1.1 (Mar 17, 2023)
|
4
|
+
- Added retries with backoff when the sdk tries to connect to the Streaming service and it is not available.
|
5
|
+
- Updated the way that the sdk write mtks in redis.
|
6
|
+
- Fixed calculation of timeUntilReady in telemetry.
|
7
|
+
|
3
8
|
8.1.0 (Oct 5, 2022)
|
4
9
|
- Added a new impressions mode for the SDK called NONE , to be used in factory when there is no desire to capture impressions on an SDK factory to feed Split's analytics engine. Running NONE mode, the SDK will only capture unique keys evaluated for a particular feature flag instead of full blown impressions.
|
5
10
|
|
@@ -12,13 +12,9 @@ module SplitIoClient
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def record_uniques_key(uniques)
|
15
|
-
return if uniques.nil? || uniques
|
15
|
+
return if uniques.nil? || uniques.empty?
|
16
16
|
|
17
|
-
size = @adapter.
|
18
|
-
uniques.each do |key, value|
|
19
|
-
pipeline.rpush(unique_keys_key, { f: key, ks: value.to_a }.to_json)
|
20
|
-
end
|
21
|
-
end
|
17
|
+
size = @adapter.add_to_queue(unique_keys_key, uniques_formatter(uniques))
|
22
18
|
|
23
19
|
@adapter.expire(unique_keys_key, EXPIRE_SECONDS) if uniques.length == size.last
|
24
20
|
rescue StandardError => e
|
@@ -48,6 +44,18 @@ module SplitIoClient
|
|
48
44
|
@adapter.expire(impressions_count_key, EXPIRE_SECONDS) if impressions_count.size == hlen && (pipeline_result.sum - hlen) == total_count
|
49
45
|
end
|
50
46
|
|
47
|
+
def uniques_formatter(uniques)
|
48
|
+
to_return = []
|
49
|
+
uniques.each do |key, value|
|
50
|
+
to_return << {
|
51
|
+
f: key,
|
52
|
+
ks: value.to_a
|
53
|
+
}.to_json
|
54
|
+
end
|
55
|
+
|
56
|
+
to_return
|
57
|
+
end
|
58
|
+
|
51
59
|
def impressions_count_key
|
52
60
|
"#{@config.redis_namespace}.impressions.count"
|
53
61
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: splitclient-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.1.1.pre.
|
4
|
+
version: 8.1.1.pre.rc3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Split Software
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|