Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).*
> 5.5.4 / 2019-04-25
> ==================
> * fix(document): avoid calling custom getters when saving [#7719](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7719)
> * fix(timestamps): handle child schema timestamps correctly when reusing child schemas [#7712](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7712)
> * fix(query): pass correct callback for _legacyFindAndModify [#7736](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7736) [Fonger](https://github.com/Fonger)
> * fix(model+query): allow setting `replacement` parameter for `findOneAndReplace()` [#7654](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7654)
> * fix(map): make `delete()` unset the key in the database [#7746](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7746) [Fonger](https://github.com/Fonger)
> * fix(array): use symbol for `_schema` property to avoid confusing deep equality checks [#7700](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7700)
> * fix(document): prevent `depopulate()` from removing fields with empty array [#7741](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7741) [#7740](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7740) [Fonger](https://github.com/Fonger)
> * fix: make `MongooseArray#includes` support ObjectIds [#7732](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7732) [#6354](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6354) [Fonger](https://github.com/Fonger)
> * fix(document): report correct validation error index when pushing onto doc array [#7744](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7744) [Fonger](https://github.com/Fonger)
Commits
- [`de66520`](https://github.com/Automattic/mongoose/commit/de6652086e41b729bcb3254edc758e397a0a8e65) chore: release 5.5.4
- [`67c3140`](https://github.com/Automattic/mongoose/commit/67c3140e7a12913407d8cbeee591c381a197a83b) Merge pull request [#7744](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7744) from Fonger/fix-7724
- [`476607d`](https://github.com/Automattic/mongoose/commit/476607dd3cf79b433f7b41ce4643eee520a7cb67) Merge pull request [#7746](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7746) from Fonger/fix-7743
- [`c377e65`](https://github.com/Automattic/mongoose/commit/c377e653dddbe0515596297216ca5ee01fa96fdf) fix(map): handle update for MongooseMap#delete
- [`b63128b`](https://github.com/Automattic/mongoose/commit/b63128b16b0b0c1bc151c72bf2b13de51bf19899) test(map): repro [#7743](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7743)
- [`6b4479c`](https://github.com/Automattic/mongoose/commit/6b4479cd58205c8f431335d5d4e78ca5e6a687a9) fix(documentarray): preserve the correct index for push()-ed subdoc
- [`679a8f6`](https://github.com/Automattic/mongoose/commit/679a8f692b866208c1ed9d737d34ce38f6330365) test(documentarray): repro [#7724](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7724)
- [`90703ba`](https://github.com/Automattic/mongoose/commit/90703ba9ba569e1f58060727f9aa6130c11ac30d) fix(array): use symbol for `_schema` property to avoid confusing deep equalit...
- [`df96b50`](https://github.com/Automattic/mongoose/commit/df96b50715402889d0dea55ca3ed533312464d0a) Merge branch 'master' of github.com:Automattic/mongoose
- [`d8c2618`](https://github.com/Automattic/mongoose/commit/d8c2618dc79e6f75b04fe3adde148e0ab77b9722) fix(document): avoid calling custom getters when saving
- Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.5.3...5.5.4)
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.3 to 5.5.4.
Changelog
*Sourced from [mongoose's changelog](https://github.com/Automattic/mongoose/blob/master/History.md).* > 5.5.4 / 2019-04-25 > ================== > * fix(document): avoid calling custom getters when saving [#7719](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7719) > * fix(timestamps): handle child schema timestamps correctly when reusing child schemas [#7712](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7712) > * fix(query): pass correct callback for _legacyFindAndModify [#7736](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7736) [Fonger](https://github.com/Fonger) > * fix(model+query): allow setting `replacement` parameter for `findOneAndReplace()` [#7654](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7654) > * fix(map): make `delete()` unset the key in the database [#7746](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7746) [Fonger](https://github.com/Fonger) > * fix(array): use symbol for `_schema` property to avoid confusing deep equality checks [#7700](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7700) > * fix(document): prevent `depopulate()` from removing fields with empty array [#7741](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7741) [#7740](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7740) [Fonger](https://github.com/Fonger) > * fix: make `MongooseArray#includes` support ObjectIds [#7732](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7732) [#6354](https://github-redirect.dependabot.com/Automattic/mongoose/issues/6354) [Fonger](https://github.com/Fonger) > * fix(document): report correct validation error index when pushing onto doc array [#7744](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7744) [Fonger](https://github.com/Fonger)Commits
- [`de66520`](https://github.com/Automattic/mongoose/commit/de6652086e41b729bcb3254edc758e397a0a8e65) chore: release 5.5.4 - [`67c3140`](https://github.com/Automattic/mongoose/commit/67c3140e7a12913407d8cbeee591c381a197a83b) Merge pull request [#7744](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7744) from Fonger/fix-7724 - [`476607d`](https://github.com/Automattic/mongoose/commit/476607dd3cf79b433f7b41ce4643eee520a7cb67) Merge pull request [#7746](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7746) from Fonger/fix-7743 - [`c377e65`](https://github.com/Automattic/mongoose/commit/c377e653dddbe0515596297216ca5ee01fa96fdf) fix(map): handle update for MongooseMap#delete - [`b63128b`](https://github.com/Automattic/mongoose/commit/b63128b16b0b0c1bc151c72bf2b13de51bf19899) test(map): repro [#7743](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7743) - [`6b4479c`](https://github.com/Automattic/mongoose/commit/6b4479cd58205c8f431335d5d4e78ca5e6a687a9) fix(documentarray): preserve the correct index for push()-ed subdoc - [`679a8f6`](https://github.com/Automattic/mongoose/commit/679a8f692b866208c1ed9d737d34ce38f6330365) test(documentarray): repro [#7724](https://github-redirect.dependabot.com/Automattic/mongoose/issues/7724) - [`90703ba`](https://github.com/Automattic/mongoose/commit/90703ba9ba569e1f58060727f9aa6130c11ac30d) fix(array): use symbol for `_schema` property to avoid confusing deep equalit... - [`df96b50`](https://github.com/Automattic/mongoose/commit/df96b50715402889d0dea55ca3ed533312464d0a) Merge branch 'master' of github.com:Automattic/mongoose - [`d8c2618`](https://github.com/Automattic/mongoose/commit/d8c2618dc79e6f75b04fe3adde148e0ab77b9722) fix(document): avoid calling custom getters when saving - Additional commits viewable in [compare view](https://github.com/Automattic/mongoose/compare/5.5.3...5.5.4)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.