Skip to content

Commit 8ffa9f3

Browse files
author
QuadStingray
committed
ci: prepare release of version 2.6.0
1 parent c250e5a commit 8ffa9f3

File tree

14 files changed

+76
-42
lines changed

14 files changed

+76
-42
lines changed

CHANGELOG.md

Lines changed: 43 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,68 @@
1-
### [2.5.4](https://github.com/MongoCamp/mongodb-driver/compare/v2.5.3...v2.5.4) (2023-02-12)
1+
## [2.6.0]() (2023-04-01)
2+
3+
4+
### Bug Fixes
5+
6+
* pagination aggregation should always use the RAW-DAO ([0bf5dc9](https://github.com/MongoCamp/mongodb-driver/commit/0bf5dc9e52b3e281d6b3f2617d679db786c5a82c))
7+
8+
9+
### Code Refactoring
10+
11+
* cleanup plugins ([5f3134d](https://github.com/MongoCamp/mongodb-driver/commit/5f3134da4d62ecd56335bbcc664e89c0f0137812))
12+
* DocumentIncludes and MongoImplicits to own files ([753a633](https://github.com/MongoCamp/mongodb-driver/commit/753a63381dea71a92fa696aaa28f849580069af6))
13+
* foreach moved to pagination trait ([ecbb62f](https://github.com/MongoCamp/mongodb-driver/commit/ecbb62f4a4a1f8b6fd1f4c1ee82dd56099567d79))
14+
* foreach moved to pagination trait ([54dd250](https://github.com/MongoCamp/mongodb-driver/commit/54dd25072f7fb4091400a600129299e68908589c))
15+
16+
17+
### Features
18+
19+
* Compact Method for complete user scope ([e567be7](https://github.com/MongoCamp/mongodb-driver/commit/e567be7fe2666d85ef8b96f98868a6f4844a6fe0))
20+
* Compact Methods for Database or DAO ([0926b1d](https://github.com/MongoCamp/mongodb-driver/commit/0926b1da0ba3d80f0be1bb996fc18ff18a9db535))
21+
* Foreach in Pagination Result ([1fe1d8b](https://github.com/MongoCamp/mongodb-driver/commit/1fe1d8ba31f34e13df2afc3d1c3c9ae1f6b034ea))
22+
* Implicit for LuceneQuery to BsonDocument ([32f1029](https://github.com/MongoCamp/mongodb-driver/commit/32f10294baa8ef73bff2e26247f07e4639340ff3))
23+
* Lucene Query can converted to Bson ([e56e5d4](https://github.com/MongoCamp/mongodb-driver/commit/e56e5d416535b21a4d2c92932db82b488a4321af))
24+
* Pagination for MongoDb Search and Aggregation ([52abbe3](https://github.com/MongoCamp/mongodb-driver/commit/52abbe3f8b34a434e88b889b9f19a595037936ff))
25+
26+
27+
### Maintenance
28+
29+
* **dependencies:** Found 7 dependency updates ([89a0e27](https://github.com/MongoCamp/mongodb-driver/commit/89a0e272072b8f9dfeefb920627a048091e08ca1))
30+
* **plugins:** Found 5 dependency updates ([cc13a06](https://github.com/MongoCamp/mongodb-driver/commit/cc13a06bdb495cfa2518b44d21058928b32fac6a))
31+
32+
33+
### Reverts
34+
35+
* sonatype removed by accident ([e320ed1](https://github.com/MongoCamp/mongodb-driver/commit/e320ed1eef7bb9ffad5234743f882f65ee1bf3dc))
36+
37+
## [2.5.4]() (2023-02-12)
238

339

440
### Maintenance
541

642
* **Dependencies:** mongo scala driver 4.9.0 ([356c7c4](https://github.com/MongoCamp/mongodb-driver/commit/356c7c42291ca7d3f7a7ad69a60dfac3493dbc9f))
743

8-
### [2.5.3](https://github.com/MongoCamp/mongodb-driver/compare/v2.5.1...v2.5.3) (2022-12-04)
44+
## [2.5.3]() (2022-12-04)
945

1046

1147
### Maintenance
1248

1349
* **Dependencies:** mongo scala driver 4.8.0 ([2a3af87](https://github.com/MongoCamp/mongodb-driver/commit/2a3af879df3229fe44aca7dd92c6faefccdfa118))
1450

15-
### [2.5.1](https://github.com/MongoCamp/mongodb-driver/compare/v2.5.0...v2.5.1) (2022-10-11)
51+
## [2.5.1]() (2022-10-11)
1652

1753

1854
### Maintenance
1955

2056
* **Dependencies:** mongo scala driver 4.7.2 ([f050d78](https://github.com/MongoCamp/mongodb-driver/commit/f050d78ac16e6cfbbf52c067a3eacd8091965bbb))
2157

22-
## [2.5.0](https://github.com/MongoCamp/mongodb-driver/compare/v2.4.9...v2.5.0) (2022-07-27)
58+
## [2.5.0]() (2022-07-27)
2359

2460

2561
### Maintenance
2662

2763
* **Dependencies:** mongo scala driver 4.7.0 ([9e37be8](https://github.com/MongoCamp/mongodb-driver/commit/9e37be88878bfb27d1ba092a45fbb19c63e431e6))
2864

29-
### [2.4.9](https://github.com/MongoCamp/mongodb-driver/compare/v2.4.8...v2.4.9) (2022-07-13)
65+
## [2.4.9]() (2022-07-13)
3066

3167

3268
### Bug Fixes
@@ -39,9 +75,9 @@
3975

4076
* 2 dependency updates ([00d3202](https://github.com/MongoCamp/mongodb-driver/commit/00d3202c8d5449d54ce4d1d3b0f4a3b8ad28f045))
4177

42-
### [2.4.8](https://github.com/MongoCamp/mongodb-driver/compare/v2.4.7...v2.4.8) (2022-06-29)
78+
## [2.4.8]() (2022-06-29)
4379

44-
### [2.4.7](https://github.com/MongoCamp/mongodb-driver/compare/3f749c05300b23eaf48588966aec7a926f3c4f1c...v2.4.7) (2022-06-27)
80+
## [2.4.7]() (2022-06-27)
4581

4682

4783
### Bug Fixes

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
2-
"name": "mongodb-driver",
3-
"organization": "dev.mongocamp",
4-
"version": "2.6.0",
5-
"author": "[email protected]",
6-
"license": "Apache-2.0",
7-
"repository": {
8-
"type": "git",
9-
"url": "git+https://github.com/MongoCamp/mongodb-driver.git"
2+
"name" : "mongodb-driver",
3+
"organization" : "dev.mongocamp",
4+
"version" : "2.6.0",
5+
"author" : "[email protected]",
6+
"license" : "Apache-2.0",
7+
"repository" : {
8+
"type" : "git",
9+
"url" : "git+https://github.com/MongoCamp/mongodb-driver.git"
1010
},
11-
"bugs": {
12-
"url": "https://github.com/MongoCamp/mongocamp-driver/issues"
11+
"bugs" : {
12+
"url" : "https://github.com/MongoCamp/mongocamp-driver/issues"
1313
},
14-
"homepage": "https://mongodb-driver.mongocamp.dev/",
15-
"scripts": {
16-
"docs:serve": "vitepress serve docs --port 5555",
17-
"docs:build": "pnpm docs:external; vitepress build docs",
18-
"docs:external": "sh docs/external/fileloader.sh",
19-
"docs:dev": "pnpm docs:external; vitepress dev docs"
14+
"homepage" : "https://mongodb-driver.mongocamp.dev/",
15+
"scripts" : {
16+
"docs:serve" : "vitepress serve docs --port 5555",
17+
"docs:build" : "pnpm docs:external; vitepress build docs",
18+
"docs:external" : "sh docs/external/fileloader.sh",
19+
"docs:dev" : "pnpm docs:external; vitepress dev docs"
2020
},
21-
"devDependencies": {
21+
"devDependencies" : {
2222
"@unocss/preset-icons" : "^0.46.5",
2323
"unocss" : "^0.46.5",
2424
"vitepress" : "1.0.0-alpha.49",
@@ -44,4 +44,4 @@
4444
"@unocss/preset-uno" : "0.46.4",
4545
"markdown-it" : "^13.0.1"
4646
}
47-
}
47+
}

src/main/scala/dev/mongocamp/driver/MongoImplicits.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package dev.mongocamp.driver
33
import dev.mongocamp.driver.mongodb.operation.ObservableIncludes
44
import org.bson.BsonValue
55
import org.bson.types.ObjectId
6-
import org.mongodb.scala.gridfs.{GridFSFile, GridFSFindObservable}
7-
import org.mongodb.scala.{FindObservable, Observable, ObservableImplicits}
6+
import org.mongodb.scala.gridfs.{ GridFSFile, GridFSFindObservable }
7+
import org.mongodb.scala.{ FindObservable, Observable, ObservableImplicits }
88

99
import scala.language.implicitConversions
1010
trait MongoImplicits extends ObservableIncludes with ObservableImplicits {

src/main/scala/dev/mongocamp/driver/mongodb/MongoDAO.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
package dev.mongocamp.driver.mongodb
22

33
import better.files.File
4-
import dev.mongocamp.driver.mongodb.bson.{BsonConverter, DocumentHelper}
5-
import dev.mongocamp.driver.mongodb.database.{ChangeObserver, CollectionStatus, CompactResult, DatabaseProvider}
4+
import dev.mongocamp.driver.mongodb.bson.{ BsonConverter, DocumentHelper }
5+
import dev.mongocamp.driver.mongodb.database.{ ChangeObserver, CollectionStatus, CompactResult, DatabaseProvider }
66
import dev.mongocamp.driver.mongodb.operation.Crud
77
import org.bson.json.JsonParseException
88
import org.mongodb.scala.model.Accumulators._
99
import org.mongodb.scala.model.Aggregates._
1010
import org.mongodb.scala.model.Filters._
1111
import org.mongodb.scala.model.Projections
12-
import org.mongodb.scala.{BulkWriteResult, Document, MongoCollection, Observable, SingleObservable}
12+
import org.mongodb.scala.{ BulkWriteResult, Document, MongoCollection, Observable, SingleObservable }
1313

1414
import java.nio.charset.Charset
1515
import java.util.Date

src/main/scala/dev/mongocamp/driver/mongodb/Sort.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package dev.mongocamp.driver.mongodb
22

33
import org.bson.conversions.Bson
4-
import org.mongodb.scala.model.Sorts.{ascending, descending, orderBy}
4+
import org.mongodb.scala.model.Sorts.{ ascending, descending, orderBy }
55

66
object Sort extends Sort
77

src/main/scala/dev/mongocamp/driver/mongodb/database/DatabaseProvider.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package dev.mongocamp.driver.mongodb.database
22

33
import dev.mongocamp.driver.mongodb._
44
import dev.mongocamp.driver.mongodb.bson.codecs.CustomCodecProvider
5-
import org.bson.codecs.configuration.CodecRegistries.{fromProviders, fromRegistries}
5+
import org.bson.codecs.configuration.CodecRegistries.{ fromProviders, fromRegistries }
66
import org.bson.codecs.configuration.CodecRegistry
77
import org.mongodb.scala.MongoClient.DEFAULT_CODEC_REGISTRY
88
import org.mongodb.scala._
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
package dev.mongocamp.driver.mongodb.exception
22

33
case class MongoCampPaginationException(message: String) extends Exception(message)
4-
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
package dev.mongocamp.driver.mongodb.exception
22

33
class NotSupportedException(message: String) extends Exception(message)
4-

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import com.typesafe.scalalogging.LazyLogging
44
import dev.mongocamp.driver.mongodb.database.MongoIndex
55
import org.mongodb.scala.bson.conversions.Bson
66
import org.mongodb.scala.model.Sorts._
7-
import org.mongodb.scala.model.{CountOptions, DropIndexOptions, IndexOptions, Indexes}
8-
import org.mongodb.scala.{Document, ListIndexesObservable, MongoCollection, Observable, SingleObservable}
7+
import org.mongodb.scala.model.{ CountOptions, DropIndexOptions, IndexOptions, Indexes }
8+
import org.mongodb.scala.{ Document, ListIndexesObservable, MongoCollection, Observable, SingleObservable }
99

1010
import scala.concurrent.duration.Duration
1111
import scala.reflect.ClassTag

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import org.bson.BsonValue
77
import org.mongodb.scala.bson.ObjectId
88
import org.mongodb.scala.bson.conversions.Bson
99
import org.mongodb.scala.model.Filters._
10-
import org.mongodb.scala.{AggregateObservable, DistinctObservable, Document, FindObservable, MongoCollection}
10+
import org.mongodb.scala.{ AggregateObservable, DistinctObservable, Document, FindObservable, MongoCollection }
1111

1212
import scala.reflect.ClassTag
1313

0 commit comments

Comments
 (0)