Skip to content

Commit 2651dfe

Browse files
authored
update build and readme, post-2.0.0 (#525)
1 parent 7f05451 commit 2651dfe

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
scala-xml
22
[![Travis](https://img.shields.io/travis/scala/scala-xml.svg)](https://travis-ci.org/scala/scala-xml)
3-
[![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)
43
[![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)
54
[![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)
5+
[![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)
66
[![Gitter](https://badges.gitter.im/Join+Chat.svg)](https://gitter.im/scala/scala-xml)
77
=========
88

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

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

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

2119
## Maintenance status
2220

build.sbt

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform)
3737
case Some((3, _)) =>
3838
Seq("-language:Scala2")
3939
case _ =>
40-
// Compiler team advised avoiding the -Xsource:2.14 option for releases.
41-
// The output with -Xsource should be periodically checked, though.
40+
// Compiler team advised avoiding the -Xsource:3 option for releases.
41+
// The output with -Xsource:3 should be periodically checked, though.
4242
Seq("-deprecation:false", "-feature", "-Xlint:-stars-align,-nullary-unit,_")
4343
}),
4444

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

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

0 commit comments

Comments
 (0)