@featurevisor/sdk 1.32.0 → 1.33.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,17 @@
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.33.0](https://github.com/featurevisor/featurevisor/compare/v1.32.0...v1.33.0) (2025-03-08)
7
+
8
+
9
+ ### Features
10
+
11
+ * allow deprecating variables ([#345](https://github.com/featurevisor/featurevisor/issues/345)) ([cecbf5b](https://github.com/featurevisor/featurevisor/commit/cecbf5beb87d06d46c654c352910766f565e81b2))
12
+
13
+
14
+
15
+
16
+
6
17
  # [1.32.0](https://github.com/featurevisor/featurevisor/compare/v1.31.0...v1.32.0) (2025-02-26)
7
18
 
8
19
  **Note:** Version bump only for package @featurevisor/sdk
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1740602885273" clover="3.2.0">
3
- <project timestamp="1740602885273" name="All files">
4
- <metrics statements="633" coveredstatements="587" conditionals="348" coveredconditionals="302" methods="101" coveredmethods="94" elements="1082" coveredelements="983" complexity="0" loc="633" ncloc="633" packages="1" files="9" classes="9"/>
2
+ <coverage generated="1741469969529" clover="3.2.0">
3
+ <project timestamp="1741469969530" name="All files">
4
+ <metrics statements="635" coveredstatements="588" conditionals="349" coveredconditionals="302" methods="101" coveredmethods="94" elements="1085" coveredelements="984" complexity="0" loc="635" ncloc="635" packages="1" files="9" classes="9"/>
5
5
  <file name="bucket.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/bucket.ts">
6
6
  <metrics statements="44" coveredstatements="42" conditionals="17" coveredconditionals="15" methods="4" coveredmethods="4"/>
7
7
  <line num="1" count="2" type="stmt"/>
@@ -184,7 +184,7 @@
184
184
  <line num="50" count="8" type="stmt"/>
185
185
  </file>
186
186
  <file name="evaluate.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/evaluate.ts">
187
- <metrics statements="204" coveredstatements="196" conditionals="138" coveredconditionals="128" methods="10" coveredmethods="10"/>
187
+ <metrics statements="206" coveredstatements="197" conditionals="139" coveredconditionals="128" methods="10" coveredmethods="10"/>
188
188
  <line num="24" count="1" type="stmt"/>
189
189
  <line num="25" count="1" type="stmt"/>
190
190
  <line num="31" count="1" type="stmt"/>
@@ -264,131 +264,133 @@
264
264
  <line num="301" count="1" type="stmt"/>
265
265
  <line num="307" count="1" type="stmt"/>
266
266
  <line num="309" count="1" type="stmt"/>
267
- <line num="314" count="109" type="cond" truecount="4" falsecount="0"/>
268
- <line num="315" count="1" type="stmt"/>
269
- <line num="320" count="1" type="stmt"/>
267
+ <line num="312" count="23" type="cond" truecount="0" falsecount="1"/>
268
+ <line num="313" count="0" type="stmt"/>
269
+ <line num="321" count="109" type="cond" truecount="4" falsecount="0"/>
270
270
  <line num="322" count="1" type="stmt"/>
271
- <line num="325" count="108" type="cond" truecount="2" falsecount="0"/>
272
- <line num="330" count="108" type="stmt"/>
273
- <line num="332" count="108" type="cond" truecount="1" falsecount="0"/>
274
- <line num="334" count="14" type="cond" truecount="3" falsecount="0"/>
275
- <line num="335" count="9" type="stmt"/>
276
- <line num="343" count="9" type="stmt"/>
277
- <line num="345" count="9" type="stmt"/>
278
- <line num="349" count="5" type="cond" truecount="4" falsecount="0"/>
279
- <line num="350" count="1" type="stmt"/>
280
- <line num="352" count="1" type="cond" truecount="1" falsecount="0"/>
281
- <line num="353" count="1" type="stmt"/>
282
- <line num="361" count="1" type="stmt"/>
283
- <line num="363" count="1" type="stmt"/>
284
- <line num="368" count="4" type="cond" truecount="4" falsecount="0"/>
285
- <line num="369" count="1" type="stmt"/>
286
- <line num="379" count="1" type="stmt"/>
287
- <line num="381" count="1" type="stmt"/>
288
- <line num="388" count="97" type="cond" truecount="4" falsecount="0"/>
289
- <line num="389" count="4" type="stmt"/>
290
- <line num="393" count="4" type="cond" truecount="2" falsecount="0"/>
291
- <line num="394" count="2" type="stmt"/>
292
- <line num="396" count="2" type="stmt"/>
293
- <line num="397" count="2" type="stmt"/>
294
- <line num="400" count="4" type="stmt"/>
295
- <line num="413" count="4" type="stmt"/>
296
- <line num="415" count="4" type="cond" truecount="1" falsecount="0"/>
297
- <line num="416" count="1" type="stmt"/>
298
- <line num="419" count="3" type="cond" truecount="1" falsecount="0"/>
299
- <line num="420" count="2" type="stmt"/>
300
- <line num="436" count="2" type="cond" truecount="1" falsecount="1"/>
301
- <line num="437" count="0" type="stmt"/>
302
- <line num="438" count="2" type="cond" truecount="1" falsecount="0"/>
303
- <line num="439" count="2" type="stmt"/>
304
- <line num="442" count="2" type="stmt"/>
305
- <line num="445" count="1" type="stmt"/>
306
- <line num="448" count="4" type="cond" truecount="1" falsecount="0"/>
271
+ <line num="327" count="1" type="stmt"/>
272
+ <line num="329" count="1" type="stmt"/>
273
+ <line num="332" count="108" type="cond" truecount="2" falsecount="0"/>
274
+ <line num="337" count="108" type="stmt"/>
275
+ <line num="339" count="108" type="cond" truecount="1" falsecount="0"/>
276
+ <line num="341" count="14" type="cond" truecount="3" falsecount="0"/>
277
+ <line num="342" count="9" type="stmt"/>
278
+ <line num="350" count="9" type="stmt"/>
279
+ <line num="352" count="9" type="stmt"/>
280
+ <line num="356" count="5" type="cond" truecount="4" falsecount="0"/>
281
+ <line num="357" count="1" type="stmt"/>
282
+ <line num="359" count="1" type="cond" truecount="1" falsecount="0"/>
283
+ <line num="360" count="1" type="stmt"/>
284
+ <line num="368" count="1" type="stmt"/>
285
+ <line num="370" count="1" type="stmt"/>
286
+ <line num="375" count="4" type="cond" truecount="4" falsecount="0"/>
287
+ <line num="376" count="1" type="stmt"/>
288
+ <line num="386" count="1" type="stmt"/>
289
+ <line num="388" count="1" type="stmt"/>
290
+ <line num="395" count="97" type="cond" truecount="4" falsecount="0"/>
291
+ <line num="396" count="4" type="stmt"/>
292
+ <line num="400" count="4" type="cond" truecount="2" falsecount="0"/>
293
+ <line num="401" count="2" type="stmt"/>
294
+ <line num="403" count="2" type="stmt"/>
295
+ <line num="404" count="2" type="stmt"/>
296
+ <line num="407" count="4" type="stmt"/>
297
+ <line num="420" count="4" type="stmt"/>
298
+ <line num="422" count="4" type="cond" truecount="1" falsecount="0"/>
299
+ <line num="423" count="1" type="stmt"/>
300
+ <line num="426" count="3" type="cond" truecount="1" falsecount="0"/>
301
+ <line num="427" count="2" type="stmt"/>
302
+ <line num="443" count="2" type="cond" truecount="1" falsecount="1"/>
303
+ <line num="444" count="0" type="stmt"/>
304
+ <line num="445" count="2" type="cond" truecount="1" falsecount="0"/>
305
+ <line num="446" count="2" type="stmt"/>
307
306
  <line num="449" count="2" type="stmt"/>
307
+ <line num="452" count="1" type="stmt"/>
308
+ <line num="455" count="4" type="cond" truecount="1" falsecount="0"/>
308
309
  <line num="456" count="2" type="stmt"/>
309
- <line num="458" count="2" type="stmt"/>
310
- <line num="465" count="95" type="stmt"/>
311
- <line num="477" count="95" type="cond" truecount="2" falsecount="0"/>
312
- <line num="478" count="39" type="stmt"/>
313
- <line num="486" count="39" type="stmt"/>
314
- <line num="487" count="39" type="stmt"/>
315
- <line num="489" count="56" type="stmt"/>
316
- <line num="492" count="95" type="cond" truecount="1" falsecount="0"/>
317
- <line num="494" count="90" type="cond" truecount="1" falsecount="0"/>
318
- <line num="496" count="51" type="cond" truecount="3" falsecount="0"/>
319
- <line num="497" count="2" type="stmt"/>
320
- <line num="498" count="2" type="cond" truecount="2" falsecount="0"/>
321
- <line num="502" count="2" type="cond" truecount="1" falsecount="0"/>
322
- <line num="503" count="1" type="stmt"/>
323
- <line num="514" count="1" type="stmt"/>
324
- <line num="516" count="1" type="stmt"/>
325
- <line num="520" count="1" type="stmt"/>
326
- <line num="528" count="1" type="stmt"/>
327
- <line num="530" count="1" type="stmt"/>
328
- <line num="534" count="49" type="cond" truecount="1" falsecount="0"/>
310
+ <line num="463" count="2" type="stmt"/>
311
+ <line num="465" count="2" type="stmt"/>
312
+ <line num="472" count="95" type="stmt"/>
313
+ <line num="484" count="95" type="cond" truecount="2" falsecount="0"/>
314
+ <line num="485" count="39" type="stmt"/>
315
+ <line num="493" count="39" type="stmt"/>
316
+ <line num="494" count="39" type="stmt"/>
317
+ <line num="496" count="56" type="stmt"/>
318
+ <line num="499" count="95" type="cond" truecount="1" falsecount="0"/>
319
+ <line num="501" count="90" type="cond" truecount="1" falsecount="0"/>
320
+ <line num="503" count="51" type="cond" truecount="3" falsecount="0"/>
321
+ <line num="504" count="2" type="stmt"/>
322
+ <line num="505" count="2" type="cond" truecount="2" falsecount="0"/>
323
+ <line num="509" count="2" type="cond" truecount="1" falsecount="0"/>
324
+ <line num="510" count="1" type="stmt"/>
325
+ <line num="521" count="1" type="stmt"/>
326
+ <line num="523" count="1" type="stmt"/>
327
+ <line num="527" count="1" type="stmt"/>
329
328
  <line num="535" count="1" type="stmt"/>
330
- <line num="545" count="1" type="stmt"/>
331
- <line num="547" count="1" type="stmt"/>
332
- <line num="551" count="48" type="cond" truecount="1" falsecount="0"/>
333
- <line num="552" count="48" type="stmt"/>
334
- <line num="562" count="48" type="stmt"/>
335
- <line num="564" count="48" type="stmt"/>
336
- <line num="569" count="39" type="cond" truecount="3" falsecount="0"/>
337
- <line num="571" count="17" type="cond" truecount="1" falsecount="0"/>
338
- <line num="572" count="1" type="stmt"/>
339
- <line num="574" count="1" type="cond" truecount="1" falsecount="0"/>
340
- <line num="575" count="1" type="stmt"/>
341
- <line num="585" count="1" type="stmt"/>
342
- <line num="587" count="1" type="stmt"/>
343
- <line num="592" count="16" type="cond" truecount="3" falsecount="0"/>
344
- <line num="593" count="23" type="stmt"/>
345
- <line num="595" count="16" type="cond" truecount="1" falsecount="0"/>
346
- <line num="596" count="16" type="stmt"/>
347
- <line num="606" count="16" type="stmt"/>
348
- <line num="608" count="16" type="stmt"/>
349
- <line num="615" count="27" type="cond" truecount="3" falsecount="0"/>
350
- <line num="617" count="22" type="cond" truecount="1" falsecount="0"/>
351
- <line num="622" count="2" type="stmt"/>
352
- <line num="634" count="2" type="stmt"/>
353
- <line num="636" count="2" type="stmt"/>
354
- <line num="642" count="20" type="cond" truecount="4" falsecount="0"/>
355
- <line num="643" count="3" type="stmt"/>
356
- <line num="644" count="17" type="cond" truecount="3" falsecount="0"/>
357
- <line num="645" count="16" type="stmt"/>
358
- <line num="648" count="20" type="cond" truecount="3" falsecount="0"/>
359
- <line num="649" count="38" type="stmt"/>
360
- <line num="651" count="19" type="cond" truecount="3" falsecount="0"/>
361
- <line num="652" count="34" type="stmt"/>
362
- <line num="654" count="19" type="cond" truecount="1" falsecount="0"/>
363
- <line num="655" count="7" type="cond" truecount="1" falsecount="0"/>
364
- <line num="656" count="7" type="stmt"/>
365
- <line num="657" count="12" type="cond" truecount="1" falsecount="0"/>
366
- <line num="658" count="5" type="stmt"/>
367
- <line num="665" count="7" type="cond" truecount="1" falsecount="0"/>
368
- <line num="666" count="7" type="stmt"/>
369
- <line num="674" count="0" type="stmt"/>
370
- <line num="677" count="7" type="cond" truecount="1" falsecount="0"/>
371
- <line num="678" count="4" type="stmt"/>
372
- <line num="690" count="4" type="stmt"/>
373
- <line num="692" count="4" type="stmt"/>
374
- <line num="696" count="3" type="cond" truecount="1" falsecount="0"/>
375
- <line num="697" count="3" type="stmt"/>
376
- <line num="709" count="3" type="stmt"/>
377
- <line num="711" count="3" type="stmt"/>
378
- <line num="721" count="18" type="cond" truecount="0" falsecount="1"/>
379
- <line num="722" count="0" type="stmt"/>
329
+ <line num="537" count="1" type="stmt"/>
330
+ <line num="541" count="49" type="cond" truecount="1" falsecount="0"/>
331
+ <line num="542" count="1" type="stmt"/>
332
+ <line num="552" count="1" type="stmt"/>
333
+ <line num="554" count="1" type="stmt"/>
334
+ <line num="558" count="48" type="cond" truecount="1" falsecount="0"/>
335
+ <line num="559" count="48" type="stmt"/>
336
+ <line num="569" count="48" type="stmt"/>
337
+ <line num="571" count="48" type="stmt"/>
338
+ <line num="576" count="39" type="cond" truecount="3" falsecount="0"/>
339
+ <line num="578" count="17" type="cond" truecount="1" falsecount="0"/>
340
+ <line num="579" count="1" type="stmt"/>
341
+ <line num="581" count="1" type="cond" truecount="1" falsecount="0"/>
342
+ <line num="582" count="1" type="stmt"/>
343
+ <line num="592" count="1" type="stmt"/>
344
+ <line num="594" count="1" type="stmt"/>
345
+ <line num="599" count="16" type="cond" truecount="3" falsecount="0"/>
346
+ <line num="600" count="23" type="stmt"/>
347
+ <line num="602" count="16" type="cond" truecount="1" falsecount="0"/>
348
+ <line num="603" count="16" type="stmt"/>
349
+ <line num="613" count="16" type="stmt"/>
350
+ <line num="615" count="16" type="stmt"/>
351
+ <line num="622" count="27" type="cond" truecount="3" falsecount="0"/>
352
+ <line num="624" count="22" type="cond" truecount="1" falsecount="0"/>
353
+ <line num="629" count="2" type="stmt"/>
354
+ <line num="641" count="2" type="stmt"/>
355
+ <line num="643" count="2" type="stmt"/>
356
+ <line num="649" count="20" type="cond" truecount="4" falsecount="0"/>
357
+ <line num="650" count="3" type="stmt"/>
358
+ <line num="651" count="17" type="cond" truecount="3" falsecount="0"/>
359
+ <line num="652" count="16" type="stmt"/>
360
+ <line num="655" count="20" type="cond" truecount="3" falsecount="0"/>
361
+ <line num="656" count="38" type="stmt"/>
362
+ <line num="658" count="19" type="cond" truecount="3" falsecount="0"/>
363
+ <line num="659" count="34" type="stmt"/>
364
+ <line num="661" count="19" type="cond" truecount="1" falsecount="0"/>
365
+ <line num="662" count="7" type="cond" truecount="1" falsecount="0"/>
366
+ <line num="663" count="7" type="stmt"/>
367
+ <line num="664" count="12" type="cond" truecount="1" falsecount="0"/>
368
+ <line num="665" count="5" type="stmt"/>
369
+ <line num="672" count="7" type="cond" truecount="1" falsecount="0"/>
370
+ <line num="673" count="7" type="stmt"/>
371
+ <line num="681" count="0" type="stmt"/>
372
+ <line num="684" count="7" type="cond" truecount="1" falsecount="0"/>
373
+ <line num="685" count="4" type="stmt"/>
374
+ <line num="697" count="4" type="stmt"/>
375
+ <line num="699" count="4" type="stmt"/>
376
+ <line num="703" count="3" type="cond" truecount="1" falsecount="0"/>
377
+ <line num="704" count="3" type="stmt"/>
378
+ <line num="716" count="3" type="stmt"/>
379
+ <line num="718" count="3" type="stmt"/>
380
+ <line num="728" count="18" type="cond" truecount="0" falsecount="1"/>
380
381
  <line num="729" count="0" type="stmt"/>
381
- <line num="731" count="0" type="stmt"/>
382
- <line num="734" count="18" type="cond" truecount="3" falsecount="0"/>
383
- <line num="735" count="13" type="stmt"/>
384
- <line num="745" count="13" type="stmt"/>
385
- <line num="747" count="13" type="stmt"/>
386
- <line num="750" count="5" type="stmt"/>
387
- <line num="758" count="5" type="stmt"/>
388
- <line num="760" count="5" type="stmt"/>
389
- <line num="762" count="0" type="stmt"/>
390
- <line num="768" count="0" type="stmt"/>
391
- <line num="770" count="0" type="stmt"/>
382
+ <line num="736" count="0" type="stmt"/>
383
+ <line num="738" count="0" type="stmt"/>
384
+ <line num="741" count="18" type="cond" truecount="3" falsecount="0"/>
385
+ <line num="742" count="13" type="stmt"/>
386
+ <line num="752" count="13" type="stmt"/>
387
+ <line num="754" count="13" type="stmt"/>
388
+ <line num="757" count="5" type="stmt"/>
389
+ <line num="765" count="5" type="stmt"/>
390
+ <line num="767" count="5" type="stmt"/>
391
+ <line num="769" count="0" type="stmt"/>
392
+ <line num="775" count="0" type="stmt"/>
393
+ <line num="777" count="0" type="stmt"/>
392
394
  </file>
393
395
  <file name="feature.ts" path="/home/runner/work/featurevisor/featurevisor/packages/sdk/src/feature.ts">
394
396
  <metrics statements="42" coveredstatements="41" conditionals="20" coveredconditionals="19" methods="7" coveredmethods="7"/>