-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update mongoDB backend mongoDB driver interface (#1545)
* Remove deprecated mongo snapshot query option This flag was deprecated since Mongo Server 3.7.4. Its presence in queries produce failures in the mongoDB driver when interfacing against Mongo Servers >= version 6.0. * Update mongo deletion calls Replace the mongo driver's delete calls with deleteMany to restore correct behavior with Mongo 6.0 while preserving compatibility with Mongo 5.0. * Update mongo update and upsert calls Replace the mongo driver's modify(update) calls with updateMany to restore correct behavior in Mongo 6.0 and above. The key change here is that the writeConcern is now back to being set based on environment context rather than being hardcoded to "0". * Update mongoDB lib version constraint Match the current stack snapshot at version 2.7.1.2. * Remove obsolete GHC CI builds Co-authored-by: Matt Parsons <[email protected]> * persistent-mongoDB-2.13.0.2 --------- Co-authored-by: Matt Parsons <[email protected]>
- Loading branch information
1 parent
0c74e3f
commit e6a0a9f
Showing
4 changed files
with
31 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,8 +47,6 @@ jobs: | |
matrix: | ||
cabal: ["3.10"] | ||
ghc: | ||
- "8.4.4" | ||
- "8.6.5" | ||
- "8.8.4" | ||
- "8.10.7" | ||
- "9.0.2" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: persistent-mongoDB | ||
version: 2.13.0.1 | ||
version: 2.13.0.2 | ||
license: MIT | ||
license-file: LICENSE | ||
author: Greg Weber <[email protected]> | ||
|
@@ -27,7 +27,7 @@ library | |
, cereal >= 0.5 | ||
, conduit >= 1.2 | ||
, http-api-data >= 0.3.7 && < 0.7 | ||
, mongoDB >= 2.3 && < 2.8 | ||
, mongoDB >= 2.7.1.2 && < 2.8 | ||
, network >= 2.6 | ||
, path-pieces >= 0.2 | ||
, resource-pool >= 0.2 && < 0.5 | ||
|