Skip to content

Commit afb6dc7

Browse files
fix(NODE-4896): do not pass explicit session into state machine helpers (#632)
* do not pass explicit session into state machine helpers * chore(release): 2.8.0-alpha.1
1 parent cacbf64 commit afb6dc7

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

CHANGELOG.md

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

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.8.0-alpha.1](https://github.com/mongodb/libmongocrypt/compare/node-v2.8.0-alpha.0...node-v2.8.0-alpha.1) (2023-04-27)
6+
57
## [2.8.0-alpha.0](https://github.com/mongodb/libmongocrypt/compare/node-v2.7.1...node-v2.8.0-alpha.0) (2023-04-04)
68

79
### [2.7.1](https://github.com/mongodb/libmongocrypt/compare/node-v2.7.0...node-v2.7.1) (2023-03-20)

lib/stateMachine.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,7 @@ module.exports = function (modules) {
413413
.db(dbName)
414414
.listCollections(filter, {
415415
promoteLongs: false,
416-
promoteValues: false,
417-
session: this.options.session
416+
promoteValues: false
418417
})
419418
.toArray()
420419
.then(
@@ -476,7 +475,7 @@ module.exports = function (modules) {
476475
client
477476
.db(dbName)
478477
.collection(collectionName, { readConcern: { level: 'majority' } })
479-
.find(filter, { session: this.options.session })
478+
.find(filter)
480479
.toArray()
481480
.then(
482481
keys => {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mongodb-client-encryption",
3-
"version": "2.8.0-alpha.0",
3+
"version": "2.8.0-alpha.1",
44
"description": "Official client encryption module for the MongoDB Node.js driver",
55
"main": "lib/index.js",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)