ghc-events 0.17.0.1 → 0.17.0.2
raw patch · 3 files changed
+11/−3 lines, 3 filesdep ~textPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: text
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−0
- ghc-events.cabal +2/−2
- src/GHC/RTS/Events.hs +4/−1
CHANGELOG.md view
@@ -1,5 +1,10 @@ # Change Log +## 0.17.0.2 - 2022-02-14++* Clarify usage of IntMap EventType in ppEvent ([#80](https://github.com/haskell/ghc-events/pull/80))+* Relax upper version bound for text+ ## 0.17.0.1 - 2021-11-22 * Relax base bound to support GHC-9.2.1 ([#78](https://github.com/haskell/ghc-events/pull/78))
ghc-events.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: ghc-events-version: 0.17.0.1+version: 0.17.0.2 synopsis: Library and tool for parsing .eventlog files from GHC description: Parses .eventlog files emitted by GHC 6.12.1 and later. Includes the ghc-events tool permitting, in particular,@@ -57,7 +57,7 @@ binary >= 0.7 && < 0.11, bytestring >= 0.10.4, array >= 0.2 && < 0.6,- text >= 0.11.2.3 && < 1.3,+ text >= 0.11.2.3 && < 2.1, vector >= 0.7 && < 0.13 exposed-modules: GHC.RTS.Events, GHC.RTS.Events.Incremental
src/GHC/RTS/Events.hs view
@@ -621,7 +621,10 @@ <> maybe "variable" TB.decimal msz <> ")" -- | Pretty prints an 'Event', with clean handling for 'UnknownEvent'-ppEvent :: IntMap EventType -> Event -> String+ppEvent+ :: IntMap EventType -- ^ Look up @'UnknownEvent'.'ref'@ to find a suitable description.+ -> Event+ -> String ppEvent imap = TL.unpack . TB.toLazyText . buildEvent imap buildEvent :: IntMap EventType -> Event -> TB.Builder