Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).*
> 5.5.11 / 2019-05-23
> ===================
> * fix(discriminator): allow numeric discriminator keys for embedded discriminators [#7808](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7808)
> * chore: add Node.js 12 to travis build matrix [#7784](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7784)
>
> 5.5.10 / 2019-05-20
> ===================
> * fix(discriminator): allow user-defined discriminator path in schema [#7807](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7807)
> * fix(query): ensure `findOneAndReplace()` sends `replacement` to server [#7654](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7654)
> * fix(cast): allow `[]` as a value when casting `$nin` [#7806](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7806)
> * docs(model): clarify that setters do run on `update()` by default [#7801](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7801)
> * docs: fix typo in FAQ [#7821](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7821) [jaona](https://github.com/jaona)
>
> 5.5.9 / 2019-05-16
> ==================
> * fix(query): skip schema setters when casting $regexp $options [#7802](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7802) [Fonger](https://github.com/Fonger)
> * fix(populate): don't skip populating doc array properties whose name conflicts with an array method [#7782](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7782)
> * fix(populate): make populated virtual return undefined if not populated [#7795](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7795)
> * fix(schema): handle custom setters in arrays of document arrays [#7804](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7804) [Fonger](https://github.com/Fonger)
> * docs(tutorials): add query casting tutorial [#7789](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7789)
>
> 5.5.8 / 2019-05-13
> ==================
> * fix(document): run pre save hooks on nested child schemas [#7792](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7792)
> * fix(model): set $session() before validation middleware for bulkWrite/insertMany [#7785](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7785) [#7769](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7769) [Fonger](https://github.com/Fonger)
> * fix(query): make `getPopulatedPaths()` return deeply populated paths [#7757](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7757)
> * fix(query): suppress findAndModify deprecation warning when using `Model.findOneAndUpdate()` [#7794](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7794)
> * fix: upgrade mongodb -> 3.2.4 [#7794](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7794)
> * fix(document): handle a couple edge cases with atomics that happen when schema defines an array property named 'undefined' [#7756](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7756)
> * docs(discriminator): correct function parameters [#7786](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7786) [gfpacheco](https://github.com/gfpacheco)
Commits
- [`09bc1a9`](https://github.com/Automattic/mongoose/commit/09bc1a99c7d2eec9487dee7ce06e95426e2a6b55) chore: release 5.5.11
- [`4d09963`](https://github.com/Automattic/mongoose/commit/4d09963e8b3e16a468e3fdb8916a6d0ab6bb50e2) refactor(discriminator): use one consolidated `getConstructor()` function to ...
- [`ec01f4f`](https://github.com/Automattic/mongoose/commit/ec01f4f0f2558facae3b2de26b2672b3283a7920) fix(discriminator): allow numeric discriminator keys for embedded discriminators
- [`e91fca1`](https://github.com/Automattic/mongoose/commit/e91fca113d55db0cf5362187a3246b972acb62c5) test(discriminator): repro [#7808](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7808)
- [`dc56c43`](https://github.com/Automattic/mongoose/commit/dc56c4374efaf0b8f97870e28f336c0296bc00a3) Merge pull request [#7784](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7784) from Automattic/chore-node-12
- [`c4fd03a`](https://github.com/Automattic/mongoose/commit/c4fd03afcda4b41ce7d7ce5b3ae3294d3633c658) chore: now working on 5.5.11
- [`bb5002f`](https://github.com/Automattic/mongoose/commit/bb5002f27d97838a1d9c040afac0e0ca6f61290e) chore: release 5.5.10
- [`9c55a23`](https://github.com/Automattic/mongoose/commit/9c55a233a003050152c52d8d7732c2b1817807b0) Merge pull request [#7821](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7821) from jaona/patch-1
- [`a8ec2a9`](https://github.com/Automattic/mongoose/commit/a8ec2a9c53db9b6a9d0bf16cb6f2077edd50cf51) chore: add alt text for paperleaf
- [`82139c1`](https://github.com/Automattic/mongoose/commit/82139c11169b27b5e79fccbf9ab473a783021bf9) Update faq.jade
- Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.5.7...5.5.11)
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps mongoose from 5.5.7 to 5.5.11.
Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.5.11 / 2019-05-23 > =================== > * fix(discriminator): allow numeric discriminator keys for embedded discriminators [#7808](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7808) > * chore: add Node.js 12 to travis build matrix [#7784](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7784) > > 5.5.10 / 2019-05-20 > =================== > * fix(discriminator): allow user-defined discriminator path in schema [#7807](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7807) > * fix(query): ensure `findOneAndReplace()` sends `replacement` to server [#7654](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7654) > * fix(cast): allow `[]` as a value when casting `$nin` [#7806](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7806) > * docs(model): clarify that setters do run on `update()` by default [#7801](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7801) > * docs: fix typo in FAQ [#7821](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7821) [jaona](https://github.com/jaona) > > 5.5.9 / 2019-05-16 > ================== > * fix(query): skip schema setters when casting $regexp $options [#7802](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7802) [Fonger](https://github.com/Fonger) > * fix(populate): don't skip populating doc array properties whose name conflicts with an array method [#7782](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7782) > * fix(populate): make populated virtual return undefined if not populated [#7795](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7795) > * fix(schema): handle custom setters in arrays of document arrays [#7804](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7804) [Fonger](https://github.com/Fonger) > * docs(tutorials): add query casting tutorial [#7789](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7789) > > 5.5.8 / 2019-05-13 > ================== > * fix(document): run pre save hooks on nested child schemas [#7792](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7792) > * fix(model): set $session() before validation middleware for bulkWrite/insertMany [#7785](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7785) [#7769](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7769) [Fonger](https://github.com/Fonger) > * fix(query): make `getPopulatedPaths()` return deeply populated paths [#7757](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7757) > * fix(query): suppress findAndModify deprecation warning when using `Model.findOneAndUpdate()` [#7794](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7794) > * fix: upgrade mongodb -> 3.2.4 [#7794](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7794) > * fix(document): handle a couple edge cases with atomics that happen when schema defines an array property named 'undefined' [#7756](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7756) > * docs(discriminator): correct function parameters [#7786](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7786) [gfpacheco](https://github.com/gfpacheco)Commits
- [`09bc1a9`](https://github.com/Automattic/mongoose/commit/09bc1a99c7d2eec9487dee7ce06e95426e2a6b55) chore: release 5.5.11 - [`4d09963`](https://github.com/Automattic/mongoose/commit/4d09963e8b3e16a468e3fdb8916a6d0ab6bb50e2) refactor(discriminator): use one consolidated `getConstructor()` function to ... - [`ec01f4f`](https://github.com/Automattic/mongoose/commit/ec01f4f0f2558facae3b2de26b2672b3283a7920) fix(discriminator): allow numeric discriminator keys for embedded discriminators - [`e91fca1`](https://github.com/Automattic/mongoose/commit/e91fca113d55db0cf5362187a3246b972acb62c5) test(discriminator): repro [#7808](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7808) - [`dc56c43`](https://github.com/Automattic/mongoose/commit/dc56c4374efaf0b8f97870e28f336c0296bc00a3) Merge pull request [#7784](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7784) from Automattic/chore-node-12 - [`c4fd03a`](https://github.com/Automattic/mongoose/commit/c4fd03afcda4b41ce7d7ce5b3ae3294d3633c658) chore: now working on 5.5.11 - [`bb5002f`](https://github.com/Automattic/mongoose/commit/bb5002f27d97838a1d9c040afac0e0ca6f61290e) chore: release 5.5.10 - [`9c55a23`](https://github.com/Automattic/mongoose/commit/9c55a233a003050152c52d8d7732c2b1817807b0) Merge pull request [#7821](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7821) from jaona/patch-1 - [`a8ec2a9`](https://github.com/Automattic/mongoose/commit/a8ec2a9c53db9b6a9d0bf16cb6f2077edd50cf51) chore: add alt text for paperleaf - [`82139c1`](https://github.com/Automattic/mongoose/commit/82139c11169b27b5e79fccbf9ab473a783021bf9) Update faq.jade - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.5.7...5.5.11)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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.