chore(deps): update dependency mongoose to v6 #40
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.9.0
->^6.4.6
By merging this PR, the issue #2 will be automatically resolved and closed:
Release Notes
Automattic/mongoose
v6.4.6
Compare Source
==================
isObjectIdOrHexString()
#12123 LokeshKanumooriv6.4.5
Compare Source
==================
Require_id
to better support_id: String
with auto-typed schemas #12070v6.4.4
Compare Source
==================
v6.4.3
Compare Source
==================
SchemaType.path()
#11987v6.4.2
Compare Source
==================
v6.4.1
Compare Source
==================
UpdateFilter
#11911v6.4.0
Compare Source
==================
transform
option tolean()
#10423 IslandRhythmson
from schema reserved keys #11580 IslandRhythmsv6.3.9
Compare Source
==================
v6.3.8
Compare Source
==================
670b445
perf optimizations that caused some test failures #11541v6.3.7
Compare Source
==================
$set
#11541v6.3.6
Compare Source
==================
toObject()
options #11776v6.3.5
Compare Source
==================
v6.3.4
Compare Source
==================
distinct()
andhint
withfindOneAndUpdate()
#11793deleteModel()
with RegExp in TypeScript #11812v6.3.3
Compare Source
==================
_docs
#11641_id
back for LeanDocument #11769 #11761 taxilianinsertOne
andreplaceOne
#11663v6.3.2
Compare Source
==================
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 MontgomeryWatts[
v6.1.3
](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#​