on master help sign in
Prepare 0.2.0.0 release
commit666c4ce6dee6607f0f771eb284b0b0fd81ac0a9e authorMichael Xavier <michael@michaelxavier.net> dateWed 20 Apr 2016, 11:40 (10 years ago) parent7f5a975
4 files changed+20−3
katip-elasticsearch/katip-elasticsearch.cabal+1−1 katip/changelog.md+17 katip/katip.cabal+1−1 katip/src/Katip/Monadic.hs+1−1
katip-elasticsearch/katip-elasticsearch.cabal+1−1
@@ -27,7 +27,7 @@ library
2727 Katip.Scribes.ElasticSearch.Annotations
2828 build-depends:
2929 base >=4.6 && <5
30− , katip >= 0.1.0.0 && < 0.2
30+ , katip >= 0.2.0.0 && < 0.3
3131 , bloodhound >= 0.11.0.0 && < 0.12
3232 , random >= 1.0 && < 1.2
3333 , 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+
1180.1.1.0
219==============
320
katip/katip.cabal+1−1
@@ -1,5 +1,5 @@
11name: katip
2−version: 0.1.1.0
2+version: 0.2.0.0
33synopsis: A structured logging framework.
44description:
55 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
8989-- Additional note: you should not mappend LogContexts in any sort of
9090-- infinite loop, as it retains all data, so that would be a memory
9191-- 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)
9393
9494instance ToJSON LogContexts where
9595 toJSON (LogContexts cs) =