packages feed

blank-canvas 0.6 → 0.6.1

raw patch · 3 files changed

+20/−16 lines, 3 filesdep ~aesondep ~blank-canvasdep ~http-typesnew-uploaderPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: aeson, blank-canvas, http-types

API changes (from Hackage documentation)

+ Graphics.Blank: infixr 0 #

Files

Changelog.md view
@@ -1,3 +1,6 @@+### 0.6.1+* Fix building with `aeson-1.2.2.0`.+ ### 0.6 API changes  * The `(#)` function had its type generalized from `a -> (a -> Canvas b) -> Canvas b` to `a -> (a -> b) -> b`. This allows it to be used with font length units.@@ -9,7 +12,7 @@  * A generalized `font` function of type `CanvasFont canvasFont => canvasFont -> Canvas ()` was added to `Graphics.Blank.Font` that can accept a `Text` or `Font` argument. The `font` function in `Graphics.Blank` remains of type `Text -> Canvas ()`.  * Added a `cursor` function to change the browser cursor. Also added the `Graphics.Blank.Cursor` module containing a generalized `cursor` function that uses a `Cursor` ADT instead of `Text`.  * Added `Bounded`, `Enum`, `Eq`, `Ix`, `Ord`, and `Show` instances for more data types- * Added support for more MIME types via the `mime-types` library`+ * Added support for more MIME types via the `mime-types` library  Additions  * Allowed building with `base-4.8.0.0`
Graphics/Blank.hs view
@@ -170,7 +170,7 @@ import           Control.Monad (forever) import           Control.Monad.IO.Class -import           Data.Aeson+import           Data.Aeson (Result(..), fromJSON) import           Data.Aeson.Types (parse) import           Data.List as L import qualified Data.Map as M (lookup)
blank-canvas.cabal view
@@ -1,5 +1,5 @@ Name:                blank-canvas-Version:             0.6+Version:             0.6.1 Synopsis:            HTML5 Canvas Graphics Library  Description:      @blank-canvas@ is a Haskell binding to the complete@@ -41,6 +41,7 @@ Extra-source-files:  README.md                      Changelog.md Cabal-version:       >= 1.10+tested-with:         GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2 data-files:     static/index.html     static/jquery.js@@ -67,43 +68,43 @@                        Paths_blank_canvas    default-language:    Haskell2010-  build-depends:       aeson              >= 0.7     && < 0.11,+  build-depends:       aeson              >= 0.7     && < 1.3,                        base64-bytestring  == 1.0.*,-                       base               >= 4.6     && < 4.9,+                       base               >= 4.7     && < 4.11,                        base-compat        >= 0.8.1   && < 1,                        bytestring         == 0.10.*,                        colour             >= 2.2     && < 3.0,                        containers         == 0.5.*,-                       data-default-class == 0.0.*,+                       data-default-class >= 0.0.1   && < 0.2,                        http-types         >= 0.8     && < 0.10,                        mime-types         >= 0.1.0.3 && < 0.2,                        kansas-comet       >= 0.4     && < 0.5,-                       scotty             >= 0.10    && < 0.11,+                       scotty             >= 0.10    && < 0.12,                        stm                >= 2.2     && < 2.5,                        text               >= 1.1     && < 1.3,-                       text-show          >= 2       && < 2.2,-                       transformers       >= 0.3     && < 0.5,+                       text-show          >= 2       && < 4,+                       transformers       >= 0.3     && < 0.6,                        wai                == 3.*,                        wai-extra          >= 3.0.1   && < 3.1,                        warp               == 3.*,-                       vector             >= 0.10    && < 0.12+                       vector             >= 0.10    && < 0.13    GHC-options:         -Wall   GHC-prof-options:    -Wall -fsimpl-tick-factor=100000   test-suite wiki-suite-    build-depends:    base              >= 4.6  && < 4.9,-                      blank-canvas      == 0.6.*,+    build-depends:    base              >= 4.7  && < 4.11,+                      blank-canvas,                       containers        == 0.5.*,-                      process           == 1.2.*,+                      process           >= 1.2  && < 1.7,                       directory         >= 1.2,                       shake             >= 0.13,                       stm               >= 2.2  && < 2.5,                       text              >= 1.1  && < 1.3,-                      time              >= 1.4  && < 1.6,+                      time              >= 1.4  && < 1.9,                       unix              == 2.7.*,-                      vector            >= 0.10 && < 0.12+                      vector            >= 0.10 && < 0.13      default-language: Haskell2010     GHC-options:      -threaded -Wall@@ -168,4 +169,4 @@  source-repository head   type:     git-  location: git://github.com/ku-fpg/blank-canvas.git+  location: https://github.com/ku-fpg/blank-canvas.git