commit ghc-lucid for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-lucid for openSUSE:Factory checked in at 2022-08-01 21:30:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-lucid (Old) and /work/SRC/openSUSE:Factory/.ghc-lucid.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-lucid" Mon Aug 1 21:30:06 2022 rev:8 rq:987059 version:2.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-lucid/ghc-lucid.changes 2021-12-19 17:34:15.704257554 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-lucid.new.1533/ghc-lucid.changes 2022-08-01 21:30:21.057648203 +0200 @@ -1,0 +2,9 @@ +Sun May 8 10:49:30 UTC 2022 - Peter Simons <psimons@suse.com> + +- Update lucid to version 2.11.1. + Upstream has edited the change log file since the last release in + a non-trivial way, i.e. they did more than just add a new entry + at the top. You can review the file at: + http://hackage.haskell.org/package/lucid-2.11.1/src/CHANGELOG.md + +------------------------------------------------------------------- Old: ---- lucid-2.11.0.tar.gz lucid.cabal New: ---- lucid-2.11.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-lucid.spec ++++++ --- /var/tmp/diff_new_pack.ycv6Rm/_old 2022-08-01 21:30:21.669649959 +0200 +++ /var/tmp/diff_new_pack.ycv6Rm/_new 2022-08-01 21:30:21.673649970 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-lucid # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,12 @@ %global pkg_name lucid %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.11.0 +Version: 2.11.1 Release: 0 Summary: Clear to write, read and edit DSL for HTML License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-blaze-builder-devel BuildRequires: ghc-bytestring-devel @@ -36,7 +35,6 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel BuildRequires: ghc-transformers-devel -BuildRequires: ghc-unordered-containers-devel ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-HUnit-devel @@ -70,7 +68,6 @@ %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ lucid-2.11.0.tar.gz -> lucid-2.11.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lucid-2.11.0/CHANGELOG.md new/lucid-2.11.1/CHANGELOG.md --- old/lucid-2.11.0/CHANGELOG.md 2021-11-09 16:50:11.000000000 +0100 +++ new/lucid-2.11.1/CHANGELOG.md 2022-05-08 12:45:12.000000000 +0200 @@ -1,10 +1,18 @@ +## Upcoming + +## 2.11.1 + +* Use explicit imports for mtl, avoids the mtl-2.3 issue +* Added `minlength` attribute. +* Added `loading` attribute. + ## 2.11.0 * Change internal attributes to `Seq Attribute`. This preserves ordering. Attributes are merged in a left-biased way, preserving the key order as first encountered. -## 2.9.13 +## 2.10.0 * Change internal attributes representation from HashMap to Map. This introduces stable ordering, at a negligible performance cost for diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lucid-2.11.0/README.md new/lucid-2.11.1/README.md --- old/lucid-2.11.0/README.md 2019-01-02 12:36:27.000000000 +0100 +++ new/lucid-2.11.1/README.md 2021-11-16 11:34:56.000000000 +0100 @@ -3,9 +3,12 @@ Clear to write, read and edit DSL for writing HTML -[Documentation](http://chrisdone.github.io/lucid/) +**Table of Contents** -[lucid-from-html](https://github.com/dbaynard/lucid-from-html) will convert html to the `lucid` DSL, though it is experimental. +- [Introduction](#introduction) +- [Rendering](#rendering) +- [Good to know](#good-to-know) +- [Transforming](#transforming) ## Introduction @@ -120,6 +123,11 @@ See the documentation for the `Lucid` module for information about using it as a monad transformer. +## Good to know + +* Attributes are escaped, so you cannot write arbitrary JavaScript in attributes. Instead, do something like `onclick_ "foo()"`. +* Attributes are rendered in the order that they are written in your Haskell code. + ## Transforming You can use `lift` to call parent monads. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lucid-2.11.0/lucid.cabal new/lucid-2.11.1/lucid.cabal --- old/lucid-2.11.0/lucid.cabal 2021-11-09 16:50:26.000000000 +0100 +++ new/lucid-2.11.1/lucid.cabal 2022-05-08 12:44:51.000000000 +0200 @@ -1,5 +1,5 @@ name: lucid -version: 2.11.0 +version: 2.11.1 synopsis: Clear to write, read and edit DSL for HTML description: Clear to write, read and edit DSL for HTML. @@ -15,13 +15,13 @@ license: BSD3 license-file: LICENSE author: Chris Done -maintainer: chrisdone@gmail.com, oleg.grenrus@iki.fi -copyright: 2014-2017 Chris Done +maintainer: chrisdone@gmail.com +copyright: 2014-2021 Chris Done category: Web build-type: Simple cabal-version: >=1.10 extra-source-files: README.md, CHANGELOG.md -tested-with: GHC==7.10.3,GHC==8.0.2,GHC==8.2.2,GHC==8.4.4,GHC==8.6.5,GHC==8.8.4,GHC==8.10.4,GHC==9.0.1 +tested-with: GHC==7.10.3,GHC==8.0.2,GHC==8.2.2,GHC==8.4.4,GHC==8.6.5,GHC==8.8.4,GHC==8.10.7,GHC==9.0.1,GHC==9.2.1 library default-language: Haskell2010 @@ -33,7 +33,7 @@ Lucid.Bootstrap -- GHC boot libraries - build-depends: base >=4.8 && <4.16 + build-depends: base >=4.8 && <4.17 , bytestring >=0.10.6.0 , containers >=0.5.6.2 , transformers >=0.4.2.0 @@ -50,7 +50,6 @@ build-depends: blaze-builder >=0.4.0.0 , hashable >=1.2.3.2 , mmorph >=1.0.3 - , unordered-containers >=0.2.5.1 source-repository head type: git diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lucid-2.11.0/src/Lucid/Base.hs new/lucid-2.11.1/src/Lucid/Base.hs --- old/lucid-2.11.0/src/Lucid/Base.hs 2021-11-09 16:50:11.000000000 +0100 +++ new/lucid-2.11.1/src/Lucid/Base.hs 2022-05-08 12:42:31.000000000 +0200 @@ -45,8 +45,11 @@ import qualified Blaze.ByteString.Builder.Html.Utf8 as Blaze import Control.Applicative import Control.Monad -import Control.Monad.Morph -import Control.Monad.Reader +import Control.Monad.Morph (MFunctor(..)) +import Control.Monad.Reader (MonadReader(..)) +import Control.Monad.IO.Class (MonadIO(..)) +import Control.Monad.Fix (MonadFix(..)) +import Control.Monad.Trans (MonadTrans(..)) import Control.Monad.Error.Class (MonadError(..)) import Control.Monad.State.Class (MonadState(..)) import Control.Monad.Writer.Class (MonadWriter(..)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lucid-2.11.0/src/Lucid/Html5.hs new/lucid-2.11.1/src/Lucid/Html5.hs --- old/lucid-2.11.0/src/Lucid/Html5.hs 2021-10-12 11:55:15.000000000 +0200 +++ new/lucid-2.11.1/src/Lucid/Html5.hs 2021-12-06 15:59:39.000000000 +0100 @@ -679,6 +679,10 @@ list_ :: Text -> Attribute list_ = makeAttribute "list" +-- | The @loading@ attribute. +loading_ :: Text -> Attribute +loading_ = makeAttribute "loading" + -- | The @loop@ attribute. loop_ :: Text -> Attribute loop_ = makeAttribute "loop" @@ -711,6 +715,10 @@ min_ :: Text -> Attribute min_ = makeAttribute "min" +-- | The @minlength@ attribute. +minlength_ :: Text -> Attribute +minlength_ = makeAttribute "minlength" + -- | The @multiple@ attribute. multiple_ :: Text -> Attribute multiple_ = makeAttribute "multiple" @@ -999,6 +1007,10 @@ placeholder_ :: Text -> Attribute placeholder_ = makeAttribute "placeholder" +-- | The @poster@ attribute. +poster_ :: Text -> Attribute +poster_ = makeAttribute "poster" + -- | The @preload@ attribute. preload_ :: Text -> Attribute preload_ = makeAttribute "preload"
participants (1)
-
Source-Sync