on master help sign in
Prepare 0.2.0.0 release
666c4ceMichael Xavier
katip-elasticsearch/katip-elasticsearch.cabal+1−1
@@ -27,7 +27,7 @@ library
27 Katip.Scribes.ElasticSearch.Annotations
27 Katip.Scribes.ElasticSearch.Annotations
28 build-depends:
28 build-depends:
29 base >=4.6 && <5
29 base >=4.6 && <5
30− , katip >= 0.1.0.0 && < 0.2
30+ , katip >= 0.2.0.0 && < 0.3
31 , bloodhound >= 0.11.0.0 && < 0.12
31 , bloodhound >= 0.11.0.0 && < 0.12
32 , random >= 1.0 && < 1.2
32 , random >= 1.0 && < 1.2
33 , uuid >= 1.3 && < 1.4
33 , uuid >= 1.3 && < 1.4
katip/changelog.md+17
@@ -1,3 +1,20 @@
1+0.2.0.0
2+=======
3+
4+* Add GHC implicit callstack support, add logLoc.
5+* Drop lens in favor of type-compatible, lighter microlens.
6+* Renamed `logEnvNs` to clearer `logEnvApp`
7+* Added `katipAddNamespace` and `katipAddContext`
8+* Fixed nested objects not rendering in Handle scribe.
9+* LogContexts Monoid instance is now right-biased rather than left
10+ biased. This better fits the use case. For instance `ctx1 <> ctx2`
11+ will prefer keys in `ctx2` if there are conflicts. This makes the
12+ most sense because functions like `katipAddContext` will `mappend`
13+ on the right side.
14+* LogContext internally uses a `Seq` instead of a list for better
15+ complexity on context add.
16+* Improved documentation.
17+
10.1.1.0
180.1.1.0
2==============
19==============
3
20
katip/katip.cabal+1−1
@@ -1,5 +1,5 @@
1name: katip
1name: katip
2−version: 0.1.1.0
2+version: 0.2.0.0
3synopsis: A structured logging framework.
3synopsis: A structured logging framework.
4description:
4description:
5 Katip is a structured logging framework. See README.md for more details.
5 Katip is a structured logging framework. See README.md for more details.
katip/src/Katip/Monadic.hs+1−1
@@ -89,7 +89,7 @@ data AnyLogContext where
89-- Additional note: you should not mappend LogContexts in any sort of
89-- Additional note: you should not mappend LogContexts in any sort of
90-- infinite loop, as it retains all data, so that would be a memory
90-- infinite loop, as it retains all data, so that would be a memory
91-- leak.
91-- leak.
92−newtype LogContexts = LogContexts (Seq AnyLogContext) deriving (Monoid) --TODO: could we pre-encode this and also capture payloadKeys
92+newtype LogContexts = LogContexts (Seq AnyLogContext) deriving (Monoid)
93
93
94instance ToJSON LogContexts where
94instance ToJSON LogContexts where
95 toJSON (LogContexts cs) =
95 toJSON (LogContexts cs) =