jwt-node-vue
                                
                                 jwt-node-vue copied to clipboard
                                
                                    jwt-node-vue copied to clipboard
                            
                            
                            
                        Bump mongoose from 8.2.3 to 8.4.4 in /backend
Bumps mongoose from 8.2.3 to 8.4.4.
Release notes
Sourced from mongoose's releases.
8.4.4 / 2024-06-25
- perf: avoid unnecesary get() call and use faster approach for converting to string #14673 #14394
- fix(projection): handle projections on arrays in Model.hydrate() projection option #14686 #14680
- fix(document): avoid passing validateModifiedOnly to subdocs so subdocs get fully validating if they're directly modified #14685 #14677
- fix: handle casting primitive array with $elemMatch in bulkWrite() #14687 #14678
- fix(query): cast $pull using embedded discriminator schema when discriminator key is set in filter #14676 #14675
- types(connection): fix return type of withSession() #14690 tt-public
- types: add $documents pipeline stage and fix $unionWith type #14666 nick-statsig
- docs(findoneandupdate): improve example that shows findOneAndUpdate() returning doc before updates were applied #14671 #14670
8.4.3 / 2024-06-17
- fix: remove 0x flamegraph files from release
8.4.2 / 2024-06-17
- perf: more toObject() perf improvements #14623 #14606 #14394
- fix(model): check the value of overwriteModels in options when calling discriminator() #14646 uditha-g
- fix: avoid throwing TypeError when deleting an null entry on a populated Map #14654 futurliberta
- fix(connection): fix up some inconsistencies in operation-end event and add to docs #14659 #14648
- types: avoid inferring Boolean, Buffer, ObjectId as Date in schema definitions under certain circumstances #14667 #14630
- docs: add note about parallelism in transations #14647 fiws
8.4.1 / 2024-05-31
- fix: pass options to clone instead of get in applyVirtuals #14606 #14543 andrews05
- fix(document): fire pre validate hooks on 5 level deep single nested subdoc when modifying after save() #14604 #14591
- fix: ensure buildBulkWriteOperations target shard if shardKey is set #14622 #14621 matlpriceshape
- types: pass DocType down to subdocuments so HydratedSingleSubdocument and HydratedArraySubdocument toObject() returns correct type #14612 #14601
8.4.0 / 2024-05-17
- feat: upgrade mongodb -> 6.6.2 #14584
- feat: add transactionAsyncLocalStorage option to opt in to automatically setting session on all transactions #14583 #13889
- feat: handle initially null driver when instantiating Mongoose for Rollup support #14577 #12335
- feat(mongoose): export omitUndefined() helper #14582 #14569
- feat: add Model.listSearchIndexes() #14519 #14450
- feat(connection): add listDatabases() function #14506 #9048
- feat(schema): add schema-level readConcern option to apply default readConcern for all queries #14579 #14511
- fix(error): remove model property from CastError to avoid printing all model properties to console #14568 #14529
- fix(model): make bulkWrite() and insertMany() throw if throwOnValidationError set and all ops invalid #14587 #14572
- fix(document): ensure transform function passed to toObject() options applies to subdocs #14600 #14589
- types: add inferRawDocType helper #13900 #13772
- types(document): make document _id type default to unknown instead of any #14541
8.3.5 / 2024-05-15
... (truncated)
Changelog
Sourced from mongoose's changelog.
8.4.4 / 2024-06-25
- perf: avoid unnecesary get() call and use faster approach for converting to string #14673 #14394
- fix(projection): handle projections on arrays in Model.hydrate() projection option #14686 #14680
- fix(document): avoid passing validateModifiedOnly to subdocs so subdocs get fully validating if they're directly modified #14685 #14677
- fix: handle casting primitive array with $elemMatch in bulkWrite() #14687 #14678
- fix(query): cast $pull using embedded discriminator schema when discriminator key is set in filter #14676 #14675
- types(connection): fix return type of withSession() #14690 tt-public
- types: add $documents pipeline stage and fix $unionWith type #14666 nick-statsig
- docs(findoneandupdate): improve example that shows findOneAndUpdate() returning doc before updates were applied #14671 #14670
8.4.3 / 2024-06-17
- fix: remove 0x flamegraph files from release
8.4.2 / 2024-06-17
- perf: more toObject() perf improvements #14623 #14606 #14394
- fix(model): check the value of overwriteModels in options when calling discriminator() #14646 uditha-g
- fix: avoid throwing TypeError when deleting an null entry on a populated Map #14654 futurliberta
- fix(connection): fix up some inconsistencies in operation-end event and add to docs #14659 #14648
- types: avoid inferring Boolean, Buffer, ObjectId as Date in schema definitions under certain circumstances #14667 #14630
- docs: add note about parallelism in transations #14647 fiws
8.4.1 / 2024-05-31
- fix: pass options to clone instead of get in applyVirtuals #14606 #14543 andrews05
- fix(document): fire pre validate hooks on 5 level deep single nested subdoc when modifying after save() #14604 #14591
- fix: ensure buildBulkWriteOperations target shard if shardKey is set #14622 #14621 matlpriceshape
- types: pass DocType down to subdocuments so HydratedSingleSubdocument and HydratedArraySubdocument toObject() returns correct type #14612 #14601
7.6.12 / 2024-05-21
- fix(array): avoid converting to $set when calling pull() on an element in the middle of the array #14531 #14502
- fix: bump mongodb driver to 5.9.2 #14561 lorand-horvath
- fix(update): cast array of strings underneath doc array with array filters #14605 #14595
8.4.0 / 2024-05-17
- feat: upgrade mongodb -> 6.6.2 #14584
- feat: add transactionAsyncLocalStorage option to opt in to automatically setting session on all transactions #14583 #13889
- feat: handle initially null driver when instantiating Mongoose for Rollup support #14577 #12335
- feat(mongoose): export omitUndefined() helper #14582 #14569
- feat: add Model.listSearchIndexes() #14519 #14450
- feat(connection): add listDatabases() function #14506 #9048
- feat(schema): add schema-level readConcern option to apply default readConcern for all queries #14579 #14511
- fix(error): remove model property from CastError to avoid printing all model properties to console #14568 #14529
- fix(model): make bulkWrite() and insertMany() throw if throwOnValidationError set and all ops invalid #14587 #14572
- fix(document): ensure transform function passed to toObject() options applies to subdocs #14600 #14589
- types: add inferRawDocType helper #13900 #13772
... (truncated)
Commits
- 633e4f4chore: release 8.4.4
- f89868bMerge pull request #14690 from tt-public/feat/type-withsession
- 31111f2Merge pull request #14687 from Automattic/vkarpov15/gh-14678
- 516464aMerge pull request #14686 from Automattic/vkarpov15/gh-14680
- c062b1fMerge pull request #14685 from Automattic/vkarpov15/gh-14677
- 8b05872style: fix lint
- cc63f69feat: fix return type of Connection.withSession
- 561a580test: add type test for Connection.withSession
- 091c85dfix: handle casting primitive array with $elemMatch in bulkWrite()
- 36ea383fix(projection): handle projections on arrays in- Model.hydrate()projection...
- 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 show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency
- @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)