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.3.2
->^6.0.0
Release Notes
Automattic/mongoose
v6.3.1
Compare Source
==================
ref
#11538createCollection()
#11539extends Document
#11629v6.3.0
Compare Source
==================
removeIndex()
andclearIndex()
#11547 IslandRhythmscontinueOnError
option to allow executingeachAsync()
on all docs even if error occurs #6355versionKey
option tolean()
for removing version key from lean docs #8934 IslandRhythmsv6.2.11
Compare Source
===================
v6.2.10
Compare Source
===================
v6.2.9
Compare Source
==================
expires
option #11557 boly38refPath
example #11565 chandiwalaaadharv6.2.8
Compare Source
==================
this = any
in middleware #11435v6.2.7
Compare Source
==================
v6.2.6
Compare Source
==================
v6.2.5
Compare Source
==================
isValidObjectId()
#11419$set
#11456localField
andforeignField
functions #11321{ field: 'asc'|'ascending'|'desc'|'descending' }
#11479 simonbrunelQuery.prototype.populate()
a string #11475 minhthinhlsv6.2.4
Compare Source
==================
pick()
#11448 Moisei-Shkilv6.2.3
Compare Source
==================
Connection.prototype.syncIndexes()
#11424 #11421 AbdelrahmanHafez[{ type: [String] }]
#11252errors
only contains CastError or ValidationError #11369 UzlopaksupressReservedKeysWarning
option to schema #11439 hiukkyerr.reason.servers
#11200true
fortoJSON()
but nottoObject()
#11213v6.2.2
Compare Source
==================
get()
helper where possible #11389 UzlopakisArray()
instead ofinstanceof Array
#11393 Uzlopakcast$expr()
#11388 UzlopakstartsWith()
fromisOperator()
#11400 UzlopakPipelineStage
into separate file #11368 Uzlopakv6.2.1
Compare Source
===================
v6.2.0
Compare Source
==================
$expr
where possible #10663bulkSave()
type def #11201 Uzlopakv6.1.10
Compare Source
===================
isValidObjectId()
#11227v6.1.9
Compare Source
==================
ObjectId()
casting more flexible #11209v6.1.8
Compare Source
==================
findOne().populate()
result non-nullable #11041v6.1.7
Compare Source
==================
skipInit
#11137v6.1.6
Compare Source
==================
bulkSave()
error whenversionKey: false
#11186 #11071 IslandRhythmsfindByIdAndUpdate(undefined)
breaking change #11149connect()
options #11184 splinterv6.1.5
Compare Source
==================
$group
pipeline stage #11140 #11067 EugeneKorshenkov6.1.4
Compare Source
==================
create()
#10856populate()
#11027strictQuery
example #11135 MontgomeryWattsv6.1.3
Compare Source
==================
setClient()
when disconnected #11114 hustxiaocv6.1.2
Compare Source
==================
useDb()
#11003Query.prototype.countDocuments()
#11037Query.prototype.tailable()
#10875v6.1.1
Compare Source
===================
isValidObjectId()
#11227v6.1.0
Compare Source
==================
ownerDocument()
method to top-level document for consistency with subdocs #10884 IslandRhythmstimeseries
option for MongoDB 5 time series collections support #10611strictPopulate
option #10694 IslandRhythmsmongoose.syncIndexes()
andConnection.prototype.syncIndexes()
#10893 IslandRhythmsv6.0.15
Compare Source
===================
new Model()
andstrict: false
#11001_id
whenstrict = false
#10934v6.0.14
Compare Source
===================
Connection#model()
#10904path
in docs #11020 ItWorksOnMyMachinev6.0.13
Compare Source
===================
Schema#clone()
return type #10951 StefanoA1v6.0.12
Compare Source
===================
toJSON()
flatten maps by default in TypeScript #10872SchemaType.prototype.set()
#10799updateMany()
anddeleteMany()
docs to reflect newmatchedCount
,modifiedCount
,deletedCount
properties #10908 IslandRhythmsv6.0.11
Compare Source
===================
v6.0.10
Compare Source
===================
strict
by default for compatibility #10781 #10763syncIndexes()
#10851 #10850 IslandRhythmsfindOneAndUpdate()
andfindByIdAndUpdate()
#10820insertMany()
#10802SchemaTypeOptions[]
when defining schema #10789$in
with enum fields #10757 #10734v6.0.9
Compare Source
==================
.cursor()
#10785interpretAsType
error messages if type name is undefined #10750ownerDocument()
#9259model()
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.