Update dependency mingo to v7 #100
Open
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:
^2.2.2->^7.0.0Release Notes
kofrasa/mingo (mingo)
v7.0.2Compare Source
New
.$for projection and update.updateOneandupdateManyfunctions.update().$sigmoidarithmetic operator.typesmodule.Removed (BREAKING)
initOptionsfunction inmingo/core. Use plain object initializer.useOperatorsfunction inmingo/core. Pass a customContextobject to options.getOperatorfunction inmingo/core. Pass a customContextobject to options.createUpdaterfunction inmingo/updater. No longer supported.mingo/init/{basic,system,context}modules.map,forEach, andcountmethods onCursorobject.v7.0.1Compare Source
Fixes
update()andupdateOne().v7.0.0Compare Source
New
.$for projection and update.updateOneandupdateManyfunctions.update(). Closes #570$sigmoidarithmetic operator.Removed (BREAKING)
initOptionsfunction inmingo/core. Use plain object initializer.useOperatorsfunction inmingo/core. Pass a customContextobject to options.getOperatorfunction inmingo/core. Pass a customContextobject to options.createUpdaterfunction inmingo/updater. No longer supported.mingo/init/{basic,system,context}modules.map,forEach, andcountmethods onCursorobject.v6.7.2Compare Source
Fixes
$exproperator.intersection()returns copy of array when argument size is 1.v6.7.1Compare Source
Fixes
"require"and"import"exports. Closes #575$alloperator correctly matches array of single elements. Closes #576$$NOWvariable remains same throughout all stages of pipeline.v6.7.0Compare Source
New
$minMaxScalerwindow operator.$toHashedIndexKeyexpression operator.mingo/init/contextmodule to provide a fully loaedContextobject.Context.initnow supports a record of operators.Queryobject autoloads query and projection operators.Aggregatorobject autoloads$match,$project, and$sortpipeline stage operators.mingo/init/basicis now a no-op.Fixes
$isArrayto support top-level expression arguments and improve validation. Closes #573Deprecated
The following will no longer be supported from
7.0.0.useOperatorsfunction frommingo/core. Replaced withContext.getOperatorfunction frommingo/core. Replaced withContext.mingo/init/basicmodule is currently a no-op.mingo/init/systemmodule. Replace withmingo/init/contextwhich exports a context builder with all operators included.v6.6.1Compare Source
Fixed
"node"key inpackage.jsonexports to support Deno runtime. Closes #541.v6.6.0Compare Source
Changed
$rankperformance by precomputing over entire window.Added
$documentspipeline operator. Closes #533.$tanhtrignometry operator.$dateToStringformatters.%b(abbreviated month)%B(full month)%j(day of year)%w(day of week)ProcessingModeso it is included in browser bundle.dist/mingo.min.jsfor use directly in browser.Fixed
$bucket: Do not add default bucket to final output if empty.$round: Avoid potential infinite loop when rounding to negative places.$setWindowFields: Bubble up errors thrown in memoization helper.Removed
mingo.remove()andQuery.remove()functions.v6.5.6Compare Source
Fixes
6.5.1. closes 5296.5.1.v6.5.5Compare Source
Fixes
$existsoperators. Reverts regression introduced in6.5.4. closes #528v6.5.4Compare Source
Fixes
$existsoperators. Reverts regression introduced in6.5.4. closes #528v6.5.3Compare Source
Fixes
sort,skip, andlimitin correct order onCursor.toStringon custom types.Improvements
$projectoperator for performance.v6.5.2Compare Source
Fixes
$slice: handle negative skip values correctly. #503$setField: modify correct input object when adding new field.$convert: add missing BSON type strings.v6.5.1Compare Source
Fixes
6.5.1. closes 5296.5.1.v6.5.0Compare Source
New
$densifypipeline stage operator.$graphLookuppipeline stage operator.$dateTruncexpression operator.$lookupby array and sub-queries with nested pipeline.granularityoption in$bucketAuto.$typeuses JS type names whenuseStrictMode=falseorMongoDBtype names otherwise."undefined","boolean", and"number"."missing","bool","int","long", and"double".AnyVal->AnyandRawObject->AnyObject.Fixes
$dateDiffto be consistent with MongoDB.nullinputs to$objectToArray,$setUnion,$map,$zip, and$filter.idKeyfor$projectwhen no other fields are selected.$$NOWvariable in options.$subtractoperator.$first,$last, and$ifNull.$concat.$minand$maxto be consistent with new behaviour in latest MongoDB.v6.4.15Compare Source
New
toStringwhen defined on the type.v6.4.14Compare Source
v6.4.13Compare Source
Update
Querycondition to updater function.v6.4.12Compare Source
New
Updater. #413MingoErrortype to represent errors caught by the library.Fixes
v6.4.11Compare Source
New
Updater. #413MingoErrortype to represent errors caught by the library.Fixes
v6.4.10Compare Source
Fixes
v6.4.9Compare Source
New
$percentile,$median.v6.4.8Compare Source
Fixes
v6.4.7Compare Source
New
$bitAnd,$bitOr,$bitXor,$bitNot.isEqual,cloneDeep, andstringify.Fixes
$inc,$mul,$max,$min,$push,$bit.isEqual.stringify.stringifyoperation.v6.4.6Compare Source
Fixes
$pull. 373v6.4.5Compare Source
Fixes
$getFieldoperator.$truncand$round. 347copyfor UpdateOptions.structuredfor UpdateOptions.v6.4.4Compare Source
Fixes
v6.4.3Compare Source
Fixes
v6.4.2Compare Source
New
Contextto enable isolated configurations of usable operators in the same runtime context.v6.4.1Compare Source
New
toStringwhen defined on the type.v6.4.0Compare Source
New
updateObjectfrommingo/updater. Includes;$currentDate,$inc,$max,$min,$mul,$set,$unset,$rename.$[],$[<identifier>],$addToSet,$pop,$push,$pull,$pushAll.$bit.v6.3.4Compare Source
Fixes
$sortand$group. Closes 332.$whereoperator.Minor
walkutil function.indexroots.v6.3.3Compare Source
v6.3.2Compare Source
Fixes
""totruefor applicable operators when using strict MongoDB compatibility mode. 321v6.3.1Compare Source
Fixes
$filterto properly handle truthy values. 320$arrayToObjectto flatten array before converting to objects.v6.3.0Compare Source
Fixes
$sizepredicate failing when applied to undefined array. 313$minand$maxoperators to consider type sorting order.$groupoperator to enforce_idin spec.$setWindowFieldsoperator.New
$locfwindow operator.$linearFillwindow operator.$fillpipeline operator.v6.2.7Compare Source
Fixes
v6.2.6Compare Source
Fixes
v6.2.5Compare Source
Fixes
v6.2.4Compare Source
Fixes
package.jsonin explicit module exports.package.jsonfiles for subpackages to support all ESM bundlers (#298)v6.2.3Compare Source
Fixes
v6.2.2Compare Source
v6.2.1Compare Source
Fixes
$$thiswhen resolving fields using array operators. Closes 289v6.2.0Compare Source
New
$maxN,$minN,$firstN,$lastN, and$sortArray.$maxN,$minN,$first,$firstN,$last,$lastN,$top,$topN,$bottom, and$bottomN.$coshand$sinh.Fixes
v6.1.3Compare Source
Fixes
v6.1.2Compare Source
Fixes
6.1.1. Closes 274$dateToStringformatter%Vto be week of year in ISO 8601 format (i.e.01-53)$dateToStringformatter%uto be day of week number in ISO 8601 format (i.e.1-7)$dateToStringformatter%Ufor week of year.v6.1.1Compare Source
Fixes
6.1.1. Closes 274$dateToStringformatter%Vto be week of year in ISO 8601 format (i.e.01-53)$dateToStringformatter%uto be day of week number in ISO 8601 format (i.e.1-7)$dateToStringformatter%Ufor week of year.v6.1.0Compare Source
Fixes
$ifNullconditional.New
$dateDiffoperator. See #244v6.0.6Compare Source
Fixes
v6.0.5Compare Source
Fixes
$dateFromString. Fixes #228v6.0.4Compare Source
Fixes
setEqual,$setIntersection,$setIsSubset, and$setUnion.$setIntersection.v6.0.3Compare Source
Fixes
console.assert. See #226mingo/initimport.v6.0.2Compare Source
Fixes
dateFromParts. See #224v6.0.1Compare Source
Fixes
$dateFromPartswhich incorrectly computes the dates for some input values. See #223.v6.0.0Compare Source
New
processingModeto control input and output behaviour.scriptEnabledto control whether to enable custom function operators;$where,$function, and$accumulator.OperatorType.WINDOW.$accumulator$function$getField$setField$unsetField$sampleRate$replaceOne$replaceAll$setWindowFields$merge$unionWith$setWindowFields.$denseRank$derivative$documentNumber$expMovingAvg$integral$rank$shift$count$covarianceSamp$covariancePop$$NOWsystem variable.$isoWeek$isoWeekYear$isoDayOfWeekiso8601option to$dateToParts.useStrictModeoption to enable useful non-standard behaviour on specific operators.$elemMatchprojection operator return all matching nested documents instead whenuseStrictModeisfalse.Removed
$whereoperator.addOperatorsfunction.Collectiontype.Fixes
$dateAddand$dateSubtractoperators.sortBywhich causes duplicate values.$denseRankoperator.$dateToStringoperator.$countaggregation operator.v5.1.0Compare Source
Changes not published. Updates moved to
6.0.0.v5.0.0Compare Source
Changes not published. Updates moved to
6.0.0.v4.4.1Compare Source
Fixes
lodashreference in expression operators.v4.4.0Compare Source
Features
$bitsAllClear$bitsAllSet$bitsAnyClear$bitsAnySet.$jsonSchemaquery operator.v4.3.0Compare Source
Features
$randaggregation and query operatorFixes
unionfunctionv4.2.0Compare Source
$firstand$last.$dateAddand$dateSubtract.v4.1.5Compare Source
$allquery operator. #190$setUnion. #192v4.1.4Compare Source
$filter.v4.1.3Compare Source
v4.1.2Compare Source
$unwindincorrectly removing0value, by correcting behaviour ofisEmptyv4.1.1Compare Source
$elemMatchto support top-level boolean operators$and,$or, and$norv4.1.0Compare Source
Features
$sin$cos$tan$asin$acos$atan$atan2$asinh$acosh$atanh$degreesToRadians$radiansToDegreesv4.0.0Compare Source
Features
hashFunctionto enable custom hash functions$unsetpipeline operator$isNumberexpression operatorcollectionResolverto resolve collections from names for use in supported operators. Closes #150$whereoperator from default query operators included at load time. Closes #155Fixes
Other
v3.1.0Compare Source
isObjectto enforce plain Javascript objects.collationoptions of$sortoperatorConfigintoOptionstypeOptionsto predicate function for comparison operatorscreateConfigwithmakeOptionsv3.0.6Compare Source
$notexpression operator.v3.0.5Compare Source
$notexpression operator. Fixes #146v3.0.4Compare Source
mingo/initin favour of explicitmingo/init/basic.v3.0.3Compare Source
esmmodule dependency. Fixes #145v3.0.2Compare Source
$mapoperator operand 'as', should default tothisif missing. Fixes #143v3.0.1Compare Source
$elemMatch. Closes #139v3.0.0Compare Source
Aggregator,Query,aggregate(),find(), andremove()mingo/initmingo/init/systemto auto load all operatorsesmdependency to support module imports for ES5$type,$convert,$toBool,$toDate,$toString,$toInt,$toLong,$toDouble,$toDecimal$dateFromString,$dateFromParts,dateToParts.$trim,$rtrim,$ltrim,$regexFind,$regexFindAll,$regexMatchgroupmodule toaccumulatordist/files. Deferring to consumers to use their own packaging solutionssetup()function. Replaced by passing in config toQueryorAggregator.VERSIONfields_internal()computeValueandresolvefunctions to custom operatorOP_XXXconstants with enumOperatorType.XXX.CollectionMixinLazy,Cursor, andaddOperatorsfrom default exportConfiguration
📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), Automerge - 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 was generated by Mend Renovate. View the repository job log.