Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
scala-xml
[![Travis](https://img.shields.io/travis/scala/scala-xml.svg)](https://travis-ci.org/scala/scala-xml)
[![latest release for 2.11](https://img.shields.io/maven-central/v/org.scala-lang.modules/scala-xml_2.11.svg?label=scala+2.11)](http://mvnrepository.com/artifact/org.scala-lang.modules/scala-xml_2.11)
[![latest release for 2.12](https://img.shields.io/maven-central/v/org.scala-lang.modules/scala-xml_2.12.svg?label=scala+2.12)](http://mvnrepository.com/artifact/org.scala-lang.modules/scala-xml_2.12)
[![latest release for 2.13](https://img.shields.io/maven-central/v/org.scala-lang.modules/scala-xml_2.13.svg?label=scala+2.13)](http://mvnrepository.com/artifact/org.scala-lang.modules/scala-xml_2.13)
[![latest release for 3.0](https://img.shields.io/maven-central/v/org.scala-lang.modules/scala-xml_3.svg?label=scala+3)](http://mvnrepository.com/artifact/org.scala-lang.modules/scala-xml_3)
[![Gitter](https://badges.gitter.im/Join+Chat.svg)](https://gitter.im/scala/scala-xml)
=========

Expand All @@ -14,9 +14,7 @@ API documentation is available [here](https://javadoc.io/doc/org.scala-lang.modu

How to documentation is available in the [wiki](https://github.com/scala/scala-xml/wiki)

The latest stable release of Scala XML is 1.3.0.

The 2.0.0-RCx series supports Scala 3. See also the changes for 2.0 in `CHANGELOG.md`.
The latest stable release of Scala XML is 2.0.0.

## Maintenance status

Expand Down
18 changes: 4 additions & 14 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform)
case Some((3, _)) =>
Seq("-language:Scala2")
case _ =>
// Compiler team advised avoiding the -Xsource:2.14 option for releases.
// The output with -Xsource should be periodically checked, though.
// Compiler team advised avoiding the -Xsource:3 option for releases.
// The output with -Xsource:3 should be periodically checked, though.
Seq("-deprecation:false", "-feature", "-Xlint:-stars-align,-nullary-unit,_")
}),

Expand All @@ -56,23 +56,13 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform)
|additional information regarding copyright ownership.
|""".stripMargin)),

// Note: See discussion on Mima in https://github.com/scala/scala-xml/pull/517
scalaModuleMimaPreviousVersion := (CrossVersion.partialVersion(scalaVersion.value) match {
// pending resolution of https://github.com/scalacenter/sbt-version-policy/issues/62
case Some((3, _)) => None
case _ => Some("2.0.0-RC1")
}),
// Note: See discussion on non-JVM Mima in https://github.com/scala/scala-xml/pull/517
scalaModuleMimaPreviousVersion := Some("2.0.0"),
mimaReportSignatureProblems := true,
mimaBinaryIssueFilters ++= {
import com.typesafe.tools.mima.core._
import com.typesafe.tools.mima.core.ProblemFilters._
Seq(
// Deprecated in 2.0.0-RC2
exclude[MissingClassProblem]("scala.xml.factory.LoggedNodeFactory"),
exclude[DirectMissingMethodProblem]("scala.xml.parsing.MarkupHandler.log"),
// because we reverted #279
exclude[DirectMissingMethodProblem]("scala.xml.Utility.escapeText"),
exclude[MissingClassProblem]("scala.xml.Properties*"),
// afaict this is just a JDK 8 vs 16 difference, producing a false positive when
// we compare classes built on JDK 16 (which we only do on CI, not at release time)
// to previous-version artifacts that were built on 8. see scala/scala-xml#501
Expand Down