Skip to content

Commit 9b7b3a8

Browse files
committed
Prepare 2.0.0 Final
1 parent d0b95f7 commit 9b7b3a8

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Versions
44

5+
### 2.0.0
6+
* mongo package no longer extends MongoImplcits => Use MongoImplcits trait if needed
7+
58
### 1.9.7
69
* Support for Dot notation in documents
710
* extend Document functions with getValue. updateValue, getIntValue ... (with dot support)

src/test/scala/com/sfxcode/nosql/mongo/operation/CrudSpec.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import com.sfxcode.nosql.mongo._
55
import com.sfxcode.nosql.mongo.dao.PersonSpecification
66
import com.sfxcode.nosql.mongo.model.CodecTest
77
import com.typesafe.scalalogging.LazyLogging
8+
import org.mongodb.scala.bson.ObjectId
89
import org.mongodb.scala.model.changestream.ChangeStreamDocument
910

1011
class CrudSpec extends PersonSpecification with LazyLogging {
@@ -20,6 +21,8 @@ class CrudSpec extends PersonSpecification with LazyLogging {
2021
val list: List[CodecTest] = CodecDao.find().resultList()
2122
list.size mustEqual 1
2223

24+
list.head._id must haveClass[ObjectId]
25+
2326
def consumeCodecChanges(changeStreamDocument: ChangeStreamDocument[CodecTest]): Unit =
2427
logger.info(
2528
"codec changed %s:%s with ID: %s".format(

version.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version in ThisBuild := "1.9.10-SNAPSHOT"
1+
version in ThisBuild := "2.0.0-SNAPSHOT"

0 commit comments

Comments
 (0)