Skip to content

Commit f050d78

Browse files
committed
chore(Dependencies): mongo scala driver 4.7.2
1 parent da705a5 commit f050d78

File tree

5 files changed

+16
-13
lines changed

5 files changed

+16
-13
lines changed

CHANGES.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33

44
## Versions
55

6+
### 2.5.1
7+
* mongo-scala-driver [4.7.2](https://mongodb.github.io/mongo-java-driver/4.7/driver-scala/)
8+
69
### 2.5.0
710
* Github namespace changed to mongocamp organization, name changes to mongocamp-driver-mongodb
8-
* * mongo-scala-driver [4.7.0](https://mongodb.github.io/mongo-java-driver/4.7/driver-scala/)
11+
* mongo-scala-driver [4.7.0](https://mongodb.github.io/mongo-java-driver/4.7/driver-scala/)
912

1013
### 2.4.0
1114
* Github namespace changed to mongocamp organization, name changes to mongocamp-driver-mongodb

build.sbt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ developers := List(
3939

4040
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))
4141

42-
crossScalaVersions := Seq("2.13.8", "2.12.15")
42+
crossScalaVersions := Seq("2.13.10", "2.12.15")
4343

4444
scalaVersion := crossScalaVersions.value.head
4545

@@ -80,27 +80,27 @@ resolvers += "Sonatype OSS Snapshots".at("https://oss.sonatype.org/content/repos
8080

8181
// Test
8282

83-
libraryDependencies += "org.specs2" %% "specs2-core" % "4.16.1" % Test
83+
libraryDependencies += "org.specs2" %% "specs2-core" % "4.17.0" % Test
8484

85-
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.11" % Test
85+
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.4.4" % Test
8686

87-
libraryDependencies += "joda-time" % "joda-time" % "2.10.14" % Test
87+
libraryDependencies += "joda-time" % "joda-time" % "2.11.2" % Test
8888

89-
val circeVersion = "0.14.2"
89+
val circeVersion = "0.14.3"
9090

9191
libraryDependencies ++= Seq(
9292
"io.circe" %% "circe-core",
9393
"io.circe" %% "circe-generic",
9494
"io.circe" %% "circe-parser"
9595
).map(_ % circeVersion % Test)
9696

97-
libraryDependencies += "org.mongodb.scala" %% "mongo-scala-driver" % "4.7.0"
97+
libraryDependencies += "org.mongodb.scala" %% "mongo-scala-driver" % "4.7.2"
9898

9999
libraryDependencies += "org.xerial.snappy" % "snappy-java" % "1.1.8.4" % Provided
100100

101-
libraryDependencies += "com.github.luben" % "zstd-jni" % "1.5.2-3" % Provided
101+
libraryDependencies += "com.github.luben" % "zstd-jni" % "1.5.2-4" % Provided
102102

103-
val MongoJavaServerVersion = "1.40.0"
103+
val MongoJavaServerVersion = "1.41.0"
104104

105105
libraryDependencies += "de.bwaldvogel" % "mongo-java-server" % MongoJavaServerVersion % Provided
106106

@@ -112,7 +112,7 @@ libraryDependencies += "com.typesafe" % "config" % "1.4.2"
112112

113113
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.9.5"
114114

115-
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.8.0"
115+
libraryDependencies += "org.scala-lang.modules" %% "scala-collection-compat" % "2.8.1"
116116

117117
buildInfoPackage := "dev.mongocamp.driver.mongodb"
118118

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mongodb-driver",
3-
"version": "2.5.1.snapshot",
3+
"version": "2.5.1",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/MongoCamp/mongodb-driver.git"

project/build.properties

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

src/main/scala/dev/mongocamp/driver/mongodb/operation/Base.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ abstract class Base[A]()(implicit ct: ClassTag[A]) extends LazyLogging {
7474

7575
def indexList(): List[MongoIndex] = MongoIndex.convertIndexDocumentsToMongoIndexList(listIndexes)
7676

77-
def indexForName(name: String): Option[MongoIndex] = indexList.find(_.name.equals(name))
77+
def indexForName(name: String): Option[MongoIndex] = indexList().find(_.name.equals(name))
7878

7979
def hasIndexForField(fieldName: String): Boolean = indexList().exists(index => index.fields.contains(fieldName))
8080

0 commit comments

Comments
 (0)