packages feed

katip-elasticsearch 0.4.0.0 → 0.4.0.1

raw patch · 2 files changed

+8/−4 lines, 2 filesdep ~aesondep ~bloodhounddep ~timePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: aeson, bloodhound, time

API changes (from Hackage documentation)

+ Katip.Scribes.ElasticSearch.Internal: type family IndexDocumentSettings v;
+ Katip.Scribes.ElasticSearch.Internal: }
- Katip.Scribes.ElasticSearch: mkEsScribe :: (ESVersion v, MonadIO (BH v IO), Functor (BH v IO)) => EsScribeCfg v -> BHEnv v -> IndexName v -> MappingName v -> Severity -> Verbosity -> IO Scribe
+ Katip.Scribes.ElasticSearch: mkEsScribe :: forall v. (ESVersion v, MonadIO (BH v IO)) => EsScribeCfg v -> BHEnv v -> IndexName v -> MappingName v -> Severity -> Verbosity -> IO Scribe
- Katip.Scribes.ElasticSearch.Internal: class ESVersion v where type family BHEnv v type family IndexSettings v type family IndexName v type family MappingName v type family DocId v type family BH v :: (* -> *) -> * -> * type family TemplateName v type family TemplatePattern v type family IndexTemplate v type family IndexDocumentSettings v
+ Katip.Scribes.ElasticSearch.Internal: class ESVersion v where type BHEnv v type IndexSettings v type IndexName v type MappingName v type DocId v type BH v :: (* -> *) -> * -> * type TemplateName v type TemplatePattern v type IndexTemplate v type IndexDocumentSettings v where {
- Katip.Scribes.ElasticSearch.Internal: mkEsScribe :: (ESVersion v, MonadIO (BH v IO), Functor (BH v IO)) => EsScribeCfg v -> BHEnv v -> IndexName v -> MappingName v -> Severity -> Verbosity -> IO Scribe
+ Katip.Scribes.ElasticSearch.Internal: mkEsScribe :: forall v. (ESVersion v, MonadIO (BH v IO)) => EsScribeCfg v -> BHEnv v -> IndexName v -> MappingName v -> Severity -> Verbosity -> IO Scribe
- Katip.Scribes.ElasticSearch.Internal: startWorker :: (ESVersion v) => EsScribeCfg v -> BHEnv v -> MappingName v -> TBMQueue (IndexName v, Value) -> IO ()
+ Katip.Scribes.ElasticSearch.Internal: startWorker :: forall v. (ESVersion v) => EsScribeCfg v -> BHEnv v -> MappingName v -> TBMQueue (IndexName v, Value) -> IO ()

Files

changelog.md view
@@ -1,3 +1,7 @@+0.4.0.1+=======+* Bump dependencies to allow GHC 8.2.1+ 0.4.0.0 ======= * Update to bloodhound >= 0.13.0.0. This version adds support for both ElasticSearch versions 1 and 5. Previously, we implicitly supported one and maybe would work on 5. The types in `EsScribeCfg` had to change to be able to specify which version was being targeted.
katip-elasticsearch.cabal view
@@ -1,7 +1,7 @@ name:                katip-elasticsearch synopsis:            ElasticSearch scribe for the Katip logging framework. description:         See README.md for more details.-version:             0.4.0.0+version:             0.4.0.1 license:             BSD3 license-file:        LICENSE author:              Ozgun Ataman, Michael Xavier@@ -30,9 +30,9 @@   build-depends:       base >=4.6 && <5     , katip >= 0.2.0.0 && < 0.6-    , bloodhound >= 0.13.0.0 && < 0.15+    , bloodhound >= 0.13.0.0 && < 0.16     , uuid >= 1.3.12 && < 1.4-    , aeson >=0.6 && <1.2+    , aeson >=0.6 && <1.3     , stm >= 2.4.3 && < 2.5     , stm-chans >= 3.0.0.2 && < 3.1     , async >= 2.0.1.0 && < 2.2@@ -45,7 +45,7 @@     , unordered-containers >= 0.1.0.0 && < 0.3     , transformers >= 0.2 && < 0.6     , http-types >= 0.8 && < 0.10-    , time >= 1 && < 1.7+    , time >= 1 && < 1.9     , bytestring   hs-source-dirs:      src   default-language:    Haskell2010