diff --git a/README.md b/README.md index 684d7f4e..4418c95b 100644 --- a/README.md +++ b/README.md @@ -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) ========= @@ -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 diff --git a/build.sbt b/build.sbt index dde62c42..52982f8f 100644 --- a/build.sbt +++ b/build.sbt @@ -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,_") }), @@ -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