browser-calls-node
browser-calls-node copied to clipboard
Bump mongoose from 5.12.6 to 6.6.0
Bumps mongoose from 5.12.6 to 6.6.0.
Release notes
Sourced from mongoose's releases.
6.6.0 / 2022-09-08
- feat: upgrade mongodb driver -> 4.9.1 #12370 AbdelrahmanHafez
- feat: re-export default Mongoose instance properties for ESM named imports support #12256
- feat(model): add option to skip invalid fields with castObject() #12156 IslandRhythms
- feat: use setPrototypeOf() instead of proto to allow running on Deno #12315
- feat(QueryCursor): add support for AbortSignal on eachAsync() #12323
- feat(types): add types for new $densify operator #12118 IslandRhythms
6.5.5 / 2022-09-07
- fix(setDefaultsOnInsert): avoid applying defaults on insert if nested property set #12279
- fix(model): make applyHooks() and applyMethods() handle case where custom method is set to Mongoose implementation #12254
- fix(types): add string "ascending" and "descending" index-directions #10269
- docs: upgrade dox to 1.0.0 #12403 hasezoey
- docs: update old mongodb nodejs driver documentation urls #12387 hasezoey
- docs: update JSDOC ... (spread) definition #12388 hasezoey
- refactor(model): allow optionally passing indexes to createIndexes and cleanIndexes #12280 AbdelrahmanHafez
6.5.4 / 2022-08-30
- fix(document): allow calling $assertPopulated() with values to better support manual population #12233
- fix(connection+mongoose): better handling for calling model() with 1 argument #12359
- fix(model): allow defining discriminator virtuals and methods using schema options #12326
- fix(types): fix MongooseQueryMiddleware missing "findOneAndReplace" and "replaceOne" #12330 #12329 Jule- lpizzinidev
- fix(types): fix replaceOne return type #12351 lpizzinidev
- fix(types): use this for return type from $assertPopulated() #12234
- docs: highlight how to connect using auth in README #12354 AntonyOnScript
- docs: improve jsdoc comments for private methods #12337 hasezoey
- docs: fix minor typo in compatibility table header #12355 skyme5
6.5.3 / 2022-08-24
- fix(document): handle maps when applying defaults to nested paths #12322
- fix(schema): make ArraySubdocuments apply _id defaults on init #12264
- fix(populate): handle specifying recursive populate as a string with discriminators #12266
- perf(types): remove extends Query in Schema.pre() and Schema.post(), loosen
discriminator()generic #10349- perf(types): some more micro-optimizations re: #10349, remove extra type checking on $ne, etc.
- fix(types): infer schema on
connection.model()#12298 #12125 hasezoey- fix(types): add missing
findById()type definitions #12309 lpizzinidev- fix(types): allow $search in $lookup pipeline stages for MongoDB v6.x support #12278 AbdelrahmanHafez
- fix(types): add parameter "options" to "Model.remove" #12258 hasezoey
- fix(types): sync single-generic-no-constraint "model" between "index.d.ts" and "connection.d.ts" #12299 hasezoey
- fix(types): update isDirectModified typing #12290 gabrielDonnantuoni
- docs: update links on api docs #12293 eatmoarrice
- docs: add note about language_override option #12310 IslandRhythms
- docs(document): add "String[]" to Document.depopulate as jsdoc parameter type #12300 hasezoey
- docs: update Node.js EventEmitter url #12303 rainrisa
6.5.2 / 2022-08-09
... (truncated)
Changelog
Sourced from mongoose's changelog.
6.6.0 / 2022-09-08
- feat: upgrade mongodb driver -> 4.9.1 #12370 AbdelrahmanHafez
- feat: re-export default Mongoose instance properties for ESM named imports support #12256
- feat(model): add option to skip invalid fields with castObject() #12156 IslandRhythms
- feat: use setPrototypeOf() instead of proto to allow running on Deno #12315
- feat(QueryCursor): add support for AbortSignal on eachAsync() #12323
- feat(types): add types for new $densify operator #12118 IslandRhythms
6.5.5 / 2022-09-07
- fix(setDefaultsOnInsert): avoid applying defaults on insert if nested property set #12279
- fix(model): make applyHooks() and applyMethods() handle case where custom method is set to Mongoose implementation #12254
- fix(types): add string "ascending" and "descending" index-directions #10269
- docs: upgrade dox to 1.0.0 #12403 hasezoey
- docs: update old mongodb nodejs driver documentation urls #12387 hasezoey
- docs: update JSDOC ... (spread) definition #12388 hasezoey
- refactor(model): allow optionally passing indexes to createIndexes and cleanIndexes #12280 AbdelrahmanHafez
6.5.4 / 2022-08-30
- fix(document): allow calling $assertPopulated() with values to better support manual population #12233
- fix(connection+mongoose): better handling for calling model() with 1 argument #12359
- fix(model): allow defining discriminator virtuals and methods using schema options #12326
- fix(types): fix MongooseQueryMiddleware missing "findOneAndReplace" and "replaceOne" #12330 #12329 Jule- lpizzinidev
- fix(types): fix replaceOne return type #12351 lpizzinidev
- fix(types): use this for return type from $assertPopulated() #12234
- docs: highlight how to connect using auth in README #12354 AntonyOnScript
- docs: improve jsdoc comments for private methods #12337 hasezoey
- docs: fix minor typo in compatibility table header #12355 skyme5
6.5.3 / 2022-08-24
- fix(document): handle maps when applying defaults to nested paths #12322
- fix(schema): make ArraySubdocuments apply _id defaults on init #12264
- fix(populate): handle specifying recursive populate as a string with discriminators #12266
- perf(types): remove extends Query in Schema.pre() and Schema.post(), loosen
discriminator()generic #10349- perf(types): some more micro-optimizations re: #10349, remove extra type checking on $ne, etc.
- fix(types): infer schema on
connection.model()#12298 #12125 hasezoey- fix(types): add missing
findById()type definitions #12309 lpizzinidev- fix(types): allow $search in $lookup pipeline stages for MongoDB v6.x support #12278 AbdelrahmanHafez
- fix(types): add parameter "options" to "Model.remove" #12258 hasezoey
- fix(types): sync single-generic-no-constraint "model" between "index.d.ts" and "connection.d.ts" #12299 hasezoey
- fix(types): update isDirectModified typing #12290 gabrielDonnantuoni
- docs: update links on api docs #12293 eatmoarrice
- docs: add note about language_override option #12310 IslandRhythms
- docs(document): add "String[]" to Document.depopulate as jsdoc parameter type #12300 hasezoey
- docs: update Node.js EventEmitter url #12303 rainrisa
5.13.15 / 2022-08-22
... (truncated)
Commits
b3072f6chore: release 6.6.00c90cb3Merge pull request #12406 from Automattic/6.64d0392bchore: fix dependabot config3620dc1Merge branch 'master' into 6.6fbf543cMerge pull request #12404 from Automattic/fix-urle1f31f1docs: fix invalid formatting for URL2304d91chore: release 6.5.590d4d71docs: couple of quick fixes001dda3Merge pull request #12403 from hasezoey/updateDox3000758chore(dependabot): remove ignore for "dox"- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)