-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!(deps): bump driver to 6.7.0 MONGOSH-1790 #191
Conversation
@@ -74,7 +74,7 @@ | |||
"gen-esm-wrapper": "^1.1.0", | |||
"husky": "^8.0.3", | |||
"mocha": "^10.2.0", | |||
"mongodb": "^5.4.0", | |||
"mongodb": "^6.7.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already close to the maximal breaking change we could do for this work, we might as well remove abort-controller
too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you mean our OIDCAbortSignal
, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No – I mean abort-controller
🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, i noticed it in deps! will remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed in 67ede2b
src/types.ts
Outdated
timeoutSeconds?: number; | ||
timeoutContext?: OIDCAbortSignal; | ||
version: number; | ||
timeoutContext: OIDCAbortSignal; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
timeoutContext: OIDCAbortSignal; | |
timeoutContext?: OIDCAbortSignal; |
Or is there a specific reason why this needs to be required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
driver has marked it as required prop. if we don't have to align this bit, i'll leave it as optional
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can always be more accepting than the driver
src/plugin.spec.ts
Outdated
abortSignal?: OIDCAbortSignal | ||
): ReturnType<OIDCCallbackFunction> { | ||
return plugin.mongoClientOptions.authMechanismProperties.OIDC_HUMAN_CALLBACK({ | ||
timeoutContext: abortSignal ?? new AbortController().signal, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
timeoutContext: abortSignal ?? new AbortController().signal, | |
timeoutContext: abortSignal, |
No description provided.