Changelog
6.0.0 / 2022-01-31
New
processingMode
to control input and output behaviour.scriptEnabled
to 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
$$NOW
system variable.$isoWeek
$isoWeekYear
$isoDayOfWeek
iso8601
option to $dateToParts
.useStrictMode
option to enable useful non-standard behaviour on specific operators.
$elemMatch
projection operator return all matching nested documents instead when useStrictMode
is false
.Removed
$where
operator.addOperators
function.Collection
type.Fixes
$dateAdd
and $dateSubtract
operators.sortBy
which causes duplicate values.$denseRank
operator.$dateToString
operator.$count
aggregation operator.Changelog
4.4.0 / 2021-11-15
Features
$bitsAllClear
$bitsAllSet
$bitsAnyClear
$bitsAnySet
.$jsonSchema
query operator.Changelog
4.3.0 / 2021-11-07
Features
$rand
aggregation and query operatorFixes
union
functionChangelog
4.2.0 / 2021-09-26
$first
and $last
.$dateAdd
and $dateSubtract
.