xml-html-conduit-lens 0.3.2.4 → 0.4
raw patch · 5 files changed
+18/−9 lines, 5 filesdep ~containersdep ~textdep ~xml-conduitPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: containers, text, xml-conduit
API changes (from Hackage documentation)
- Text.Xml.Lens: instance Text.Xml.Lens.AsInvalidEventStream GHC.Exception.SomeException
- Text.Xml.Lens: instance Text.Xml.Lens.AsUnresolvedEntityException GHC.Exception.SomeException
- Text.Xml.Lens: instance Text.Xml.Lens.AsXMLException GHC.Exception.SomeException
+ Text.Xml.Lens: instance Text.Xml.Lens.AsInvalidEventStream GHC.Exception.Type.SomeException
+ Text.Xml.Lens: instance Text.Xml.Lens.AsUnresolvedEntityException GHC.Exception.Type.SomeException
+ Text.Xml.Lens: instance Text.Xml.Lens.AsXMLException GHC.Exception.Type.SomeException
- Text.Xml.Lens: data Doctype :: *
+ Text.Xml.Lens: data Doctype
- Text.Xml.Lens: data Document :: *
+ Text.Xml.Lens: data Document
- Text.Xml.Lens: data Element :: *
+ Text.Xml.Lens: data Element
- Text.Xml.Lens: data Instruction :: *
+ Text.Xml.Lens: data Instruction
- Text.Xml.Lens: data Name :: *
+ Text.Xml.Lens: data Name
- Text.Xml.Lens: data ParseSettings :: *
+ Text.Xml.Lens: data ParseSettings
- Text.Xml.Lens: data Prologue :: *
+ Text.Xml.Lens: data Prologue
- Text.Xml.Lens: data RenderSettings :: *
+ Text.Xml.Lens: data RenderSettings
- Text.Xml.Lens: data UnresolvedEntityException :: *
+ Text.Xml.Lens: data UnresolvedEntityException
- Text.Xml.Lens: data XMLException :: *
+ Text.Xml.Lens: data XMLException
Files
- CHANGELOG.md +5/−0
- example/books.hs +2/−2
- src/Text/Xml/Lens.hs +1/−1
- src/Text/Xml/Lens/LowLevel.hs +4/−0
- xml-html-conduit-lens.cabal +6/−6
CHANGELOG.md view
@@ -1,3 +1,8 @@+0.4+===++ * Supported `xml-conduit-1.10`+ 0.3.2.2 =======
example/books.hs view
@@ -94,7 +94,7 @@ -- </book> -- <book category="Textbooks"> -- <title>Real World Haskell</title>--- <author year="2008">Bryan O'Sullivan, Don Stewart, and John Goerzen</author>+-- <author year="2008">Bryan O'Sullivan, Don Stewart, and John Goerzen</author> -- <pages>700 pages</pages> -- </book> -- <book category="TextBooks">@@ -109,7 +109,7 @@ -- </book> -- <book category="Joke"> -- <title>Functional Ikamusume</title>--- <author>Team "Referential Transparent Sea Keepers"</author>+-- <author>Team "Referential Transparent Sea Keepers"</author> -- </book> -- </books> appendPages :: AsXmlDocument t => t -> t
src/Text/Xml/Lens.hs view
@@ -113,7 +113,7 @@ -- | XML document parsing and rendering with the default settings _XmlDocument :: AsXmlDocument t => Prism' t Document-_XmlDocument = _XmlDocumentWith def def+_XmlDocument = _XmlDocumentWith (const def) (const def) {-# INLINE _XmlDocument #-} -- | HTML document parsing overloading
src/Text/Xml/Lens/LowLevel.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} -- | Optics Template Haskell could generate, but didn't module Text.Xml.Lens.LowLevel where @@ -11,6 +12,9 @@ ) import Text.XML.Stream.Parse (DecodeEntities) import qualified Text.XML as XML+#if MIN_VERSION_xml_conduit(1,10,0)+import qualified Text.XML.Stream.Render.Internal as XML (rsPretty)+#endif -- | A Lens into 'XML.psDecodeEntities' psDecodeEntities :: Lens' ParseSettings DecodeEntities
xml-html-conduit-lens.cabal view
@@ -1,5 +1,5 @@ name: xml-html-conduit-lens-version: 0.3.2.4+version: 0.4 synopsis: Optics for xml-conduit and html-conduit description: Optics for xml-conduit and html-conduit homepage: https://github.com/supki/xml-html-conduit-lens#readme@@ -27,7 +27,7 @@ source-repository this type: git- tag: 0.3.2.4+ tag: 0.4 location: https://github.com/supki/xml-html-conduit-lens library@@ -37,9 +37,9 @@ base >= 4 && < 5 , bytestring , lens >= 4.0.1- , containers >= 0.4.0 && < 0.6- , text >= 0.11 && < 1.3- , xml-conduit >= 1.1 && < 1.9+ , containers >= 0.4.0 && < 0.9+ , text >= 0.11 && < 2.2+ , xml-conduit >= 1.9 && < 1.11 , html-conduit >= 1.1 && < 1.4 hs-source-dirs: src@@ -68,7 +68,7 @@ , hspec , hspec-expectations-lens >= 0.3 , lens >= 4.0- , xml-conduit >= 1.1 && < 1.9+ , xml-conduit >= 1.1 && < 1.11 , xml-html-conduit-lens other-modules: Text.Xml.LensSpec