Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Non-AWS dependency updates #2727

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
9096ace
Update sbt-bloop to 2.0.2
wellcome-collection-scala-steward[bot] Oct 7, 2024
6a31d01
Update logback-access to 1.5.8
wellcome-collection-scala-steward[bot] Oct 7, 2024
e9a8c24
Update enumeratum to 1.7.5
wellcome-collection-scala-steward[bot] Oct 7, 2024
90ebef3
Update enumeratum-scalacheck to 1.7.5
wellcome-collection-scala-steward[bot] Oct 7, 2024
9a2f758
Update scala-csv to 1.4.1
wellcome-collection-scala-steward[bot] Oct 7, 2024
670ae25
Update fastparse to 3.1.1
wellcome-collection-scala-steward[bot] Oct 7, 2024
75dd275
Update mysql-connector-j to 8.4.0
wellcome-collection-scala-steward[bot] Oct 7, 2024
b4577fc
Update flyway-core to 10.19.0
wellcome-collection-scala-steward[bot] Oct 7, 2024
ba3e2c3
Update scala-library to 2.13.15
wellcome-collection-scala-steward[bot] Oct 7, 2024
6880171
Update scala-xml to 2.3.0
wellcome-collection-scala-steward[bot] Oct 7, 2024
0f30e67
Update sbt to 1.10.2
wellcome-collection-scala-steward[bot] Oct 7, 2024
d3467de
Update scalafmt-core to 3.8.3
wellcome-collection-scala-steward[bot] Oct 7, 2024
066e20f
Reformat with scalafmt 3.8.3
wellcome-collection-scala-steward[bot] Oct 7, 2024
06eccf0
Add 'Reformat with scalafmt 3.8.3' to .git-blame-ignore-revs
wellcome-collection-scala-steward[bot] Oct 7, 2024
3e38ad0
Update scalacheck-1-14 to 3.2.2.0
wellcome-collection-scala-steward[bot] Oct 7, 2024
96d56ca
Update scalikejdbc to 3.5.0
wellcome-collection-scala-steward[bot] Oct 7, 2024
6df0a66
Merge branch 'main' into update/non_aws
paul-butcher Jan 7, 2025
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
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Scala Steward: Reformat with scalafmt 3.7.17
8d45a17f8613d549fc15af04d9f22199bf4f2c41

# Scala Steward: Reformat with scalafmt 3.8.3
066e20fcccd07ac97137c23b1a5a135ac06bbb31
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.7.17"
version = "3.8.3"
align.openParenCallSite = false
continuationIndent.defnSite = 2
rewrite.rules = [SortImports]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ class AvailabilityTest
)
val workAvailabilities = Availabilities.forWorkData(work.data)

workAvailabilities should contain allOf (Availability.ClosedStores, Availability.Online)
workAvailabilities should contain allOf (
Availability.ClosedStores,
Availability.Online
)
}

it("does not add either availability if no conditions are satisfied") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ trait WorkGenerators
sourceIdentifier = internalWork.sourceIdentifier,
canonicalId = internalWork.state.canonicalId,
workData = internalWork.data
),
)
)
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,7 @@ class WorkPredicatesTest
forAll(filtered) {
work =>
work.data.format should contain oneOf
(Format.Pictures,
Format.DigitalImages,
Format.`3DObjects`)
(Format.Pictures, Format.DigitalImages, Format.`3DObjects`)
}
}

Expand Down
2 changes: 1 addition & 1 deletion project/Common.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import sbt._

object Common {
val settings: Seq[Def.Setting[_]] = Seq(
scalaVersion := "2.12.20",
scalaVersion := "2.13.15",
organization := "weco",
scalacOptions ++= Seq(
"-deprecation",
Expand Down
20 changes: 10 additions & 10 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,16 @@ object ExternalDependencies {
val awsLambdaEvents = "3.14.0"
val circe = "0.14.1"
val diffJson = "4.1.1"
val fastparse = "2.3.3"
val fastparse = "3.1.1"
val scalatest = "3.2.19"
val scalatestplus = "3.1.4.0"
val scalatestplus = "3.2.2.0"
val scalacheckShapeless = "1.1.8"
val scalacsv = "1.3.10"
val scalacsv = "1.4.1"
val scalaGraph = "1.13.1"
val enumeratum = "1.7.4"
val enumeratumScalacheck = "1.7.4"
val enumeratum = "1.7.5"
val enumeratumScalacheck = "1.7.5"
val jsoup = "1.18.1"
val logback = "1.1.11"
val logback = "1.5.8"
val scalatestPlus = "3.2.12.0"
val scalatestPlusMockitoArtifactId = "mockito-4-5"
val uPickle = "3.3.1"
Expand Down Expand Up @@ -133,9 +133,9 @@ object ExternalDependencies {
val mySqlDependencies = Seq(
// Version 7.15.0 is the latest version of Flyway which supports MySQL 5.7. To update to a newer version of Flyway,
// we would also need to update the MySQL tei-adapter-cluster and identifiers-delta-cluster databases in RDS.
"org.flywaydb" % "flyway-core" % "7.15.0",
"org.scalikejdbc" %% "scalikejdbc" % "3.4.2",
"com.mysql" % "mysql-connector-j" % "8.2.0"
"org.flywaydb" % "flyway-core" % "10.19.0",
"org.scalikejdbc" %% "scalikejdbc" % "3.5.0",
"com.mysql" % "mysql-connector-j" % "8.4.0"
)

val scalacheckDependencies = Seq(
Expand All @@ -161,7 +161,7 @@ object ExternalDependencies {
)

val scalaXmlDependencies = Seq(
"org.scala-lang.modules" %% "scala-xml" % "1.3.1"
"org.scala-lang.modules" %% "scala-xml" % "2.3.0"
)

val jsoupDependencies = Seq(
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sbt.version=1.9.9
sbt.version=1.10.2

2 changes: 1 addition & 1 deletion project/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
scalaVersion := "2.12.20"
scalaVersion := "2.13.15"
scalacOptions ++= Seq(
"-deprecation",
"-feature"
Expand Down
2 changes: 1 addition & 1 deletion project/metals.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// DO NOT EDIT! This file is auto-generated.
// This file enables sbt-bloop to create bloop config files.

addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.6.0")
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "2.0.2")
2 changes: 1 addition & 1 deletion project/project/metals.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// DO NOT EDIT! This file is auto-generated.
// This file enables sbt-bloop to create bloop config files.

addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.6.0")
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "2.0.2")
2 changes: 1 addition & 1 deletion project/project/project/metals.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// DO NOT EDIT! This file is auto-generated.
// This file enables sbt-bloop to create bloop config files.

addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.6.0")
addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "2.0.2")
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,14 @@ class PathIdManagerTest extends AnyFunSpec with PathIdDatabase {
messageSender
.getMessages[
TeiIdMessage
]() should contain only (TeiIdChangeMessage(
id = updatedPathId.id,
s3Location = expectedS3Location,
newTime
), TeiIdDeletedMessage(id = "manuscript_1234", newTime))
]() should contain only (
TeiIdChangeMessage(
id = updatedPathId.id,
s3Location = expectedS3Location,
newTime
),
TeiIdDeletedMessage(id = "manuscript_1234", newTime)
)

}
}
Expand Down Expand Up @@ -311,11 +314,14 @@ class PathIdManagerTest extends AnyFunSpec with PathIdDatabase {
messageSender
.getMessages[
TeiIdMessage
]() should contain only (TeiIdChangeMessage(
id = id2,
s3Location = expectedS3Location,
newTime
), TeiIdDeletedMessage(id = id1, newTime))
]() should contain only (
TeiIdChangeMessage(
id = id2,
s3Location = expectedS3Location,
newTime
),
TeiIdDeletedMessage(id = id1, newTime)
)

}
}
Expand Down
Loading