Skip to content

Releases: scala/scala-xml

Scala Standard XML Library 2.0.0-M2

15 Sep 23:28
04980b0
Compare
Choose a tag to compare
Pre-release

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

17 Mar 00:42
Compare
Choose a tag to compare
  • 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

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

22 Oct 01:48
e2e709f
Compare
Choose a tag to compare

Scala Standard XML Library v1.2.0

05 Apr 15:48
a2f5810
Compare
Choose a tag to compare

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 in dtd.Decl #270
  • Remove name field in transform.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

26 Sep 17:22
476fbdd
Compare
Choose a tag to compare

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 adjacent Text() nodes
  • Fix #160, support nested escaped CDATA sections
  • Fix #192, deprecate XMLEventReader, and suggest javax.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

18 May 13:48
Compare
Choose a tag to compare
v1.1.0#2.13.0-M4#8

Update to scalajs 0.6.23

Scala Standard XML Library v1.1.0

20 Feb 17:51
4a54464
Compare
Choose a tag to compare

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 in MetaData.normalize
  • Revert Utility.escape implementation to use Iterator instead of while 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

20 Sep 09:20
Compare
Choose a tag to compare

The following changes have been incorporated in this release

  • Following issues have been fixed and enhancements made:
    • Merged #59 Exponential complexity in BasicTransformer fixing #58
    • Merged #91 Empty xmlns attribute fixes #45
    • Merged #92 Fix #35 OOM on malformed input
  • 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

24 Jul 19:05
Compare
Choose a tag to compare

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

04 Dec 20:10
Compare
Choose a tag to compare

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!