packages feed

diagrams-rasterific 1.4.2.2 → 1.4.2.3

raw patch · 4 files changed

+29/−13 lines, 4 filesdep ~basedep ~bytestringdep ~containersPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, bytestring, containers, filepath, hashable, lens, mtl, optparse-applicative

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,16 @@+## [v1.4.2.3](https://github.com/diagrams/diagrams-rasterific/tree/v1.4.2.3) (2023-05-30)++- Allow `base-4.18`, `mtl-2.3`, `optparse-applicative-0.18`+- Test on GHC 9.6 & fix some warnings++## [v1.4.2.2-r2](https://github.com/diagrams/diagrams-rasterific/tree/v1.4.2.2-r2) (2022-09-01)++- Allow `base-4.17`, `lens-5.2`, and test with GHC 9.4++## [v1.4.2.2-r1](https://github.com/diagrams/diagrams-rasterific/tree/v1.4.2.2-r1) (2022-02-02)++- Allow `optparse-applicative-0.17`+ ## [v1.4.2.2](https://github.com/diagrams/diagrams-rasterific/tree/v1.4.2.2) (2021-12-28)  GHC 9.2 compatibility and dependency bound updates:
diagrams-rasterific.cabal view
@@ -1,5 +1,5 @@ name:                diagrams-rasterific-version:             1.4.2.2+version:             1.4.2.3 synopsis:            Rasterific backend for diagrams. description:         A full-featured backend for rendering                      diagrams using the Rasterific rendering engine.@@ -11,8 +11,9 @@ bug-reports:         http://github.com/diagrams/diagrams-rasterific/issues category:            Graphics build-type:          Simple-extra-source-files:  README.md, CHANGELOG.md, fonts/*.ttf-tested-with:         GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1 || ==9.2.1+extra-source-files:  fonts/*.ttf+extra-doc-files:     README.md, CHANGELOG.md+tested-with:         GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.5 || ==9.6.1 cabal-version:       1.18 Source-repository head   type:     git@@ -24,19 +25,19 @@                        Diagrams.Backend.Rasterific.Text   hs-source-dirs:      src   other-modules:       Paths_diagrams_rasterific-  build-depends:       base >= 4.2 && < 4.17,+  build-depends:       base >= 4.2 && < 4.19,                        diagrams-core >= 1.4 && < 1.6,                        diagrams-lib >= 1.4 && < 1.5,                        hashable >= 1.1 && < 1.5,                        Rasterific >= 0.7.4 && < 0.8,                        FontyFruity >= 0.5 && < 0.6,                        JuicyPixels >= 3.1.5 && < 3.4,-                       lens >= 4.0 && < 5.2,-                       mtl >= 2.1 && < 2.3,+                       lens >= 4.0 && < 5.3,+                       mtl >= 2.1 && < 2.4,                        data-default-class >= 0.0 && < 0.2,                        containers >= 0.5 && < 0.7,                        filepath >= 1.2 && < 1.5,-                       optparse-applicative >= 0.13 && < 0.17,+                       optparse-applicative >= 0.13 && < 0.19,                        bytestring >= 0.9 && < 0.12,                        file-embed >= 0.0 && < 0.1 @@ -47,7 +48,7 @@   type:                exitcode-stdio-1.0   main-is:             test-render.hs   hs-source-dirs:      test-  build-depends:       base >= 4.2 && < 4.17,+  build-depends:       base >= 4.2 && < 4.19,                        diagrams-rasterific,                        diagrams-core >= 1.4 && < 1.6,                        diagrams-lib >= 1.4 && < 1.5@@ -58,7 +59,7 @@   type:                exitcode-stdio-1.0   main-is:             test-widths.hs   hs-source-dirs:      test-  build-depends:       base >= 4.2 && < 4.17,+  build-depends:       base >= 4.2 && < 4.19,                        diagrams-rasterific,                        diagrams-core >= 1.4 && < 1.6,                        diagrams-lib >= 1.4 && < 1.5@@ -69,7 +70,7 @@   type:                exitcode-stdio-1.0   main-is:             test-size.hs   hs-source-dirs:      test-  build-depends:       base >= 4.2 && < 4.17,+  build-depends:       base >= 4.2 && < 4.19,                        diagrams-rasterific,                        diagrams-core >= 1.4 && < 1.6,                        diagrams-lib >= 1.4 && < 1.5
src/Diagrams/Backend/Rasterific.hs view
@@ -11,6 +11,7 @@ {-# LANGUAGE TemplateHaskell           #-} {-# LANGUAGE TupleSections             #-} {-# LANGUAGE TypeFamilies              #-}+{-# LANGUAGE TypeOperators             #-} {-# LANGUAGE TypeSynonymInstances      #-} {-# LANGUAGE ViewPatterns              #-} @@ -129,7 +130,8 @@ import qualified Graphics.Rasterific.Transformations as R import           Graphics.Text.TrueType              (Dpi) -import           Control.Monad.Reader+import           Control.Monad                       (when)+import           Control.Monad.Reader                (ReaderT, ask, lift, local, mapReaderT, runReaderT) import           Diagrams.Backend.Rasterific.Text  import           Data.ByteString.Lazy                (ByteString)
src/Diagrams/Backend/Rasterific/CmdLine.hs view
@@ -82,8 +82,8 @@  import           Diagrams.Backend.CmdLine import           Diagrams.Backend.Rasterific-import           Diagrams.Prelude            hiding (height, interval, option,-                                              output, width)+import           Diagrams.Prelude            hiding (height, interval,+                                              output, width, option)  import qualified Data.ByteString.Lazy        as L (writeFile)