Update: Because the Lift Framework community found that changes in the next release broke source compatibility, the next release of scala-xml will be 1.1.0, not 1.0.7. Thanks for Joe Barnes for reporting this issue.
Announcement
The next maintenance release of scala-xml will be 1.1.0 and will include the following user changes:
- Preliminary support for scala-xml from Scala.js
- The default encoding in
XML.save
andXML.write
will be UTF-8 instead of ISO-8859-1 - The XML pretty-printer has a new option
minimizeTags
for minimizing tags - Fix for a defect in the handling of apos entity in the
XMLEventReader
- Fix for defect in SI-9060 with fifth-edition names by handling colons and full stop characters in XML names
- Fix for a tiny defect with toString method for
NodeBuffer
- Fix for the defect with doc generation for links to Scala standard library
- Fix performance issue related to lock contention from
lazy val
inMetaData.normalize
- Revert
Utility.escape
implementation to use Iterator instead of while - Convert deprecated use of
mutable.Stack
toList
in the abstract classscala.xml.parsing.FactoryAdapter
, including the implemented classNoBindingFactoryAdapter
and the static member,scala.xml.factory.XML.adapter
.
The next version of scala-xml will be released for:
- Scala.js 0.6,
- Scala 2.11,
- 2.12 and
- 2.13.0-M1
For more details on the next release and the changes above, see the following GitHub issue https://github.com/scala/scala-xml/issues/156
Thanks to the following contributors in this release:
- Joe Barnes
- Olivier Blanvillain
- Fehmi Can Saglam
- Sébastien Doeraene
- Aaron S. Hawley
- Juris Krikis
- Andrew Marki
- Lukas Rytz
- Platon Pronko
- Joerg Schmuecker
- Biswanath Senapati
- Seth Tisue
- Dale Wijnand
- Ningning Xie
- and anyone that was failed to mention
Background
The current available release of scala-xml is 1.0.6. It was published in Sep-2016.
The scala-xml library was originally distributed with the compiler, but since 2.11 has been decoupled. Using the language’s XML syntax became an optional runtime, that could be added with the following sbt dependency entry:
"org.scala-lang.modules" %% "scala-xml" % "1.0.6",
The scala-xml library is a community-maintained library separate from the compiler project.
Going forward
There are more significant bug fixes, feature requests and security enhancements proposed in the issue tracker that will be taken up in subsequent releases. Contributors are welcome.