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

Bump mongodb and mongoose in /backend #91

Merged
merged 2 commits into from
Sep 16, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 12, 2024

Bumps mongodb to 5.8.0 and updates ancestor dependency mongoose. These dependencies need to be updated together.

Updates mongodb from 4.16.0 to 5.8.0

Release notes

Sourced from mongodb's releases.

v5.8.0

5.8.0 (2023-08-21)

The MongoDB Node.js team is pleased to announce version 5.8.0 of the mongodb package!

Release Notes

The AutoEncrypter interface has been deprecated

The AutoEncrypter interface was used internally but accidentally made public in the 4.x version of the driver. It is now deprecated and will be made internal in the next major release.

Kerberos support for 1.x and 2.x

Moves the kerberos dependency back to ^1.0.0 || ^2.0.0 to indicate support for both 1.x and 2.x. Support for 1.x is removed in 6.0.

Fixed accidental deprecation warning

Because of internal options handling, a deprecation was emitted for tlsCertificateFile when using tlsCertificateKeyFile. That has been corrected.

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.

Features

  • NODE-5399: use mongodb-js/saslprep instead of saslprep (#3818) (c0d3927)
  • NODE-5429: deprecate the AutoEncrypter interface (#3764) (9bb0d95)
  • NODE-5465,NODE-5538: lower @aws-sdk/credential-providers version to 3.188.0 and zstd to ^1.0.0 (#3821) (39ff81d)

Bug Fixes

  • NODE-5489: set kerberos compatibility to ^1.0.0 || ^2.0.0 (#3803) (c3b35b3)
  • NODE-5495: do not emit deprecation warning when tlsCertificateKeyFile is specified and tlsCertificateFile is not (#3810) (e81d4a2)
  • NODE-5537: remove credentials from ConnectionPoolCreatedEvent options (#3813) (4cf1e96)

Documentation

We invite you to try the mongodb library immediately, and report any issues to the NODE project.

v5.7.0

5.7.0 (2023-07-06)

... (truncated)

Changelog

Sourced from mongodb's changelog.

5.8.0 (2023-08-21)

Features

  • NODE-5399: use mongodb-js/saslprep instead of saslprep (#3818) (c0d3927)
  • NODE-5429: deprecate the AutoEncrypter interface (#3764) (9bb0d95)
  • NODE-5465,NODE-5538: lower @aws-sdk/credential-providers version to 3.188.0 and zstd to ^1.0.0 (#3821) (39ff81d)
  • NODE-5489: update kerberos dependency (8c25d6d)

Bug Fixes

  • NODE-5489: set kerberos compatibility to ^1.0.0 || ^2.0.0 (#3803) (c3b35b3)
  • NODE-5495: do not emit deprecation warning when tlsCertificateKeyFile is specified and tlsCertificateFile is not (#3810) (e81d4a2)
  • NODE-5537: remove credentials from ConnectionPoolCreatedEvent options (#3813) (4cf1e96)

5.7.0 (2023-07-06)

Features

Bug Fixes

  • NODE-4977: load snappy lazily (#3726) (865e658)
  • NODE-5102: listDatabases nameOnly setting is sent as NaN (#3742) (b97132e)
  • NODE-5289: prevent scram auth from throwing TypeError if saslprep is not a function (#3727) (e006347)
  • NODE-5374: do not apply cursor transform in Cursor.hasNext (#3746) (0668cd8)

5.6.0 (2023-06-01)

Features

Bug Fixes

... (truncated)

Commits
  • 43673fa chore(5.x): release 5.8.0 [skip-ci] (#3825)
  • 4b2fc79 docs: fix cutoff sentence on CommandStartedEvent (#3828)
  • 39ff81d feat(NODE-5465,NODE-5538): lower @aws-sdk/credential-providers version to 3...
  • e1af343 chore: update release automation scripts 5.x (#3823)
  • c0d3927 feat(NODE-5399): use mongodb-js/saslprep instead of saslprep (#3818)
  • 4cf1e96 fix(NODE-5537): remove credentials from ConnectionPoolCreatedEvent options (#...
  • e81d4a2 fix(NODE-5495): do not emit deprecation warning when tlsCertificateKeyFile is...
  • c3b35b3 fix(NODE-5489): set kerberos compatibility to ^1.0.0 || ^2.0.0 (#3803)
  • cc3069d Revert "feat(NODE-5489): update kerberos dependency"
  • 8c25d6d feat(NODE-5489): update kerberos dependency
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by dbx-node, a new releaser for mongodb since your current version.


Updates mongoose from 6.11.4 to 6.13.0

Changelog

Sourced from mongoose's changelog.

6.13.0 / 2024-06-06

  • feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #14599 #14587 #14572 #13410

6.12.9 / 2024-05-24

  • fix(cast): cast $comment to string in query filters #14590 #14576
  • types(model): allow passing strict type checking override to create() #14571 #14548

6.12.8 / 2024-04-10

  • fix(document): handle virtuals that are stored as objects but getter returns string with toJSON #14468 #14446
  • fix(schematype): consistently set wasPopulated to object with value property rather than boolean #14418
  • docs(model): add extra note about lean option for insertMany() skipping casting #14415 #14376

6.12.7 / 2024-03-01

  • perf(model): make insertMany() lean option skip hydrating Mongoose docs #14376 #14372
  • perf(document+schema): small optimizations to make init() faster #14383 #14113
  • fix(connection): don't modify passed options object to openUri() #14370 #13376 #13335
  • fix(ChangeStream): bubble up resumeTokenChanged changeStream event #14355 #14349 3150

6.12.6 / 2024-01-22

  • fix(collection): correctly handle buffer timeouts with find() #14277
  • fix(document): allow calling push() with different $position arguments #14254

6.12.5 / 2024-01-03

  • perf(schema): remove unnecessary lookahead in numeric subpath check
  • fix(document): allow setting nested path to null #14226
  • fix(document): avoid flattening dotted paths in mixed path underneath nested path #14198 #14178
  • fix: add ignoreAtomics option to isModified() for better backwards compatibility with Mongoose 5 #14213

6.12.4 / 2023-12-27

  • fix: upgrade mongodb driver -> 4.17.2
  • fix(document): avoid treating nested projection as inclusive when applying defaults #14173 #14115
  • fix: account for null values when assigning isNew property #14172 #13883

6.12.3 / 2023-11-07

  • fix(ChangeStream): correctly handle hydrate option when using change stream as stream instead of iterator #14052
  • fix(schema): fix dangling reference to virtual in tree after removeVirtual() #14019 #13085
  • fix(document): avoid unmarking modified on nested path if no initial value stored and already modified #14053 #14024
  • fix(document): consistently avoid marking subpaths of nested paths as modified #14053 #14022

6.12.2 / 2023-10-25

... (truncated)

Commits
  • 53d382b chore: release 6.13.0
  • 37e73b8 Merge pull request #14599 from Automattic/vkarpov15/gh-14572-3
  • c3b4bdb chore: release 6.12.9
  • f4cfe1e feat(model): add throwOnValidationError option for opting into getting Mongoo...
  • eb61572 Merge pull request #14590 from Automattic/vkarpov15/gh-14576
  • a70ecc2 fix(cast): cast $comment to string in query filters
  • 07cb7da Merge pull request #14571 from Automattic/vkarpov15/gh-14548
  • ed79348 test: address code review comments
  • 92fa6eb types(model): allow passing strict type checking override to create()
  • c00a715 chore: release 6.12.8
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) to 5.8.0 and updates ancestor dependency [mongoose](https://github.com/Automattic/mongoose). These dependencies need to be updated together.


Updates `mongodb` from 4.16.0 to 5.8.0
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/v5.8.0/HISTORY.md)
- [Commits](mongodb/node-mongodb-native@v4.16.0...v5.8.0)

Updates `mongoose` from 6.11.4 to 6.13.0
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/6.13.0/CHANGELOG.md)
- [Commits](Automattic/mongoose@6.11.4...6.13.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: indirect
- dependency-name: mongoose
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 12, 2024
@smalho01 smalho01 self-assigned this Aug 21, 2024
@smalho01 smalho01 changed the base branch from main to dev September 16, 2024 23:28
@smalho01 smalho01 merged commit 920f727 into dev Sep 16, 2024
17 checks passed
@smalho01 smalho01 deleted the dependabot/npm_and_yarn/backend/multi-a3f14b418b branch September 16, 2024 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant