openSenseMap-API
openSenseMap-API copied to clipboard
Bump mongoose from 4.13.21 to 6.8.0
Bumps mongoose from 4.13.21 to 6.8.0.
Release notes
Sourced from mongoose's releases.
6.8.0 / 2022-12-05
- feat: add alpha support for Deno #12397 #9056
- feat: add deprecation warning for default strictQuery #12666
- feat: upgrade to MongoDB driver 4.12.1
- feat(schema): add doc as second params to validation message function #12564 #12651 IslandRhythms
- feat(document): add $clone method #12549 #11849 lpizzinidev
- feat(populate): allow overriding
localFieldandforeignFieldfor virtual populate #12657 #6963 IslandRhythms- feat(schema+types): add { errorHandler: true } option to Schema post() for better TypeScript support #12723 #12583
- feat(debug): allow setting debug on a per-connection basis #12704 #12700 lpizzinidev
- feat: add rewind function to QueryCursor #12710 passabilities
- feat(types): infer timestamps option from schema #12731 #12069
- docs: change links to not link to api.html anymore #12644 hasezoey
6.7.5 / 2022-11-30
- fix(schema): copy indexes when calling add() with schema instance #12737 #12654
- fix(query): handle deselecting _id when another field has schema-level select: false #12736 #12670
- fix(types): support using UpdateQuery in bulkWrite() #12742 #12595
- docs(middleware): added note about execution policy on subdocuments #12735 #12694 lpizzinidev
- docs(validation): clarify context for update validators in validation docs #12738 #12655 IslandRhythms
6.7.4 / 2022-11-28
- fix: allow setting global strictQuery after Schema creation #12717 #12703 lpizzinidev
- fix(cursor): make eachAsync() avoid modifying batch when mixing parallel and batchSize #12716
- fix(types): infer virtuals in query results #12727 #12702 #12684
- fix(types): correctly infer ReadonlyArray types in schema definitions #12720
- fix(types): avoid typeof Query with generics for TypeScript 4.6 support #12712 #12688
- chore: avoid bundling .tgz files when publishing #12725 hasezoey
6.7.3 / 2022-11-22
- fix(document): handle setting array to itself after saving and pushing a new value #12672 #12656
- fix(types): update replaceWith pipeline stage #12715 coyotte508
- fix(types): remove incorrect modelName type definition #12682 #12669 lpizzinidev
- fix(schema): fix setupTimestamps for browser.umd #12683 raphael-papazikas
- docs: correct justOne description #12686 #12599 tianguangcn
- docs: make links more consistent #12690 #12645 hasezoey
- docs(document): explain that $isNew is false in post('save') hooks #12685 #11990
- docs: fixed line causing a "used before defined" linting error #12707 sgpinkus
6.7.2 / 2022-11-07
- fix(discriminator): skip copying base schema plugins if
applyPlugins == false#12613 #12604 lpizzinidev- fix(types): add UUID to types #12650 #12593
- fix(types): allow setting SchemaTypeOptions' index property to IndexOptions #12562
- fix(types): set this to doc type in SchemaType.prototype.validate() #12663 #12590
- fix(types): correct handling for model #12659 #12573
- fix(types): pre hook with deleteOne should resolve this as Query #12642 #12622 lpizzinidev
... (truncated)
Changelog
Sourced from mongoose's changelog.
6.8.0 / 2022-12-05
- feat: add alpha support for Deno #12397 #9056
- feat: add deprecation warning for default strictQuery #12666
- feat: upgrade to MongoDB driver 4.12.1
- feat(schema): add doc as second params to validation message function #12564 #12651 IslandRhythms
- feat(document): add $clone method #12549 #11849 lpizzinidev
- feat(populate): allow overriding
localFieldandforeignFieldfor virtual populate #12657 #6963 IslandRhythms- feat(schema+types): add { errorHandler: true } option to Schema post() for better TypeScript support #12723 #12583
- feat(debug): allow setting debug on a per-connection basis #12704 #12700 lpizzinidev
- feat: add rewind function to QueryCursor #12710 passabilities
- feat(types): infer timestamps option from schema #12731 #12069
- docs: change links to not link to api.html anymore #12644 hasezoey
6.7.5 / 2022-11-30
- fix(schema): copy indexes when calling add() with schema instance #12737 #12654
- fix(query): handle deselecting _id when another field has schema-level select: false #12736 #12670
- fix(types): support using UpdateQuery in bulkWrite() #12742 #12595
- docs(middleware): added note about execution policy on subdocuments #12735 #12694 lpizzinidev
- docs(validation): clarify context for update validators in validation docs #12738 #12655 IslandRhythms
6.7.4 / 2022-11-28
- fix: allow setting global strictQuery after Schema creation #12717 #12703 lpizzinidev
- fix(cursor): make eachAsync() avoid modifying batch when mixing parallel and batchSize #12716
- fix(types): infer virtuals in query results #12727 #12702 #12684
- fix(types): correctly infer ReadonlyArray types in schema definitions #12720
- fix(types): avoid typeof Query with generics for TypeScript 4.6 support #12712 #12688
- chore: avoid bundling .tgz files when publishing #12725 hasezoey
6.7.3 / 2022-11-22
- fix(document): handle setting array to itself after saving and pushing a new value #12672 #12656
- fix(types): update replaceWith pipeline stage #12715 coyotte508
- fix(types): remove incorrect modelName type definition #12682 #12669 lpizzinidev
- fix(schema): fix setupTimestamps for browser.umd #12683 raphael-papazikas
- docs: correct justOne description #12686 #12599 tianguangcn
- docs: make links more consistent #12690 #12645 hasezoey
- docs(document): explain that $isNew is false in post('save') hooks #12685 #11990
- docs: fixed line causing a "used before defined" linting error #12707 sgpinkus
6.7.2 / 2022-11-07
- fix(discriminator): skip copying base schema plugins if
applyPlugins == false#12613 #12604 lpizzinidev- fix(types): add UUID to types #12650 #12593
- fix(types): allow setting SchemaTypeOptions' index property to IndexOptions #12562
- fix(types): set this to doc type in SchemaType.prototype.validate() #12663 #12590
- fix(types): correct handling for model #12659 #12573
- fix(types): pre hook with deleteOne should resolve this as Query #12642 #12622 lpizzinidev
... (truncated)
Commits
82943dachore: release 6.8.0687dfe6Merge pull request #12768 from Automattic/6.8c561459Merge branch 'master' into 6.81717e16Merge pull request #12769 from Automattic/revert-12751-dependabot/npm_and_yar...40dba69Revert "chore(deps-dev): bump typescript from 4.8.4 to 4.9.3"7676f5cMerge branch 'master' into 6.8efed0a4Merge pull request #12723 from Automattic/vkarpov15/gh-12595170e6dfMerge pull request #12750 from Automattic/dependabot/npm_and_yarn/master/sino...52cdf92Merge pull request #12753 from Automattic/dependabot/npm_and_yarn/master/babe...51bb927Merge pull request #12751 from Automattic/dependabot/npm_and_yarn/master/type...- 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)