diff --git a/README.md b/README.md index f990687..493d839 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ A functional library to work with XML in Scala using cats core. ```sbt -libraryDependencies += "com.github.geirolz" %% "cats-xml" % "0.0.8" +libraryDependencies += "com.github.geirolz" %% "cats-xml" % "0.0.9" ``` This library is not production ready yet. There is a lot of work to do to complete it: diff --git a/docs/compiled/README.md b/docs/compiled/README.md index f990687..493d839 100644 --- a/docs/compiled/README.md +++ b/docs/compiled/README.md @@ -11,7 +11,7 @@ A functional library to work with XML in Scala using cats core. ```sbt -libraryDependencies += "com.github.geirolz" %% "cats-xml" % "0.0.8" +libraryDependencies += "com.github.geirolz" %% "cats-xml" % "0.0.9" ``` This library is not production ready yet. There is a lot of work to do to complete it: diff --git a/docs/compiled/effect.md b/docs/compiled/effect.md index 3ea2e7e..cc2bdaf 100644 --- a/docs/compiled/effect.md +++ b/docs/compiled/effect.md @@ -3,7 +3,7 @@ Add cats-effect support. ```sbt -libraryDependencies += "com.github.geirolz" %% "cats-xml-effect" % "0.0.8" +libraryDependencies += "com.github.geirolz" %% "cats-xml-effect" % "0.0.9" ``` Use diff --git a/docs/compiled/generic.md b/docs/compiled/generic.md index f7cd674..604b969 100644 --- a/docs/compiled/generic.md +++ b/docs/compiled/generic.md @@ -3,7 +3,7 @@ At the moment supported only for Scala 2. ```sbt -libraryDependencies += "com.github.geirolz" %% "cats-xml-generic" % "0.0.8" +libraryDependencies += "com.github.geirolz" %% "cats-xml-generic" % "0.0.9" ``` ## XmlTypeInterpreter @@ -48,14 +48,14 @@ implicit val typeInterpreterFoo: XmlTypeInterpreter[Foo] = .overrideType( _.param(_.valueClass) -> XmlElemType.Attribute ) -// typeInterpreterFoo: XmlTypeInterpreter[Foo] = cats.xml.generic.XmlTypeInterpreter$$anon$1@5a45c7c5 +// typeInterpreterFoo: XmlTypeInterpreter[Foo] = cats.xml.generic.XmlTypeInterpreter$$anon$1@38d08357 implicit val decoderValueClass: Decoder[ValueClass] = deriveDecoder[ValueClass] -// decoderValueClass: Decoder[ValueClass] = cats.xml.codec.Decoder$$anonfun$of$2@7284d57c +// decoderValueClass: Decoder[ValueClass] = cats.xml.codec.Decoder$$anonfun$of$2@1ef71a8e implicit val decoderBar: Decoder[Bar] = deriveDecoder[Bar] -// decoderBar: Decoder[Bar] = cats.xml.codec.Decoder$$anonfun$of$2@211661e3 +// decoderBar: Decoder[Bar] = cats.xml.codec.Decoder$$anonfun$of$2@aaa57dd implicit val decoderFoo: Decoder[Foo] = deriveDecoder[Foo] -// decoderFoo: Decoder[Foo] = cats.xml.codec.Decoder$$anonfun$of$2@578ce8de +// decoderFoo: Decoder[Foo] = cats.xml.codec.Decoder$$anonfun$of$2@3a48d9c3 XmlNode("foo") .withAttributes( @@ -87,14 +87,14 @@ implicit val typeInterpreterFoo: XmlTypeInterpreter[Foo] = .overrideType( _.param(_.valueClass) -> XmlElemType.Attribute ) -// typeInterpreterFoo: XmlTypeInterpreter[Foo] = cats.xml.generic.XmlTypeInterpreter$$anon$1@7778683c +// typeInterpreterFoo: XmlTypeInterpreter[Foo] = cats.xml.generic.XmlTypeInterpreter$$anon$1@203b76c5 implicit val encoderValueClass: Encoder[ValueClass] = deriveEncoder[ValueClass] -// encoderValueClass: Encoder[ValueClass] = cats.xml.codec.DataEncoder$$anonfun$of$4@65f31649 +// encoderValueClass: Encoder[ValueClass] = cats.xml.codec.DataEncoder$$anonfun$of$4@7877d9a0 implicit val encoderBar: Encoder[Bar] = deriveEncoder[Bar] -// encoderBar: Encoder[Bar] = cats.xml.codec.Encoder$$anonfun$of$2@5509c831 +// encoderBar: Encoder[Bar] = cats.xml.codec.Encoder$$anonfun$of$2@40d91ac implicit val encoderFoo: Encoder[Foo] = deriveEncoder[Foo] -// encoderFoo: Encoder[Foo] = cats.xml.codec.Encoder$$anonfun$of$2@6d02afcb +// encoderFoo: Encoder[Foo] = cats.xml.codec.Encoder$$anonfun$of$2@733b4fc4 Foo( primitiveField = 1d, diff --git a/docs/compiled/standard.md b/docs/compiled/standard.md index 3b6c39b..6823248 100644 --- a/docs/compiled/standard.md +++ b/docs/compiled/standard.md @@ -3,7 +3,7 @@ Add standard scala XML interop support. ```sbt -libraryDependencies += "com.github.geirolz" %% "cats-xml-standard" % "0.0.8" +libraryDependencies += "com.github.geirolz" %% "cats-xml-standard" % "0.0.9" ``` Use diff --git a/docs/compiled/xpath.md b/docs/compiled/xpath.md index 8e6ea65..d9738dc 100644 --- a/docs/compiled/xpath.md +++ b/docs/compiled/xpath.md @@ -3,7 +3,7 @@ Add XPath support. ```sbt -libraryDependencies += "com.github.geirolz" %% "cats-xml-xpath" % "0.0.8" +libraryDependencies += "com.github.geirolz" %% "cats-xml-xpath" % "0.0.9" ``` With this module you can create `NodeCursor`s instances using XPath. @@ -16,7 +16,7 @@ import cats.xml.xpath.implicits.* val cursor: Either[XPathError, NodeCursor] = NodeCursor.fromXPath("/root[@id='1']") // cursor: Either[XPathError, NodeCursor] = Right( -// value = /root[filter cats.xml.xpath.CursorBuilder$PredicateBuilder$$$Lambda$24199/0x00000008046eb028@470c4e0b] +// value = /root[filter cats.xml.xpath.CursorBuilder$PredicateBuilder$$$Lambda$15700/0x00000008033d65a0@5a60c2a6] // ) ``` @@ -28,7 +28,7 @@ import cats.xml.xpath.implicits.* val cursor: Either[XPathError, NodeCursor] = xpath"/root[@id='1']" // cursor: Either[XPathError, NodeCursor] = Right( -// value = /root[filter cats.xml.xpath.CursorBuilder$PredicateBuilder$$$Lambda$24199/0x00000008046eb028@144843bc] +// value = /root[filter cats.xml.xpath.CursorBuilder$PredicateBuilder$$$Lambda$15700/0x00000008033d65a0@6f97ebd1] // ) ``` @@ -45,7 +45,7 @@ import cats.xml.xpath.implicits.* val cursor: Either[XPathError, NodeCursor] = xpath"/root[@id='1']" // cursor: Either[XPathError, NodeCursor] = Right( -// value = /root[filter cats.xml.xpath.CursorBuilder$PredicateBuilder$$$Lambda$24199/0x00000008046eb028@5ba95e2c] +// value = /root[filter cats.xml.xpath.CursorBuilder$PredicateBuilder$$$Lambda$15700/0x00000008033d65a0@23401cdf] // ) val data = XmlNode("wrapper").withChildren(