Skip to content
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

fix(NODE-5536): remove credentials from ConnectionPoolCreatedEvent options #3812

Merged
merged 5 commits into from
Aug 17, 2023

Conversation

nbbeeken
Copy link
Contributor

Description

What is changing?

  • Omit credentials from ConnectionPoolCreatedEvent if they exist
Is there new documentation needed for these changes?

No

Release Highlight

Remove credential availability on ConnectionPoolCreatedEvent

In order to avoid mistakenly printing credentials the ConnectionPoolCreatedEvent will replace the credentials option with an empty object. The credentials are still accessble via MongoClient options: client.options.credentials.

Double check the following

  • Ran npm run check:lint script
  • 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
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@nbbeeken nbbeeken marked this pull request as ready for review August 14, 2023 20:17
durran
durran previously approved these changes Aug 15, 2023
@durran durran self-assigned this Aug 15, 2023
@durran durran added the Team Review Needs review from team label Aug 15, 2023
baileympearson
baileympearson previously approved these changes Aug 15, 2023
durran
durran previously approved these changes Aug 15, 2023
@nbbeeken nbbeeken dismissed stale reviews from durran and baileympearson via 0163fe5 August 15, 2023 20:25
@durran durran merged commit 2910dca into 4.x Aug 17, 2023
2 of 4 checks passed
@durran durran deleted the NODE-5536-creds-conn-pool branch August 17, 2023 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team Review Needs review from team
Projects
None yet
3 participants