node-mongodb-native
node-mongodb-native copied to clipboard
feat(NODE-6390): Add timeoutMS support to auto encryption
Description
Auto encryption encrypt and decrypt helpers now respect timeoutMS.
What is changing?
- Added
timeoutContexttostateMachine.executecall inAutoEncrypter.encrypt/decrypt - Unit tests for
AutoEncrypter.encrypt/decryptrespectingtimeoutMS - Unit tests for
CryptoConnection.commandrespecting timeoutMS
Is there new documentation needed for these changes?
No
What is the motivation for this change?
CSOT
Release Highlight
Double check the following
- [ ] Ran
npm run check:lintscript - [ ] Self-review completed using the steps outlined here
- [ ] PR title follows the correct format:
type(NODE-xxxx)[!]: description- Example:
feat(NODE-1234)!: rewriting everything in coffeescript
- Example:
- [ ] Changes are covered by tests
- [ ] New TODOs have a related JIRA ticket