@featurevisor/sdk 1.27.5 → 1.28.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.28.0](https://github.com/featurevisor/featurevisor/compare/v1.27.6...v1.28.0) (2025-01-21)
7
+
8
+
9
+ ### Features
10
+
11
+ * datafile schema v2 ([#334](https://github.com/featurevisor/featurevisor/issues/334)) ([ee91c78](https://github.com/featurevisor/featurevisor/commit/ee91c781ad8e3347c828cea63279f5b9931a24e7))
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.27.6](https://github.com/featurevisor/featurevisor/compare/v1.27.5...v1.27.6) (2025-01-20)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * in operator with non-existent context value ([#335](https://github.com/featurevisor/featurevisor/issues/335)) ([08f6f38](https://github.com/featurevisor/featurevisor/commit/08f6f38c252940ac010148937af9e93c2b5c3557))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [1.27.5](https://github.com/featurevisor/featurevisor/compare/v1.27.4...v1.27.5) (2024-12-21)
7
29
 
8
30
  **Note:** Version bump only for package @featurevisor/sdk
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2024 Fahad Heylaal (https://fahad19.com)
3
+ Copyright (c) 2025 Fahad Heylaal (https://fahad19.com)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1734809187986" clover="3.2.0">
3
- <project timestamp="1734809187987" name="All files">
4
- <metrics statements="620" coveredstatements="570" conditionals="327" coveredconditionals="281" methods="99" coveredmethods="93" elements="1046" coveredelements="944" complexity="0" loc="620" ncloc="620" packages="1" files="8" classes="8"/>
2
+ <coverage generated="1737485998807" clover="3.2.0">
3
+ <project timestamp="1737485998808" name="All files">
4
+ <metrics statements="635" coveredstatements="576" conditionals="338" coveredconditionals="287" methods="99" coveredmethods="93" elements="1072" coveredelements="956" complexity="0" loc="635" ncloc="635" packages="1" files="8" classes="8"/>
5
5
  <file name="bucket.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.ts">
6
6
  <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
7
7
  <line num="1" count="2" type="stmt"/>
@@ -14,7 +14,7 @@
14
14
  <line num="12" count="105" type="stmt"/>
15
15
  </file>
16
16
  <file name="conditions.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/conditions.ts">
17
- <metrics statements="67" coveredstatements="63" conditionals="63" coveredconditionals="62" methods="6" coveredmethods="6"/>
17
+ <metrics statements="67" coveredstatements="63" conditionals="66" coveredconditionals="64" methods="6" coveredmethods="6"/>
18
18
  <line num="1" count="3" type="stmt"/>
19
19
  <line num="7" count="3" type="stmt"/>
20
20
  <line num="8" count="414" type="stmt"/>
@@ -28,87 +28,102 @@
28
28
  <line num="20" count="8" type="cond" truecount="1" falsecount="1"/>
29
29
  <line num="22" count="8" type="cond" truecount="2" falsecount="0"/>
30
30
  <line num="25" count="45" type="cond" truecount="2" falsecount="0"/>
31
- <line num="27" count="8" type="stmt"/>
32
- <line num="29" count="8" type="cond" truecount="2" falsecount="0"/>
33
- <line num="30" count="4" type="stmt"/>
34
- <line num="31" count="4" type="cond" truecount="1" falsecount="0"/>
35
- <line num="32" count="4" type="stmt"/>
36
- <line num="34" count="37" type="cond" truecount="4" falsecount="0"/>
37
- <line num="36" count="25" type="stmt"/>
38
- <line num="38" count="25" type="cond" truecount="2" falsecount="0"/>
39
- <line num="39" count="3" type="stmt"/>
40
- <line num="40" count="22" type="cond" truecount="2" falsecount="0"/>
41
- <line num="41" count="3" type="stmt"/>
42
- <line num="42" count="19" type="cond" truecount="2" falsecount="0"/>
43
- <line num="43" count="3" type="stmt"/>
44
- <line num="44" count="16" type="cond" truecount="2" falsecount="0"/>
45
- <line num="45" count="3" type="stmt"/>
46
- <line num="46" count="13" type="cond" truecount="2" falsecount="0"/>
47
- <line num="47" count="2" type="stmt"/>
48
- <line num="48" count="11" type="cond" truecount="2" falsecount="0"/>
49
- <line num="49" count="2" type="stmt"/>
50
- <line num="50" count="9" type="cond" truecount="2" falsecount="0"/>
51
- <line num="51" count="2" type="stmt"/>
52
- <line num="52" count="7" type="cond" truecount="2" falsecount="0"/>
53
- <line num="53" count="3" type="stmt"/>
54
- <line num="54" count="4" type="cond" truecount="2" falsecount="0"/>
55
- <line num="55" count="2" type="stmt"/>
56
- <line num="56" count="2" type="cond" truecount="1" falsecount="0"/>
57
- <line num="57" count="2" type="stmt"/>
58
- <line num="59" count="12" type="cond" truecount="3" falsecount="0"/>
59
- <line num="61" count="12" type="stmt"/>
60
- <line num="63" count="12" type="cond" truecount="2" falsecount="0"/>
61
- <line num="64" count="2" type="stmt"/>
62
- <line num="65" count="10" type="cond" truecount="2" falsecount="0"/>
63
- <line num="66" count="4" type="stmt"/>
64
- <line num="67" count="6" type="cond" truecount="2" falsecount="0"/>
65
- <line num="68" count="2" type="stmt"/>
66
- <line num="69" count="4" type="cond" truecount="1" falsecount="0"/>
67
- <line num="70" count="4" type="stmt"/>
68
- <line num="74" count="0" type="stmt"/>
69
- <line num="77" count="3" type="stmt"/>
70
- <line num="82" count="842" type="cond" truecount="1" falsecount="0"/>
71
- <line num="83" count="414" type="stmt"/>
72
- <line num="84" count="414" type="stmt"/>
73
- <line num="86" count="0" type="stmt"/>
74
- <line num="94" count="0" type="stmt"/>
75
- <line num="98" count="428" type="cond" truecount="3" falsecount="0"/>
76
- <line num="99" count="37" type="stmt"/>
77
- <line num="102" count="405" type="cond" truecount="3" falsecount="0"/>
78
- <line num="103" count="38" type="stmt"/>
79
- <line num="106" count="383" type="cond" truecount="3" falsecount="0"/>
80
- <line num="107" count="6" type="stmt"/>
81
- <line num="109" count="9" type="stmt"/>
82
- <line num="119" count="377" type="cond" truecount="1" falsecount="0"/>
83
- <line num="120" count="380" type="stmt"/>
84
- <line num="123" count="0" type="stmt"/>
31
+ <line num="30" count="8" type="stmt"/>
32
+ <line num="32" count="8" type="cond" truecount="2" falsecount="0"/>
33
+ <line num="33" count="4" type="stmt"/>
34
+ <line num="34" count="4" type="cond" truecount="1" falsecount="0"/>
35
+ <line num="35" count="4" type="stmt"/>
36
+ <line num="37" count="37" type="cond" truecount="4" falsecount="0"/>
37
+ <line num="39" count="25" type="stmt"/>
38
+ <line num="41" count="25" type="cond" truecount="2" falsecount="0"/>
39
+ <line num="42" count="3" type="stmt"/>
40
+ <line num="43" count="22" type="cond" truecount="2" falsecount="0"/>
41
+ <line num="44" count="3" type="stmt"/>
42
+ <line num="45" count="19" type="cond" truecount="2" falsecount="0"/>
43
+ <line num="46" count="3" type="stmt"/>
44
+ <line num="47" count="16" type="cond" truecount="2" falsecount="0"/>
45
+ <line num="48" count="3" type="stmt"/>
46
+ <line num="49" count="13" type="cond" truecount="2" falsecount="0"/>
47
+ <line num="50" count="2" type="stmt"/>
48
+ <line num="51" count="11" type="cond" truecount="2" falsecount="0"/>
49
+ <line num="52" count="2" type="stmt"/>
50
+ <line num="53" count="9" type="cond" truecount="2" falsecount="0"/>
51
+ <line num="54" count="2" type="stmt"/>
52
+ <line num="55" count="7" type="cond" truecount="2" falsecount="0"/>
53
+ <line num="56" count="3" type="stmt"/>
54
+ <line num="57" count="4" type="cond" truecount="2" falsecount="0"/>
55
+ <line num="58" count="2" type="stmt"/>
56
+ <line num="59" count="2" type="cond" truecount="1" falsecount="0"/>
57
+ <line num="60" count="2" type="stmt"/>
58
+ <line num="62" count="12" type="cond" truecount="3" falsecount="0"/>
59
+ <line num="64" count="12" type="stmt"/>
60
+ <line num="66" count="12" type="cond" truecount="2" falsecount="0"/>
61
+ <line num="67" count="2" type="stmt"/>
62
+ <line num="68" count="10" type="cond" truecount="2" falsecount="0"/>
63
+ <line num="69" count="4" type="stmt"/>
64
+ <line num="70" count="6" type="cond" truecount="2" falsecount="0"/>
65
+ <line num="71" count="2" type="stmt"/>
66
+ <line num="72" count="4" type="cond" truecount="1" falsecount="0"/>
67
+ <line num="73" count="4" type="stmt"/>
68
+ <line num="77" count="0" type="stmt"/>
69
+ <line num="80" count="3" type="stmt"/>
70
+ <line num="85" count="842" type="cond" truecount="1" falsecount="0"/>
71
+ <line num="86" count="414" type="stmt"/>
72
+ <line num="87" count="414" type="stmt"/>
73
+ <line num="89" count="0" type="stmt"/>
74
+ <line num="97" count="0" type="stmt"/>
75
+ <line num="101" count="428" type="cond" truecount="3" falsecount="0"/>
76
+ <line num="102" count="37" type="stmt"/>
77
+ <line num="105" count="405" type="cond" truecount="3" falsecount="0"/>
78
+ <line num="106" count="38" type="stmt"/>
79
+ <line num="109" count="383" type="cond" truecount="3" falsecount="0"/>
80
+ <line num="110" count="6" type="stmt"/>
81
+ <line num="112" count="9" type="stmt"/>
82
+ <line num="122" count="377" type="cond" truecount="1" falsecount="0"/>
83
+ <line num="123" count="380" type="stmt"/>
84
+ <line num="126" count="0" type="stmt"/>
85
85
  </file>
86
86
  <file name="datafileReader.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/datafileReader.ts">
87
- <metrics statements="24" coveredstatements="23" conditionals="5" coveredconditionals="5" methods="11" coveredmethods="11"/>
88
- <line num="11" count="3" type="stmt"/>
89
- <line num="12" count="135" type="cond" truecount="3" falsecount="0"/>
90
- <line num="13" count="9" type="stmt"/>
87
+ <metrics statements="39" coveredstatements="29" conditionals="13" coveredconditionals="9" methods="11" coveredmethods="11"/>
88
+ <line num="12" count="3" type="stmt"/>
89
+ <line num="13" count="135" type="cond" truecount="3" falsecount="0"/>
91
90
  <line num="14" count="9" type="stmt"/>
92
- <line num="16" count="0" type="stmt"/>
93
- <line num="20" count="135" type="stmt"/>
94
- <line num="23" count="3" type="stmt"/>
95
- <line num="31" count="30" type="stmt"/>
96
- <line num="32" count="30" type="stmt"/>
97
- <line num="33" count="30" type="stmt"/>
98
- <line num="34" count="30" type="stmt"/>
99
- <line num="35" count="30" type="stmt"/>
100
- <line num="39" count="2" type="stmt"/>
101
- <line num="43" count="1" type="stmt"/>
102
- <line num="47" count="2" type="stmt"/>
103
- <line num="51" count="1" type="stmt"/>
104
- <line num="55" count="354" type="stmt"/>
105
- <line num="57" count="136" type="cond" truecount="1" falsecount="0"/>
106
- <line num="58" count="1" type="stmt"/>
107
- <line num="61" count="135" type="stmt"/>
108
- <line num="65" count="128" type="stmt"/>
109
- <line num="67" count="118" type="cond" truecount="1" falsecount="0"/>
110
- <line num="68" count="7" type="stmt"/>
111
- <line num="71" count="111" type="stmt"/>
91
+ <line num="15" count="9" type="stmt"/>
92
+ <line num="17" count="0" type="stmt"/>
93
+ <line num="21" count="135" type="stmt"/>
94
+ <line num="24" count="3" type="stmt"/>
95
+ <line num="39" count="30" type="stmt"/>
96
+ <line num="40" count="30" type="stmt"/>
97
+ <line num="42" count="30" type="cond" truecount="1" falsecount="1"/>
98
+ <line num="43" count="0" type="stmt"/>
99
+ <line num="45" count="0" type="stmt"/>
100
+ <line num="46" count="0" type="stmt"/>
101
+ <line num="47" count="0" type="stmt"/>
102
+ <line num="49" count="30" type="stmt"/>
103
+ <line num="51" count="30" type="stmt"/>
104
+ <line num="52" count="30" type="stmt"/>
105
+ <line num="53" count="30" type="stmt"/>
106
+ <line num="58" count="2" type="stmt"/>
107
+ <line num="62" count="1" type="stmt"/>
108
+ <line num="66" count="2" type="cond" truecount="1" falsecount="0"/>
109
+ <line num="67" count="2" type="stmt"/>
110
+ <line num="71" count="0" type="stmt"/>
111
+ <line num="73" count="0" type="stmt"/>
112
+ <line num="74" count="0" type="stmt"/>
113
+ <line num="77" count="0" type="stmt"/>
114
+ <line num="81" count="1" type="cond" truecount="0" falsecount="1"/>
115
+ <line num="82" count="0" type="stmt"/>
116
+ <line num="85" count="1" type="stmt"/>
117
+ <line num="90" count="136" type="cond" truecount="1" falsecount="1"/>
118
+ <line num="92" count="354" type="stmt"/>
119
+ <line num="94" count="136" type="cond" truecount="1" falsecount="0"/>
120
+ <line num="95" count="1" type="stmt"/>
121
+ <line num="98" count="135" type="stmt"/>
122
+ <line num="103" count="118" type="cond" truecount="1" falsecount="1"/>
123
+ <line num="105" count="128" type="stmt"/>
124
+ <line num="107" count="118" type="cond" truecount="1" falsecount="0"/>
125
+ <line num="108" count="7" type="stmt"/>
126
+ <line num="111" count="111" type="stmt"/>
112
127
  </file>
113
128
  <file name="emitter.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/emitter.ts">
114
129
  <metrics statements="18" coveredstatements="18" conditionals="6" coveredconditionals="6" methods="7" coveredmethods="7"/>