Skip to content

Commit 94fb7ce

Browse files
authored
Merge branch 'main' into remove-redundant-plugin-dep
2 parents 7571169 + b84a5a7 commit 94fb7ce

File tree

8 files changed

+26
-26
lines changed

8 files changed

+26
-26
lines changed

.circleci/config.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -102,62 +102,62 @@ workflows:
102102
- scala_job:
103103
name: 2.13.x
104104
java_version: jdk8
105-
scala_version: 2.13.16
105+
scala_version: 2.13.17
106106
- scala_job:
107107
name: 3.x
108108
java_version: jdk8
109-
scala_version: 3.3.6
109+
scala_version: 3.3.7
110110
- scala_job:
111111
name: jdk11_2.12.x
112112
java_version: jdk11
113113
scala_version: 2.12.20
114114
- scala_job:
115115
name: jdk11_2.13.x
116116
java_version: jdk11
117-
scala_version: 2.13.16
117+
scala_version: 2.13.17
118118
- scala_job:
119119
name: jdk11_3.x
120120
java_version: jdk11
121-
scala_version: 3.3.6
121+
scala_version: 3.3.7
122122
- scala_job:
123123
name: jdk17_2.12.x
124124
java_version: jdk17
125125
scala_version: 2.12.20
126126
- scala_job:
127127
name: jdk17_2.13.x
128128
java_version: jdk17
129-
scala_version: 2.13.16
129+
scala_version: 2.13.17
130130
- scala_job:
131131
name: jdk17_3.x
132132
java_version: jdk17
133-
scala_version: 3.3.6
133+
scala_version: 3.3.7
134134
- scala_job:
135135
name: jdk21_2.12.x
136136
java_version: jdk21
137137
scala_version: 2.12.20
138138
- scala_job:
139139
name: jdk21_2.13.x
140140
java_version: jdk21
141-
scala_version: 2.13.16
141+
scala_version: 2.13.17
142142
- scala_job:
143143
name: jdk21_3.x
144144
java_version: jdk21
145-
scala_version: 3.3.6
145+
scala_version: 3.3.7
146146
- scalajs_job:
147147
name: sjs1.0_2.12.x
148148
scala_version: 2.12.20
149149
- scalajs_job:
150150
name: sjs1.0_2.13.x
151-
scala_version: 2.13.16
151+
scala_version: 2.13.17
152152
- scalajs_job:
153153
name: sjs1.0_3.x
154-
scala_version: 3.3.6
154+
scala_version: 3.3.7
155155
- scalanative_job:
156156
name: native0.4_2.12.x
157157
scala_version: 2.12.20
158158
- scalanative_job:
159159
name: native0.4_2.13.x
160-
scala_version: 2.13.16
160+
scala_version: 2.13.17
161161
- scalanative_job:
162162
name: native0.4_3.x
163-
scala_version: 3.3.6
163+
scala_version: 3.3.7

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
scala: [2.12.x, 2.13.x, 3.x]
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717
with:
1818
fetch-depth: 0
19-
- uses: actions/setup-java@v4
19+
- uses: actions/setup-java@v5
2020
with:
2121
distribution: temurin
2222
java-version: ${{matrix.java}}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ jobs:
66
publish:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4
9+
- uses: actions/checkout@v5
1010
with:
1111
fetch-depth: 0
12-
- uses: actions/setup-java@v4
12+
- uses: actions/setup-java@v5
1313
with:
1414
distribution: temurin
1515
java-version: 8

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ scala-xml
44
[![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)
55
=========
66

7-
The standard Scala XML library. Please file XML issues here, not at https://github.com/scala/bug/issues or http://github.com/lampepfl/dotty/issues.
7+
The standard Scala XML library. Please file XML issues here, not at https://github.com/scala/bug/issues or http://github.com/scala/scala3/issues.
88

99
The decoupling of scala-xml from the Scala compiler and standard library is possible because the compiler desugars XML literals in Scala source code into a set of method calls.
1010
Alternative implementations of these calls are welcome!
1111
Compiler code that shows the calls needed:
1212
[Scala 2.11](https://github.com/scala/scala/blob/2.11.x/src/compiler/scala/tools/nsc/ast/parser/SymbolicXMLBuilder.scala),
1313
[Scala 2.12](https://github.com/scala/scala/blob/2.12.x/src/compiler/scala/tools/nsc/ast/parser/SymbolicXMLBuilder.scala),
1414
[Scala 2.13](https://github.com/scala/scala/blob/2.13.x/src/compiler/scala/tools/nsc/ast/parser/SymbolicXMLBuilder.scala),
15-
[Scala 3](https://github.com/lampepfl/dotty/blob/main/compiler/src/dotty/tools/dotc/parsing/xml/SymbolicXMLBuilder.scala).
15+
[Scala 3](https://github.com/scala/scala3/blob/main/compiler/src/dotty/tools/dotc/parsing/xml/SymbolicXMLBuilder.scala).
1616

1717
API documentation is available [here](https://javadoc.io/doc/org.scala-lang.modules/scala-xml_2.13/).
1818

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform)
3737
.settings(
3838
name := "scala-xml",
3939
scalaModuleAutomaticModuleName := Some("scala.xml"),
40-
crossScalaVersions := Seq("2.13.16", "2.12.20", "3.3.6"),
40+
crossScalaVersions := Seq("2.13.17", "2.12.20", "3.3.7"),
4141
scalaVersion := "2.12.20",
4242

4343
scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
@@ -166,7 +166,7 @@ lazy val xml = crossProject(JSPlatform, JVMPlatform, NativePlatform)
166166

167167
libraryDependencies += "junit" % "junit" % "4.13.2" % Test,
168168
libraryDependencies += "com.github.sbt" % "junit-interface" % "0.13.3" % Test,
169-
libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.17.0" % Test,
169+
libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.19.0" % Test,
170170
libraryDependencies += "xerces" % "xercesImpl" % "2.12.2" % Test,
171171
libraryDependencies ++= (CrossVersion.partialVersion(scalaVersion.value) match {
172172
case Some((3, _)) =>

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.11.0
1+
sbt.version=1.11.7

project/plugins.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "3.2.2")
1+
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "3.3.0")
22
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")
33
addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "1.3.2")
4-
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.19.0")
5-
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.7")
4+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.20.1")
5+
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.9")

shared/src/main/scala/scala/xml/parsing/MarkupParser.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ trait MarkupParser extends MarkupParserCommon with TokenTests {
6060
// See ticket #3720 for motivations.
6161
// As for why it's `private[parsing]` rather than merely `private`, see
6262
// https://github.com/scala/scala-xml/issues/541 ; the broader access is necessary,
63-
// for now anyway, to work around https://github.com/lampepfl/dotty/issues/13096
63+
// for now anyway, to work around https://github.com/scala/scala3/issues/13096
6464
private[parsing] class WithLookAhead(underlying: Source) extends Source {
6565
private val queue: scala.collection.mutable.Queue[Char] = scala.collection.mutable.Queue[Char]()
6666
def lookahead(): BufferedIterator[Char] = {
@@ -99,7 +99,7 @@ trait MarkupParser extends MarkupParserCommon with TokenTests {
9999

100100
/** holds temporary values of pos */
101101
// Note: if marked as an override, this causes a "...cannot override a mutable variable" error with Scala 3;
102-
// SethTisue noted on Oct 14, 2021 that lampepfl/dotty#13744 should fix it - and it probably did,
102+
// SethTisue noted on Oct 14, 2021 that scala/scala3#13744 should fix it - and it probably did,
103103
// but Scala XML still builds against Scala 3 version that has this bug, so this still can not be marked as an override :(
104104
var tmppos: Int = _
105105

0 commit comments

Comments
 (0)