DATAMONGO-2427 - Rename MongoDbFactory to MongoDatabaseFactory.

Rename to follow MongoDB's naming scheme. Re-introduce deprecated MongoDbFactory to aid migration.

Original pull request: #823.
This commit is contained in:
Mark Paluch
2019-12-13 08:54:57 +01:00
parent 8b97e932a2
commit 2a3f862703
76 changed files with 750 additions and 575 deletions

View File

@@ -7,7 +7,7 @@ Some of the changes affect the initial setup configuration as well as compile/ru
== Dependency Changes
Instead of the single artifact uber jar `mongo-java-driver`, imports are now split to include separate artifacts:
Instead of the single artifact uber-jar `mongo-java-driver`, imports are now split to include separate artifacts:
* `org.mongodb:mongodb-driver-core` (required)
* `org.mongodb:mongodb-driver-sync` (optional)
@@ -121,3 +121,22 @@ Element | Comment
| Namespace element for `com.mongodb.MongoClientSettings`.
|===
.Deprecations:
|===
2.x | Replacement in 3.x | Comment
| `MongoDbFactorySupport`
| `MongoDatabaseFactorySupport`
|
| `SimpleMongoClientDbFactory`
| `SimpleMongoClientDatabaseFactory`
|
| `MongoDbFactory`
| `MongoDatabaseFactory`
|
|===