Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).*
> 5.5.7 / 2019-05-09
> ==================
> * fix(model): set $session() before pre save middleware runs when calling save() with options [#7742](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7742)
> * fix(model): set $session before pre remove hooks run when calling remove() with options [#7742](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7742)
> * fix(schema): support `remove()` on nested path [#2398](https://github-redirect.dependabot.com/Automattic/mongoose/issues/2398)
> * fix(map): handle setting populated map element to doc [#7745](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7745)
> * fix(query): return rawResult when inserting with options `{new:false,upsert:true,rawResult:true}` [#7774](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7774) [#7770](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7770) [LiaanM](https://github.com/LiaanM)
> * fix(schematype): remove internal `validators` option because it conflicts with Backbone [#7720](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7720)
>
> 5.5.6 / 2019-05-06
> ==================
> * fix(document): stop converting arrays to objects when setting non-schema path to array with strict: false [#7733](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7733)
> * fix(array): make two Mongoose arrays `assert.deepEqual()` each other if they have the same values [#7700](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7700)
> * fix(populate): support populating a path in a document array embedded in an array [#7647](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7647)
> * fix(populate): set populate virtual count to 0 if local field is empty [#7731](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7731)
> * fix(update): avoid throwing cast error if casting array filter that isn't in schema with strictQuery = false [#7728](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7728)
> * docs: fix typo in `distinct()` description [#7767](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7767) [phil-r](https://github.com/phil-r)
Commits
- [`42b6280`](https://github.com/Automattic/mongoose/commit/42b62808513cfda047950910b5ba2023be0f2a5d) chore: release 5.5.7
- [`65b8a7e`](https://github.com/Automattic/mongoose/commit/65b8a7e55c8c81b08d605e39d84053d5256353c8) fix(model): set $session before pre remove hooks run when calling remove() wi...
- [`350d9c7`](https://github.com/Automattic/mongoose/commit/350d9c7cb0708db5990fe26d86fa30451e2761c5) fix(model): set $session() before pre save middleware runs when calling save(...
- [`44c3952`](https://github.com/Automattic/mongoose/commit/44c3952698c77132bb6ad39dea565311d99537b0) test(model): repro [#7742](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7742)
- [`651a1ad`](https://github.com/Automattic/mongoose/commit/651a1ad6796b58543fea9c58245541a9743b7b88) Merge pull request [#7774](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7774) from LiaanM/Fix_7770
- [`f45906c`](https://github.com/Automattic/mongoose/commit/f45906c61809f3c0ae9a6d2600996b42fe85139e) chore: remove gameserverkings as a sponsor
- [`c876a66`](https://github.com/Automattic/mongoose/commit/c876a66a554fafcb3bfe29f73903bc33318624f4) fix(schema): support `remove()` on nested path
- [`422d1df`](https://github.com/Automattic/mongoose/commit/422d1dfdc0ce718ebb78d08fdcbe04b4b685adcc) test(schema): repro [#2398](https://github-redirect.dependabot.com/Automattic/mongoose/issues/2398)
- [`115ea98`](https://github.com/Automattic/mongoose/commit/115ea98e91a2385fe16e3c819e8acb3609f4e28a) style: fix lint
- [`8a4faa4`](https://github.com/Automattic/mongoose/commit/8a4faa4741873e9150208847fc528f9cdc5102dd) fix(map): handle setting populated map element to doc
- Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.5.5...5.5.7)
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.5 to 5.5.7.
Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.5.7 / 2019-05-09 > ================== > * fix(model): set $session() before pre save middleware runs when calling save() with options [#7742](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7742) > * fix(model): set $session before pre remove hooks run when calling remove() with options [#7742](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7742) > * fix(schema): support `remove()` on nested path [#2398](https://github-redirect.dependabot.com/Automattic/mongoose/issues/2398) > * fix(map): handle setting populated map element to doc [#7745](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7745) > * fix(query): return rawResult when inserting with options `{new:false,upsert:true,rawResult:true}` [#7774](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7774) [#7770](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7770) [LiaanM](https://github.com/LiaanM) > * fix(schematype): remove internal `validators` option because it conflicts with Backbone [#7720](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7720) > > 5.5.6 / 2019-05-06 > ================== > * fix(document): stop converting arrays to objects when setting non-schema path to array with strict: false [#7733](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7733) > * fix(array): make two Mongoose arrays `assert.deepEqual()` each other if they have the same values [#7700](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7700) > * fix(populate): support populating a path in a document array embedded in an array [#7647](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7647) > * fix(populate): set populate virtual count to 0 if local field is empty [#7731](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7731) > * fix(update): avoid throwing cast error if casting array filter that isn't in schema with strictQuery = false [#7728](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7728) > * docs: fix typo in `distinct()` description [#7767](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7767) [phil-r](https://github.com/phil-r)Commits
- [`42b6280`](https://github.com/Automattic/mongoose/commit/42b62808513cfda047950910b5ba2023be0f2a5d) chore: release 5.5.7 - [`65b8a7e`](https://github.com/Automattic/mongoose/commit/65b8a7e55c8c81b08d605e39d84053d5256353c8) fix(model): set $session before pre remove hooks run when calling remove() wi... - [`350d9c7`](https://github.com/Automattic/mongoose/commit/350d9c7cb0708db5990fe26d86fa30451e2761c5) fix(model): set $session() before pre save middleware runs when calling save(... - [`44c3952`](https://github.com/Automattic/mongoose/commit/44c3952698c77132bb6ad39dea565311d99537b0) test(model): repro [#7742](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7742) - [`651a1ad`](https://github.com/Automattic/mongoose/commit/651a1ad6796b58543fea9c58245541a9743b7b88) Merge pull request [#7774](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7774) from LiaanM/Fix_7770 - [`f45906c`](https://github.com/Automattic/mongoose/commit/f45906c61809f3c0ae9a6d2600996b42fe85139e) chore: remove gameserverkings as a sponsor - [`c876a66`](https://github.com/Automattic/mongoose/commit/c876a66a554fafcb3bfe29f73903bc33318624f4) fix(schema): support `remove()` on nested path - [`422d1df`](https://github.com/Automattic/mongoose/commit/422d1dfdc0ce718ebb78d08fdcbe04b4b685adcc) test(schema): repro [#2398](https://github-redirect.dependabot.com/Automattic/mongoose/issues/2398) - [`115ea98`](https://github.com/Automattic/mongoose/commit/115ea98e91a2385fe16e3c819e8acb3609f4e28a) style: fix lint - [`8a4faa4`](https://github.com/Automattic/mongoose/commit/8a4faa4741873e9150208847fc528f9cdc5102dd) fix(map): handle setting populated map element to doc - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.5.5...5.5.7)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.