This repository was archived by the owner on Aug 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Update dependency mongoose to v5.10.9 #316
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/mongoose-5.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #316 +/- ##
=========================================
Coverage ? 10.07%
=========================================
Files ? 117
Lines ? 1588
Branches ? 143
=========================================
Hits ? 160
Misses ? 1313
Partials ? 115
Continue to review full report at Codecov.
|
947bf0c to
7917d16
Compare
dd7bf35 to
2d6d865
Compare
2d6d865 to
f4be1d5
Compare
f4be1d5 to
b9879f4
Compare
b9879f4 to
09f7426
Compare
c240b9e to
0ba435c
Compare
b7f6a0c to
57dabcf
Compare
4403cab to
397c212
Compare
8ee6208 to
e57ef35
Compare
7a99c4b to
5c800e9
Compare
857bd00 to
3eecd2b
Compare
3eecd2b to
84d5c80
Compare
8ee0818 to
6fbc897
Compare
6fbc897 to
a4fb356
Compare
ef92113 to
eea7415
Compare
eea7415 to
e85d10f
Compare
e85d10f to
4ec2583
Compare
4ec2583 to
b42bd3d
Compare
Codecov Report
@@ Coverage Diff @@
## master #316 +/- ##
======================================
Coverage 7.69% 7.69%
======================================
Files 154 154
Lines 2326 2326
Branches 197 197
======================================
Hits 179 179
Misses 1977 1977
Partials 170 170 Continue to review full report at Codecov.
|
177d9bc to
7cb17cb
Compare
7cb17cb to
0570411
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.8.1->5.10.9Release Notes
Automattic/mongoose
v5.10.9Compare Source
===================
autoCreateas a global option to be consistent withautoIndex#9466v5.10.8Compare Source
===================
mongoose.model()with schema from a different Mongoose module instance #9449reasonon cast errors that occur while init-ing a document #9448createCollection()not throw error when collection already exists to be consistent with v5.9 #9447v5.10.7Compare Source
===================
requiredcan use arrow functions #9435 AbdelrahmanHafezisSelected#9438Schema#clone()use parent Mongoose instance's Schema constructor #9426v5.10.6Compare Source
===================
options.perDocumentLimitoption same asperDocumentLimitwhen callingpopulate()#9418v5.10.5Compare Source
===================
minimizeiftoObject()is called without an explicitminimize#9405v5.10.4Compare Source
===================
findOneAndRemove()withorFail()#9381_idoption tofalseafter instantiating schema #9390getChanges()#9376v5.10.3Compare Source
===================
Schema#add()with schematype instances with different paths #9370Query#get()example #9372 elainewlinv5.10.2Compare Source
===================
insertMany()fails due to server selection error #9355pull()on a document array when_idis an alias #93195.8.1->5.10.9#9361
mongoose.model()#7723v5.10.1Compare Source
===================
.then()is not a function error when callingmongoose.connect()multiple times #9358 #9335 #9331create()afterbulkWrite()by clearing internal casting context #9350save()is in-flight #9327refPathif the path to populate is undefined #9340defaulton array #9351schema.pre(..., { document: false })#9316retainNullValueswhen setting_idtofalsefor subdocument #9337 #9336 FelixRe0v5.10.0Compare Source
===================
Connection#transaction()helper that handles resetting Mongoose document state if the transaction fails #8380optimisticConcurrencyoption to use OCC forsave()#9001 #5424Aggregate#search()for Atlas Text Search #9115setDefaultsOnInsertas a global option #9036 AbdelrahmanHafezreturnOriginalas a global option #9189 #9183 AbdelrahmanHafezdefaultsoption to disable adding defaults to a single document #8271set()function for global options, support setting_idglobally #8883$orwhen each clause contains a different discriminator key #9018findOneAndUpdate(),updateOne(), etc. #6087mongoose.connect()while already connected a no-op #9203getClient()andsetClient()function for interacting with a connection's underlying MongoClient instance #9164parent()function that allows you to get the parent document for populated docs #8092useProjectionoption totoObject()andtoJSON()for hiding deselected fields on newly created documents #9118v5.9.29Compare Source
===================
syncIndexes()report error if it can't create an index #9303v5.9.28Compare Source
===================
nameandmessageshow up on individual ValidatorErrors when calling JSON.stringify() on a ValidationError #9296matchschema validator with/gflag #9287v5.9.27Compare Source
===================
v5.9.26Compare Source
===================
undefined#9275bulkWrite()updates when not using$set#9268extends Error#9273invalidate()methods have the same return value as top-level document #9271create()docs use async/await, and add another warning about howcreate()with options requires array syntax #9280validateModifiedOnlyoption works #9263v5.9.25Compare Source
===================
discriminator()#9238bufferCommands = false#9239syncIndexes()#9225v5.9.24Compare Source
===================
bufferCommandsoption ifmongoose.connect()is called aftermongoose.model()#9179priorDocafter overwriting single nested subdoc so changes after overwrite get persisted correctly #9208bufferMaxEntrieswhen settingbufferCommands#9218Model.hydrate()#9209nullto schema boolean'sconvertToFalseset #9223findandfindOne()examples use async/await and clarifyfind({})is find all #9210v5.9.23Compare Source
===================
syncIndexes()error when db index has a collation but Mongoose index does not #9224 clhuangtransformoption #9211v5.9.22Compare Source
===================
{ type: mongoose.Schema.Types.Array }as equivalent to{ type: Array }#9194connect()multiple times #9167v5.9.21Compare Source
===================
typeKeyoption to implicitly created schemas fromtypePojoToMixed#9185 joaoritterrefPathwith multiple documents #9153perDocumentLimitand multiple documents #9175transformfunctions that return promises #9176 #9163 AbdelrahmanHafezv5.9.20Compare Source
===================
openUri()on an already open connection #9107updatevalues in bulkWrite #9160 #9157 AbdelrahmanHafezv5.9.19Compare Source
===================
requiredvalidator on single nested subdoc correctly when callingSchema#clone()#8819tiedValuewhen casting update on nested paths #9108typePojoToMixed#9085globalSetupwith Jest #9063constinstead ofvarin examples #9125 dmcgroutherv5.9.18Compare Source
===================
$localswhen initializing document #9099 #9098 AbdelrahmanHafezsetDefaultsOnInserta mongoose option so it doesn't end up in debug output #9086connect()andopenUri()options #9071v5.9.17Compare Source
===================
splice()on slice()-ed arrays #9011v5.9.16Compare Source
===================
$and,$or,$norcontain non-object values #8948$__.scopeproperty a symbol instead to work around a bug with fast-safe-stringify #8955v5.9.15Compare Source
===================
unshift()aftermap()#9012 philippejerdbfrom reserved keywords #8940refas a no-op #8946insertedDocsoninsertMany()errors #8938writeErrorsproperty on insertMany error withordered: false, even if only one op failed #8938v5.9.14Compare Source
===================
Error.prototype.toJSONread only #8986 osherkindto cast errors thrown by query execution #8953 AbdelrahmanHafezsave()docs #8956 AbdelrahmanHafezv5.9.13Compare Source
===================
v5.9.12Compare Source
===================
distinct()#8906 clhuangminimize: false#8829v5.9.11Compare Source
===================
clonewithleanwhen setting a path tonull#8807markModified()#8854v5.9.10Compare Source
===================
$set()on object keys if object path isn't in schema #8751select: falsein schema #8818 #8806 AbdelrahmanHafezinit()as opposed toonce('index')inuniqueexample #8816insertMany()return value #8820 dandvv5.9.9Compare Source
==================
strictoption #8782 #8788 AbdelrahmanHafezcloneoption withlean#8761 #8760endSession()in all transactions examples #8741returnOriginaloption #8766v5.9.7Compare Source
==================
strictandupsertare set andfiltercontains a non-schema path #8698castToNumber()allow undefined #8725 p3x-robotv5.9.6Compare Source
==================
nestedArr.0#8689execPopulate()to "populate an existing document" section #8671 #8275v5.9.5Compare Source
==================
useUnifiedTopology: true#8643slice()afterpush()#8668 #8655 AbdelrahmanHafezkeyto the same value #8652Mixedupdate validator on dotted path underneath mixed type #8659limitapplies if one document being populated has more thanlimitresults #8657limitandperDocumentLimitare set #8661 #8658 AbdelrahmanHafezrawResultoption #8662loadClass()#8623Query#populate()example to clarify thatsortdoesn't affect the original result's order #8647v5.9.4Compare Source
==================
new Model(doc)to set immutable properties when doc is a mongoose document #8642unshift()afterslice()#8482typePojoToMixedto implicitly created arrays #8627typePojoToMixedoption to schemas implicitly created because oftypePojoToMixed#8627backgroundoption tosyncIndexes()#8645_idpath in schemas #8625matchwith virtual populate #8616v5.9.3Compare Source
==================
validate()with single nested subpath only validate that single nested subpath #8626mongoose.model()return a class in the browser to allow hydrating populated data in the browser #8605syncIndexes()andcleanIndexes()drop compound indexes with_idthat aren't in the schema #8559useUnifiedTopology#8604options.timestampsparameter docs tofindOneAndUpdate()andfindByIdAndUpdate()#8619v5.9.2Compare Source
===================
syncIndexes()report error if it can't create an index #9303v5.9.1Compare Source
===================
requiredvalidator on single nested subdoc correctly when callingSchema#clone()#8819tiedValuewhen casting update on nested paths #9108typePojoToMixed#9085globalSetupwith Jest #9063constinstead ofvarin examples #9125 dmcgroutherv5.9.0Compare Source
==================
trimon all strings, etc.) #8487perDocumentLimitoption that limits per document infind()result, rather than across all documents #7318transformoption on individual schematypes #8403currentTimeoption for setting custom function to get the current time #3957Connection#watch()to watch for changes on an entire database #8425Document#$opproperty to make it easier to tell what operation is running in middleware #8439limitas top-level populate option #8445v5.8.13Compare Source
===================
v5.8.12Compare Source
===================
$idwith$elemMatch#8577refPathbut none of the subdocs haverefPath#8553v5.8.11[Compa
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.