Skip to content

Commit

Permalink
fix(NODE-4896): do not pass explicit session into state machine helpe…
Browse files Browse the repository at this point in the history
…rs (#632)

* do not pass explicit session into state machine helpers

* chore(release): 2.8.0-alpha.1
  • Loading branch information
baileympearson authored Apr 28, 2023
1 parent 5c53478 commit c9e44e7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 2 additions & 0 deletions bindings/node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

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.

## [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)

## [2.8.0-alpha.0](https://github.com/mongodb/libmongocrypt/compare/node-v2.7.1...node-v2.8.0-alpha.0) (2023-04-04)

### [2.7.1](https://github.com/mongodb/libmongocrypt/compare/node-v2.7.0...node-v2.7.1) (2023-03-20)
Expand Down
5 changes: 2 additions & 3 deletions bindings/node/lib/stateMachine.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,7 @@ module.exports = function (modules) {
.db(dbName)
.listCollections(filter, {
promoteLongs: false,
promoteValues: false,
session: this.options.session
promoteValues: false
})
.toArray()
.then(
Expand Down Expand Up @@ -476,7 +475,7 @@ module.exports = function (modules) {
client
.db(dbName)
.collection(collectionName, { readConcern: { level: 'majority' } })
.find(filter, { session: this.options.session })
.find(filter)
.toArray()
.then(
keys => {
Expand Down
4 changes: 2 additions & 2 deletions bindings/node/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mongodb-client-encryption",
"version": "2.8.0-alpha.0",
"version": "2.8.0-alpha.1",
"description": "Official client encryption module for the MongoDB Node.js driver",
"main": "lib/index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit c9e44e7

Please sign in to comment.