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 mongoose from 4.9.5 to 7.2.1 #313

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github May 25, 2023

Bumps mongoose from 4.9.5 to 7.2.1.

Release notes

Sourced from mongoose's releases.

7.2.1 / 2023-05-24

  • fix(array): track correct changes when setting nested array of primitives #13422 #13372
  • fix(query): handle plus path in projection with findOneAndUpdate() #13437 #13413
  • fix(cursor): handle calling skipMiddlewareFunction() in pre('find') middleware with cursors #13436 #13411
  • fix(model): include inspect output in castBulkWrite() error #13426
  • fix: avoid setting null property when updating using update pipeline with child timestamps but no top-level timestamps #13427 #13379
  • docs: remove callback based examples #13433 #13401
  • docs(connections): add details about keepAlive deprecation #13431
  • docs: add list of supported patterns for error message templating #13425 #13311

7.2.0 / 2023-05-19

  • feat: upgrade mongodb -> 5.5.0
  • feat(document): add flattenObjectIds option to toObject() and toJSON() #13383 #13341
  • feat(query): add translateAliases option to automatically call translate aliases on query fields #13397 #8678 #7511
  • feat(schema): propagate toObject and toJSON options to implicitly created schemas #13325
  • feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #13410 #13256
  • feat(types+mongoose): export MongooseError #13403 #13387 ramos-ph

7.1.2 / 2023-05-18

7.1.1 / 2023-05-10

  • fix(document): handle set() from top-level underneath a map of mixed #13386
  • fix: don't modify passed options object to createConnection() #13376
  • types: make lean() not clobber result type for updateOne(), etc. #13389 #13382
  • types: handle union types in FlattenMaps #13368 #13346 Jokero
  • types(document): correct return type for Model.prototype.deleteOne(): promise, not query #13367 #13223
  • types: update document.d.ts $set function params to match set #13304 jeffersonlipsky
  • docs: add excludeIndexes to the guide schema options list #13377 #13287
  • docs: fix broken "fork me" on home page #13336

7.1.0 / 2023-04-27

  • feat: upgrade mongodb -> 5.3.0
  • feat(schema): add BigInt support, upgrade mongodb -> 5.3.0 #13318 #13081 #6936
  • feat: handle MongoDB's new UUID type, export mongoose.Types.UUID #13323 #13103
  • feat: implement createCollections() #13324
  • feat(query): add isPathSelectedInclusive function on query #13177
  • types: added overloads for Schema.pre/post with different values for SchemaPreOptions #12680 jpilgrim
  • types(query): make lean() flatten out inferred maps into Record #13326 #13010
  • docs: update README deno url #13332
  • docs: update jsdoc to use full URLs instead of non-prefix absolute urls (also fix some urls) #13328 hasezoey

... (truncated)

Changelog

Sourced from mongoose's changelog.

7.2.1 / 2023-05-24

  • fix(array): track correct changes when setting nested array of primitives #13422 #13372
  • fix(query): handle plus path in projection with findOneAndUpdate() #13437 #13413
  • fix(cursor): handle calling skipMiddlewareFunction() in pre('find') middleware with cursors #13436 #13411
  • fix(model): include inspect output in castBulkWrite() error #13426
  • fix: avoid setting null property when updating using update pipeline with child timestamps but no top-level timestamps #13427 #13379
  • docs: remove callback based examples #13433 #13401
  • docs(connections): add details about keepAlive deprecation #13431
  • docs: add list of supported patterns for error message templating #13425 #13311

7.2.0 / 2023-05-19

  • feat: upgrade mongodb -> 5.5.0
  • feat(document): add flattenObjectIds option to toObject() and toJSON() #13383 #13341
  • feat(query): add translateAliases option to automatically call translate aliases on query fields #13397 #8678 #7511
  • feat(schema): propagate toObject and toJSON options to implicitly created schemas #13325
  • feat(model): add throwOnValidationError option for opting into getting MongooseBulkWriteError if all valid operations succeed in bulkWrite() and insertMany() #13410 #13256
  • feat(types+mongoose): export MongooseError #13403 #13387 ramos-ph

7.1.2 / 2023-05-18

7.1.1 / 2023-05-10

  • fix(document): handle set() from top-level underneath a map of mixed #13386
  • fix: don't modify passed options object to createConnection() #13376
  • types: make lean() not clobber result type for updateOne(), etc. #13389 #13382
  • types: handle union types in FlattenMaps #13368 #13346 Jokero
  • types(document): correct return type for Model.prototype.deleteOne(): promise, not query #13367 #13223
  • types: update document.d.ts $set function params to match set #13304 jeffersonlipsky
  • docs: add excludeIndexes to the guide schema options list #13377 #13287
  • docs: fix broken "fork me" on home page #13336

6.11.1 / 2023-05-08

  • fix(query): apply schema-level paths before calculating projection for findOneAndUpdate() #13348 #13340
  • fix: add SUPPRESS_JEST_WARNINGS environment variable to hide jest warnings #13384 #13373
  • types(model): allow overwriting expected param type for bulkWrite() #13292 hasezoey

6.11.0 / 2023-05-01

  • feat: upgrade to mongodb 4.16.0 for Deno+Atlas connection fix #13337 #13075
  • perf: speed up creating maps of subdocuments #13280 #13191 #13271
  • fix(query): set ObjectParameterError if calling findOneAndX() with filter as non-object #13338

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

Bumps [mongoose](https://github.com/Automattic/mongoose) from 4.9.5 to 7.2.1.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@4.9.5...7.2.1)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 25, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 31, 2023

Superseded by #314.

@dependabot dependabot bot closed this May 31, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/mongoose-7.2.1 branch May 31, 2023 08:00
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.

0 participants