ARCHIVED-mongoose-repl
ARCHIVED-mongoose-repl copied to clipboard
Bump mongoose from 3.6.20 to 5.9.27
Bumps mongoose from 3.6.20 to 5.9.27.
Changelog
Sourced from mongoose's changelog.
5.9.27 / 2020-07-31
- fix: upgrade mongodb driver -> 3.5.10 AbdelrahmanHafez
- docs(transactions): make transactions docs use async/await for readability #9204
5.9.26 / 2020-07-27
- fix(document): allow unsetting boolean field by setting the field to
undefined
#9275- fix(document): throw error when overwriting a single nested subdoc changes an immutable path within the subdoc #9281
- fix(timestamps): apply timestamps to
bulkWrite()
updates when not using$set
#9268- fix(browser): upgrade babel to v7 to work around an issue with
extends Error
#9273- fix: make subdocument's
invalidate()
methods have the same return value as top-level document #9271- docs(model): make
create()
docs use async/await, and add another warning about howcreate()
with options requires array syntax #9280- docs(connections): clarify that Mongoose can emit 'connected' when reconnecting after losing connectivity #9240
- docs(populate): clarify that you can't filter based on foreign document properties when populating #9279
- docs(document+model): clarify how
validateModifiedOnly
option works #9263- docs: remove extra poolSize option in comment #9270 shahvicky
- docs: point bulkWrite() link to mongoose docs instead of localhost #9284
5.9.25 / 2020-07-17
- fix(discriminator): allow passing a compiled model's schema as a parameter to
discriminator()
#9238- fix(connection): throw more readable error when querying db before initial connection when
bufferCommands = false
#9239- fix(indexes): don't unnecessarily drop text indexes when running
syncIndexes()
#9225- fix: make Boolean _castNullish respect omitUndefined #9242 ehpc
- fix(populate): populate single nested discriminator underneath doc array when populated docs have different model but same id #9244
- docs(mongoose): correct formatting typo #9247 JNa0
5.9.24 / 2020-07-13
- fix(connection): respect connection-level
bufferCommands
option ifmongoose.connect()
is called aftermongoose.model()
#9179- fix(document): clear out
priorDoc
after overwriting single nested subdoc so changes after overwrite get persisted correctly #9208- fix(connection): dont overwrite user-specified
bufferMaxEntries
when settingbufferCommands
#9218- fix(model): allow passing projection to
Model.hydrate()
#9209- fix(schema+document): support adding
null
to schema boolean'sconvertToFalse
set #9223- docs(model): make
find
andfindOne()
examples use async/await and clarifyfind({})
is find all #92104.13.21 / 2020-07-12
- fix(query): delete top-level
_bsontype
property in queries to prevent silent empty queries #82225.9.23 / 2020-07-10
- fix(model): fix
syncIndexes()
error when db index has a collation but Mongoose index does not #9224 clhuang- fix(array): only cast array to proper depth if it contains an non-array value #9217 #9215 cyrilgandon
- docs(schematype): document the
transform
option #9211- docs(mongoose): fix typo #9212 JNa0
5.9.22 / 2020-07-06
Commits
5953a67
chore: release 5.9.27e707bf0
Merge pull request #9297 from AbdelrahmanHafez/patch-757b1bc6
bump mongodb driver to 3.5.10f8ae13d
docs(transactions): make transactions docs use async/await for readabilitydcccbcc
chore: add changelog to npmignorec55fba5
chore: fix docs build4d0a19e
chore: release 5.9.265ad0753
Merge pull request #9284 from shahvicky/patch-317fbcca
docs: correct link8759703
fix(document): allow unsetting boolean field by setting the field toundefined
- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by vkarpov15, a new releaser for mongoose since your current version.
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 close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 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
You can disable automated security fix PRs for this repo from the Security Alerts page.