packages feed

prettyprinter-ansi-terminal 1.1.2 → 1.1.3

raw patch · 5 files changed

+16/−27 lines, 5 filesdep ~prettyprinter

Dependency ranges changed: prettyprinter

Files

CHANGELOG.md view
@@ -1,3 +1,11 @@+# [1.1.3]++- [Deprecate the `Data.Text.Prettyprint.*` modules](https://github.com/quchen/prettyprinter/pull/203)+  * Users should migrate to the new `Prettyprinter` module hierarchy.+  * The old modules will be removed no sooner than September 2022.++[1.1.3]: https://github.com/quchen/prettyprinter/compare/ansi-terminal-v1.1.2...ansi-terminal-v1.1.3+ # [1.1.2]  - [Add shallower `Prettyprinter` module hierarchy exposing the same API.](https://github.com/quchen/prettyprinter/pull/174)
prettyprinter-ansi-terminal.cabal view
@@ -1,5 +1,5 @@ name:                prettyprinter-ansi-terminal-version:             1.1.2+version:             1.1.3 cabal-version:       >= 1.10 category:            User Interfaces, Text synopsis:            ANSI terminal backend for the »prettyprinter« package.@@ -14,12 +14,7 @@ bug-reports:         http://github.com/quchen/prettyprinter/issues homepage:            http://github.com/quchen/prettyprinter build-type:          Simple-tested-with:         GHC == 7.8.4-                   , GHC == 7.10.2-                   , GHC == 7.10.3-                   , GHC == 8.0.1-                   , GHC == 8.0.2-                   , GHC == 8.2.2+tested-with:         GHC==9.0.1, GHC==8.10.4, GHC==8.8.4, 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, GHC==7.4.2  source-repository head   type: git@@ -43,7 +38,7 @@           base          >= 4.5 && < 5         , ansi-terminal >= 0.4.0         , text          >= 1.2-        , prettyprinter >= 1.1.1+        , prettyprinter >= 1.7.0      if impl(ghc >= 8.0)         ghc-options: -Wcompat@@ -77,6 +72,6 @@      hs-source-dirs:      bench     main-is:             LargeOutput.hs-    ghc-options:         -O2 -threaded -rtsopts -with-rtsopts=-N -Wall+    ghc-options:         -O2 -rtsopts -Wall     default-language:    Haskell2010     type:                exitcode-stdio-1.0
src/Data/Text/Prettyprint/Doc/Render/Terminal.hs view
@@ -1,11 +1,4 @@--- | This module is part of the old @Data.Text.Prettyprint.Doc@ module hierarchy--- which is being replaced by a shallower @Prettyprinter@ module hierarchy--- offering the same API.------ This module will be deprecated and eventually removed.------ Use "Prettyprinter.Render.Terminal" instead.-module Data.Text.Prettyprint.Doc.Render.Terminal (+module Data.Text.Prettyprint.Doc.Render.Terminal {-# DEPRECATED "Use \"Prettyprinter.Render.Terminal\" instead." #-} (     module Prettyprinter.Render.Terminal ) where 
src/Data/Text/Prettyprint/Doc/Render/Terminal/Internal.hs view
@@ -1,11 +1,4 @@--- | This module is part of the old @Data.Text.Prettyprint.Doc@ module hierarchy--- which is being replaced by a shallower @Prettyprinter@ module hierarchy--- offering the same API.------ This module will be deprecated and eventually removed.------ Use "Prettyprinter.Render.Terminal.Internal" instead.-module Data.Text.Prettyprint.Doc.Render.Terminal.Internal (+module Data.Text.Prettyprint.Doc.Render.Terminal.Internal {-# DEPRECATED "Use \"Prettyprinter.Render.Terminal.Internal\" instead." #-} (     module Prettyprinter.Render.Terminal.Internal ) where 
src/Prettyprinter/Render/Terminal/Internal.hs view
@@ -49,8 +49,8 @@ import qualified System.Console.ANSI    as ANSI import           System.IO              (Handle, hPutChar, stdout) -import Data.Text.Prettyprint.Doc-import Data.Text.Prettyprint.Doc.Render.Util.Panic+import Prettyprinter+import Prettyprinter.Render.Util.Panic  #if !(SEMIGROUP_MONOID_SUPERCLASS) import Data.Semigroup