lucid-htmx 0.1.0.6 → 0.1.0.7
raw patch · 3 files changed
+28/−13 lines, 3 filesdep ~luciddep ~servantdep ~textPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: lucid, servant, text
API changes (from Hackage documentation)
Files
- ChangeLog.md +3/−0
- lucid-htmx.cabal +12/−12
- test/Spec.hs +13/−1
ChangeLog.md view
@@ -8,3 +8,6 @@ Relax upper bound of `lucid` dependency up to, and including, 2.11 +## 0.1.0.7++Relax upper bound of `lucid` dependency up to, and including, 2.11.20230408
lucid-htmx.cabal view
@@ -1,16 +1,16 @@ cabal-version: 1.12 name: lucid-htmx-version: 0.1.0.6+version: 0.1.0.7 license: BSD3 license-file: LICENSE copyright: 2022 Monadic Systems LLC maintainer: tech@monadic.systems author: Monadic Systems LLC-homepage: https://github.com/MonadicSystems/lucid-htmx#readme-bug-reports: https://github.com/MonadicSystems/lucid-htmx/issues+homepage: https://github.com/monadicsystems/lucid-htmx#readme+bug-reports: https://github.com/monadicsystems/lucid-htmx/issues synopsis: Use htmx in your lucid templates description:- Please see the README on GitHub at <https://github.com/MonadicSystems/lucid-htmx#readme>+ Please see the README on GitHub at <https://github.com/monadicsystems/lucid-htmx#readme> category: Web, HTML build-type: Simple@@ -20,7 +20,7 @@ source-repository head type: git- location: https://github.com/MonadicSystems/lucid-htmx+ location: https://github.com/monadicsystems/lucid-htmx library exposed-modules:@@ -32,9 +32,9 @@ default-language: Haskell2010 build-depends: base >=4.7 && <5,- lucid >=2.9.12.1 && <=2.11,- servant >=0.18.3 && <0.19,- text >=1.2.4.1 && <1.3+ lucid >=2.9.12.1 && <=2.11.20230408,+ servant <0.19,+ text <1.3 test-suite lucid-htmx-test type: exitcode-stdio-1.0@@ -45,7 +45,7 @@ ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: base >=4.7 && <5,- lucid >=2.9.12.1 && <=2.11,- lucid-htmx -any,- servant >=0.18.3 && <0.19,- text >=1.2.4.1 && <1.3+ lucid >=2.9.12.1 && <=2.11.20230408,+ lucid-htmx,+ servant <0.19,+ text <1.3
test/Spec.hs view
@@ -1,2 +1,14 @@+{-# LANGUAGE OverloadedStrings, ExtendedDefaultRules #-}+import Lucid+import Lucid.Htmx+import System.IO (stdout, hSetEncoding, utf8)+import Data.Text.Lazy.IO as L+ main :: IO ()-main = putStrLn "Test suite not yet implemented"+main = do+ hSetEncoding stdout utf8+ L.hPutStr stdout (renderText template1)++template1 :: Html ()+template1 =+ div_ [id_ "someId" , hxPost_ "/some/url" ] "Content of div"