packages feed

ekg-core 0.1.1.6 → 0.1.1.7

raw patch · 3 files changed

+14/−8 lines, 3 filesdep ~basedep ~containersdep ~ghc-primPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, containers, ghc-prim, text

API changes (from Hackage documentation)

Files

CHANGES.md view
@@ -1,3 +1,9 @@+## 0.1.1.7 (2019-03-15)++ * Fix two bugs in `cbits` relating to distribution values+   ([#35](https://github.com/tibbe/ekg-core/pull/35)).+ * GHC 8.8 support ([#34](https://github.com/tibbe/ekg-core/pull/34)).+ ## 0.1.1.6 (2018-11-19)   * Reverted [#25](https://github.com/tibbe/ekg-core/pull/25), which
cbits/distrib.c view
@@ -35,10 +35,10 @@   const StgDouble sum_sq_delta = (a->sum_sq_delta + b->sum_sq_delta +                                   delta * delta * (a->count * b->count) / count);   a->count = count;-  a->mean = mean;+  a->mean = (count == 0) ? 0.0 : mean; // divide-by-zero gives NaN   a->sum_sq_delta = sum_sq_delta;   a->sum = a->sum + b->sum;-  a->min = b->min < a->min ? b->min : a->min;-  a->max = b->max > a->max ? b->max : a->max;+  a->min = b->min; // This is slightly hacky, but ok: see+  a->max = b->max; // 813aa426be78e8abcf1c7cdd43433bcffa07828e   hs_unlock(&b->lock); }
ekg-core.cabal view
@@ -1,6 +1,6 @@ cabal-version:       1.18 name:                ekg-core-version:             0.1.1.6+version:             0.1.1.7 synopsis:            Tracking of system metrics description:   This library lets you defined and track system metrics.@@ -14,9 +14,9 @@ category:            System build-type:          Simple extra-source-files:  CHANGES.md-tested-with:         GHC == 8.6.2, GHC == 8.4.4,  GHC == 8.2.2,-                     GHC == 8.0.2, GHC == 7.10.3, GHC == 7.8.4,-                     GHC == 7.6.3+tested-with:         GHC == 8.8.3, GHC == 8.6.5, GHC == 8.4.4,+                     GHC == 8.2.2, GHC == 8.0.2, GHC == 7.10.3,+                     GHC == 7.8.4, GHC == 7.6.3  library   exposed-modules:@@ -34,7 +34,7 @@    build-depends:     ghc-prim < 0.6,-    base >= 4.6 && < 4.13,+    base >= 4.6 && < 4.14,     containers >= 0.5 && < 0.7,     text < 1.3,     unordered-containers < 0.3