Releases: scala/scala-xml
Scala Standard XML Library 2.0.0-M2
Targets
Published for Scala 2.12 and 2.13, Scala.js 1.2.0, and Dotty 0.27.0-RC1.
Removed
- Removed
scala.xml.dtd.ElementValidator
Scala Standard XML Library v1.3.0
- Fixes regression on Scala 2.13, issue #392, concerning the collections implementation for
NodeSeq
- Publish for Scala.js 1.0
- Update Scala.js to 0.6.32
- Update Scala to 2.12.10 and 2.13.1
- Various unused public classes and methods are deprecated
- Deprecate definitions under
scala.xml.persistent
CachedFileStorage
Index
SetStorage
- Deprecate
scala.xml.dtd.impl.PointedHedgeExp
- Deprecate
scala.xml.dtd.Scanner
- Deprecate
scala.xml.dtd.ContentModelParser
- Deprecate
scala.xml.dtd.ElementValidator
- Deprecate
scala.xml.factory.Binder
- Deprecate
scala.xml.parsing.ValidatingMarkupHandler
- Deprecate definitions under
The items deprecated above are already deleted in the 2.0.0-M1 milestone release, which see https://github.com/scala/scala-xml/blob/v2.0.0-M1/CHANGELOG.md
Scala Standard XML Library v2.0.0-M1
Scala Standard XML Library v1.2.0
This is a small bug-fix release, but is released as 1.2.0 since it includes all the Scala 2.13 changes in preparation for the impending Scala 2.13.0 final. There is also a small breaking change to scala.xml.transform.RewriteRule
, but it should be inconsequential.
Release notes
- Various changes for 2.13.0 support #276, #256, #217
- Fix match result for attribute search of empty string #249
- Fix missing
toString
indtd.Decl
#270 - Remove
name
field intransform.RewriteRule
#129 - Update Scala.js from 0.6.26 #274
- Update Scala.js from 1.0.0-M6 #260
- Update Scala.js to 0.6.27 and 1.0.0-M7 #283
- Fix license in POM file to Apache License 2.0 #275
Binary compatibility
This release is not backwards compatible with the last release of scala-xml, 1.1.1, because of the small change that removes the name
field from transform.RewriteRule
, see #129. It appears to have been an unused vestigial class member in a rarely used class, so it's likely of low risk.
Scala Standard XML Library v1.1.1
This is a patch release of Scala XML that is binary and source compatible with the previous release, 1.1.0.
Release notes
- Fix #73,
Utility.trim
should handle whitespace between adjacentText()
nodes - Fix #160, support nested escaped CDATA sections
- Fix #192, deprecate
XMLEventReader
, and suggestjavax.xml.stream.events.XMLEvent
- Fix #32 and #209, out-of-memory error with
ConstructingParser
- Fix #231, avoid splitting up empty elements with
PrettyPrinter(minimizeEmpty = true)
- Fix #251, make invalid argument exception the same type for
NodeSeq.\\()
- Fix #259, null pointer exception for DOCTYPE in
XhtmlParser
- Update Scala.js to 0.6.25 and 1.0.0-M5, #263
- Doc fixes and improvements for #178, #214, and #232
- Change license to Apache 2.0, #227
This release was made possible by contributions from the following people:
- Hosam Aly
- Ethan J. Eldridge
- Manish Ghildiyal
- Aaron S. Hawley
- Lukas Rytz
- Artem Stasiuk
- Sean Sullivan
- Seth Tisue
- Kenji Yoshida
Thanks also to everyone who submitted bug reports and contributed to discussions.
v1.1.0 for Scala 2.13.0-M4
v1.1.0#2.13.0-M4#8 Update to scalajs 0.6.23
Scala Standard XML Library v1.1.0
Compatability
This is a minor release, not a patch release. The default character encoding to XML.save was changed to UTF-8 from ISO-8859-1 which is not forward-compatible. However, this release is binary and source compatible with the previous release, 1.0.6.
Release notes
The following changes have been incorporated in this release:
- Add Scala.js support with #109, #131, #133
- Fix #121, changes default encoding in
XML.save
to UTF-8 in #122 - Fix #46 with new config for minimizing tags in
PrettyPrinter
, see #90 - Fix defect #72
XMLEventReader
does not handle'
properly with #89 - Fix defect #44 with fifth-edition names SI-9060 in #93
- Fix defect #115
NodeBuffer.toString
with #117 - Fix defect #118 Scaladoc links in apidocs to Scala standard library with #119
- Fix performance issue #136 lock contention from
lazy val
inMetaData.normalize
- Revert
Utility.escape
implementation to useIterator
instead ofwhile
with #102 - Fixed defect #154 with
NodeSeq
serialization with #155 - Fixed defect #183 with
stripComments
Thanks
This release was made possible by contributions from the following people:
- 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
- Olaf Tomczak
- Andrew Ward
- Dale Wijnand
- Ningning Xie
- Kenji Yoshida
We would like to thank them for their help.
Scala Standard XML Library v1.0.6
The following changes have been incorporated in this release
- Following issues have been fixed and enhancements made:
- Administrative:
- Remove stale branch, wip/jsuereth-use-module-plugin
- Update crossScalaVersions to 2.11.8 from 2.11.7
- Update crossScalaVersions to 2.12.0-M3 from 2.12.0-M1 and 2.12.0-M2
- Change mimaPreviousVersion in build.sbt to more recent scala-xml than 1.0.1
- Ask Scala compiler to update versions.properties to next release of scala-xml
- Merged #67 Travis container changes
- Merged #69, #70, #80 README updates
- Merged #78 Add more unit tests for #43
- Merged #87 Enable SBT builds for Java 1.7 and 1.9
- Merged #88 Unit test for verifying complexity in #59
- Merged #81 Use NodeSeq.fromSeq
- Merged #84 Remove final keyword from scala.xml.MetaData per FIXME
- Merged #108 build for 2.12.0-RC1 #108
This release was made possible by contributions from @SethTisue, @adriaanm, @ashawley, @lrytz, @som-snytt.
We would like to thank them for their help.
Scala Standard XML Library v1.0.5
no user-visible changes. just changing how some tests are run so we can remove a hack in the Scala 2.12 build. see #51 for details
Scala Standard XML Library v1.0.3
This release will ship with Scala 2.11.5.
We merged these pull requests.
This release was made possible by @ashawley, @bartschuller, @medovina, and @ptwithy -- thank you!