View Source
Vela
The tiny library to ease handling expiring invalidated cached series
Installation
def deps do
[
{:vela, "~> 0.12"}
]
endChangelog
1.1.0— removeBoundarydependency1.0.2— fixedupdate_meta/31.0.1— fixed differentAccessimplementations for__meta__:argument touse Vela1.0.0— cleaned up the code, introduced interfaces, example as docs0.17.0— typeVelaImpl.slice()+ many docs improvements0.16.1—Vela.merge/30.16.0—Vela.empty?/1,Vela.empty!/1and some performance improvements inVela.equal?/20.15.3— allow all metas to reside instate0.15.2— less restrictiveslice/2, accepting malformed velas0.15.0—:mηkeyword parameter in a call touse Velahas been renamed to:__meta__as Elixir v1.14 does not support mixed scripts (meh)0.14.0—average/2to produce a keyword of{serie, average}values0.13.1—state/1andupdate_state/2to keep some additional date alongside withVela0.12.0—thresholddoes not depend on the band anymore0.11.0—__meta__might be now used to overwrite compiled in serie settings0.9.5— early return the value provided by existing comparison function inequal?/20.9.3— allow:atomand{GenServer, :on_start}as type definition0.9.0— allow a precise type definition of each serie viatype: type()keyword parameter a series keyword parameter0.8.0— allow acorrector/2callback to allow correction of rejected values as a series keyword parameter0.7.2—Vela.put/30.7.0— exact type and behaviour for those usingVela0.6.3— fixthresholdto usecompare_by/1for cumbersome values0.6.1— usethresholdto prevent adding outliers to series0.6.0—Vela.δ/2/Vela.delta/2returning a keyword[{serie, {min, max}}]