packages feed

brick-panes 1.0.0.4 → 1.0.1.0

raw patch · 3 files changed

+18/−13 lines, 3 filesdep ~aesondep ~basedep ~brickPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: aeson, base, brick, vty

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,12 @@ # Revision history for brick-panes +## 1.0.1.0 -- 2023-12-26++* Update to use new vty 6.0 with cross-platform support and associated newer+  brick version.  This adds the potential for multi-platform support (i.e. MacOS+  and Windows native) although these are not currently explicitly tested.+* Bump upper bounds to allow GHC 9.8+ ## 1.0.0.4 -- 2023-03-30  * Bump upper bounds to allow brick 1.6 and vty 5.39 and text-zipper 0.13.
brick-panes.cabal view
@@ -1,6 +1,6 @@ cabal-version:      3.0 name:               brick-panes-version:            1.0.0.4+version:            1.0.1.0 synopsis:     Panes library for Brick providing composition and isolation for TUI apps. @@ -22,6 +22,7 @@                     GHC == 9.2.7                     GHC == 9.4.4                     GHC == 9.6+                    GHC == 9.8  extra-doc-files:    CHANGELOG.md                   , README.org@@ -41,7 +42,6 @@                   -Wincomplete-uni-patterns                   -Wsimplifiable-class-constraints                   -Wpartial-fields-                  -fprint-potential-instances                   -fhide-source-paths  library@@ -49,11 +49,11 @@     hs-source-dirs:   src     default-language: Haskell2010     exposed-modules:  Brick.Panes-    build-depends:    base >= 4.13 && < 4.19-                    , brick >= 1.0 && < 1.7+    build-depends:    base >= 4.13 && < 4.20+                    , brick >= 1.0 && < 2.4                     , containers                     , microlens >= 0.4.11.2 && < 0.5-                    , vty >= 5.35 && < 5.39+                    , vty >= 5.35 && < 6.2  executable mywork-example     import:           settings@@ -70,10 +70,10 @@                       Panes.Summary                       Paths_brick_panes     autogen-modules:  Paths_brick_panes-    build-depends:    base >= 4.13 && < 4.19+    build-depends:    base >= 4.13 && < 4.20                     , brick                     , brick-panes-                    , aeson >= 2.0 && < 2.2+                    , aeson >= 2.0 && < 2.3                     , bytestring                     , containers                     , directory@@ -82,7 +82,7 @@                     , text-zipper >= 0.12 && < 0.14                     , time                     , vector >= 0.12 && < 0.14-                    , vty >= 5.35 && < 5.39+                    , vty >= 5.35 && < 6.2     if !flag(examples)       buildable: False @@ -94,7 +94,7 @@     type:             exitcode-stdio-1.0     hs-source-dirs:   test     main-is:          Main.hs-    build-depends:    base >= 4.13 && < 4.19+    build-depends:    base >= 4.13 && < 4.20                     , brick-panes  
samples/mywork/Main.hs view
@@ -24,6 +24,7 @@ import           Lens.Micro  import           Defs+-- import           InitialData import           Panes.Location () import           Panes.Operations import           Panes.Projects ()@@ -31,9 +32,6 @@ import           Panes.FileMgr import           Paths_brick_panes ( version ) --- import           InitialData--- import Data.ByteString.Lazy as BS--- import Data.Aeson ( encode )  type MyWorkState = Panel WName MyWorkEvent MyWorkCore                    '[ SummaryPane@@ -45,7 +43,7 @@  main :: IO () main = defaultMain myworkApp initialState >> return ()--- main = BS.writeFile "projects.json" (encode $ initial_projects)+  myworkApp :: App MyWorkState MyWorkEvent WName myworkApp = App { appDraw = drawMyWork